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

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
httpClient → Client?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String?
final
url String
final

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