connection_restore: Restore a soft-deleted record

View source: R/crud.R

connection_restoreR Documentation

Restore a soft-deleted record

Description

Restores a soft-deleted record by setting deleted_at to NULL. Only works on tables with a deleted_at column.

Usage

connection_restore(conn, table_name, id)

Arguments

conn

Database connection

table_name

Name of the table

id

The ID of the record to restore

Value

Number of rows affected


framework documentation built on Feb. 18, 2026, 1:07 a.m.