import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";
const { UpdateQueryBuilder } = kysely;
Clears all returning
clauses from the query.
Examples
db.updateTable('person')
.returningAll()
.set({ age: 39 })
.where('first_name', '=', 'John')
.clearReturning()
The generated SQL(PostgreSQL):
update "person" set "age" = 39 where "first_name" = "John"
Returns
UpdateQueryBuilder<DB, UT, TB, UpdateResult>