rustabase 1.0.0
rustabase: ^1.0.0 copied to clipboard
Official multi-platform Dart and Flutter SDK for the RustaBase PostgreSQL backend-as-a-service.
example/example.dart
import "package:rustabase/rustabase.dart";
Future<void> main() async {
final rb = createClient("https://my-app.rustabase.net");
final posts = await rb
.from("posts")
.list(options: ListOptions(sort: "-created", perPage: 20));
for (final post in posts.items) {
print(post["title"]);
}
rb.close();
}