supabase 0.0.1-dev.3 supabase: ^0.0.1-dev.3 copied to clipboard
A dart client for Supabase.
import 'package:supabase/supabase.dart';
void main() async {
const supabaseUrl = '';
const supabaseKey = '';
final client = SupabaseClient(supabaseUrl, supabaseKey);
final response = await client
.from('countries')
.select()
.order('name', ascending: true)
.execute();
if (response.error == null) {
print('response.data: ${response.data}');
}
}