supabase_repository

Creator: coderz1093

Last updated:

0 purchases

supabase_repository Image
supabase_repository Images

Languages

Categories

Add to Cart

Description:

supabase repository

Supabase Database Adapter for Dart #

Use this database adapter for supabase to integrate with database_repository
How to install #
dart pub add supabase_repository
copied to clipboard
How to use #
void main() {
final String mySupabaseUrl = /* String containing the URL of the Supabase Installation */
final String mySupabaseKey = /* String containing the API Key for the Supabase Installation */
final DatabaseAdapter myDatabaseAdapter = SupabaseDatabaseAdapter(
supabaseInstallationUrl: mySupabaseUrl,
supabaseApiKey: mySupabaseKey
);

// Register a Database Adapter that you want to use.
DatabaseAdapterRegistry.register(myDatabaseAdapter);

final repository = DatabaseRepository.fromRegistry(serializer: mySerializer, name: 'supabase');

// Now use some methods such as create() etc.
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.