PostgrestClient class
A PostgREST api client written in Dartlang. The goal of this library is to make an "ORM-like" restful interface.
Constructors
-
PostgrestClient(String url, {Map<
String, String> ? headers, String? schema, Client? httpClient}) - To create a PostgrestClient, you need to provide an url endpoint.
Properties
Methods
-
auth(
String token) → PostgrestClient - Authenticates the request with JWT.
-
from(
String table) → PostgrestQueryBuilder - Perform a table operation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rpc(
String fn, {Map? params}) → PostgrestFilterBuilder - Perform a stored procedure call.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited