postgrest library
Classes
-
PostgrestBuilder<
T, S, R> - The base builder class.
- PostgrestClient
- A PostgREST api client written in Dartlang. The goal of this library is to make an "ORM-like" restful interface.
-
PostgrestFilterBuilder<
T> -
PostgrestQueryBuilder<
T> - The query builder class provides a convenient interface to creating request queries.
-
PostgrestResponse<
T> - A Postgrest response
- PostgrestRpcBuilder
-
PostgrestTransformBuilder<
T> -
RawPostgrestBuilder<
T, S, R> - Needed as a wrapper around PostgrestBuilder to allow for the different return type of withConverter than in ResponsePostgrestBuilder.withConverter.
-
ResponsePostgrestBuilder<
T, S, R> - Needed as a wrapper around PostgrestBuilder to allow for the different return type of withConverter than in RawPostgrestBuilder.withConverter.
Enums
- CountOption
- Returns count as part of the response when specified.
- ReturningOption
- Returns count as part of the response when specified.
- TextSearchType
-
The type of tsquery conversion to use on
query
.
Constants
- METHOD_DELETE → const String
- METHOD_GET → const String
- METHOD_HEAD → const String
- METHOD_PATCH → const String
- METHOD_POST → const String
- METHOD_PUT → const String
Typedefs
-
Headers
= Map<
String, String> -
PostgrestConverter<
S, T> = S Function(T data) -
PostgrestList
= List<
PostgrestMap> -
PostgrestListResponse
= PostgrestResponse<
PostgrestList> -
PostgrestMap
= Map<
String, dynamic> -
PostgrestMapResponse
= PostgrestResponse<
PostgrestMap>
Exceptions / Errors
- PostgrestException
- A Postgrest response exception