pub async fn insert_row(
client: &Client,
schema: &str,
table: &str,
inputs: &[InsertColumnInput],
return_columns: &[String],
) -> Result<InsertedRow, PgError>Expand description
Insert one row, returning the requested columns for the new row.
return_columns controls the RETURNING clause and the order
of cells in the result. The UI typically passes the same column
names + __pg_rowid__ (which becomes ctid server-side) the
existing result already shows, so the new row slots straight
into the in-memory grid.