Skip to main content
Module

x/postgrest/mod.ts>PostgrestBuilder#then

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

Type Parameters

optional
TResult1 = PostgrestResponse<T>
optional
TResult2 = never

Parameters

optional
onfulfilled: ((value: PostgrestResponse<T>) => TResult1 | PromiseLike<TResult1>) | undefined | null
optional
onrejected: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null

Returns

PromiseLike<TResult1 | TResult2>