supabase_client 0.0.6 supabase_client: ^0.0.6 copied to clipboard
Database supabase.
Supabase client #
Install #
dart pub add supabase_client
QuickStart #
void main(List<String> arguments) async {
var supabase = Database("id", "key");
await supabase.add(from: "from", data: {"id": DateTime.now()});
await supabase.get(from: "from", dataId: "id", searchData: r"^5$");
await supabase.getAll(from: "data");
await supabase.update(from: "from", dataOrigin: {"id": 5}, dataUpdate: {"id": 10});
await supabase.delete(from:"from", datas:{"id": 10});
}