function executeReturningRow
executeReturningRow<T>(...unnamed 0: SqlWithArgs): Promise<T>

Run a write that ends in RETURNING and read back the row it wrote. A write that returns no row means nothing was written — fail there, loudly.

Type Parameters

Parameters

...unnamed 0: SqlWithArgs

Return Type

Promise<T>

Usage

import { executeReturningRow } from "doc.ts";