Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/postgrest/mod.ts>PostgrestQueryBuilder#update

Isomorphic JavaScript client for PostgREST.
Latest
method PostgrestQueryBuilder.prototype.update
Re-export
import { PostgrestQueryBuilder } from "https://deno.land/x/postgrest@1.1.0/mod.ts";

Performs an UPDATE on the table.

Parameters

values: Partial<T>

The values to update.

optional
unnamed 1: { returning?: "minimal" | "representation"; count?:
| null
| "exact"
| "planned"
| "estimated"
; }
= [UNSUPPORTED]

By default the updated record is returned. Set this to 'minimal' if you don't need this value.