supabase library
A dart client for Supabase. It supports database query, authenticate users and listen for realtime changes. This client makes it simple for developers to build secure and scalable products.
Classes
- AuthOptions
- AuthSession
- AuthUser
- Binding
- Bucket
- BucketOptions
- CookieOptions
- FetchOptions
- FileObject
- FileOptions
- FunctionInvokeOptions
- FunctionResponse
- FunctionsClient
- GoTrueApi
- GoTrueClient
- GotrueError
- GotrueJsonResponse
- GotrueResponse
- GotrueSessionResponse
- GotrueSubscription
- GotrueUserResponse
- Metadata
- OpenIDConnectCredentials
- PostgresColumn
-
PostgrestBuilder<
T> - 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.
- PostgrestError
- A Postgrest response error
- PostgrestFilterBuilder
- PostgrestQueryBuilder
- The query builder class provides a convenient interface to creating request queries.
-
PostgrestResponse<
T> - A Postgrest response
- PostgrestRpcBuilder
-
PostgrestTransformBuilder<
T> - RealtimeClient
- RealtimeSubscription
- RemoveSubscriptionResult
- SearchOptions
- Session
- SortBy
- StorageError
-
StorageResponse<
T> - Subscription
- SupabaseClient
- SupabaseQueryBuilder
- SupabaseRealtimePayload
- SupabaseStorageClient
- User
- UserAttributes
Enums
- AuthChangeEvent
- CountOption
- Returns count as part of the response when specified.
- PostgresTypes
- Provider
- ResponseType
- ReturningOption
- Returns count as part of the response when specified.
- SupabaseEventTypes
- TextSearchType
-
The type of tsquery conversion to use on
query
.
Extensions
Functions
-
convertCell(
String type, dynamic value) → dynamic -
If the value of the cell is
null
, returns null. Otherwise converts the string value to the correct type. -
convertChangeData(
List< Map< columns, Map<String, dynamic> >String, dynamic> record, {List<String> ? skipTypes}) → Map<String, dynamic> - Takes an array of columns and an object of string values then converts each string value to its mapped type.
-
convertColumn(
String columnName, List< PostgresColumn> columns, Map<String, dynamic> record, List<String> skipTypes) → dynamic - Converts the value of an individual column.
-
noop(
dynamic value) → dynamic -
toArray(
dynamic value, String type) → dynamic - Converts a Postgres Array into a native Dart array
-
toBoolean(
dynamic value) → bool? -
toDouble(
dynamic value) → double? -
toInt(
dynamic value) → int? -
toJson(
dynamic value) → dynamic -
toTimestampString(
String? value) → String? - Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T' See https://github.com/supabase/supabase/issues/18
Typedefs
-
PostgrestConverter<
T> = T Function(dynamic data)