Last updated:
0 purchases
flutter neon
NeonDB Dart
Neon |
Website |
Documentation |
Pricing |
Blog |
Youtube |
Support
⚡ The Postgres NeonDB package for Dart
Installation #
dependencies:
flutter_neon: ^0.1.0+5
copied to clipboard
Getting started #
Select a couple of rows from a table
void main() async {
final neonClient = FlutterNeon(
connectionUrl:
"postgres://abdealex05:[email protected]/neondb",
pooling: true);
final results = await neonClient.select(table: "table", columns: ["column1", "column1"]);
print(results.first);
}
copied to clipboard
Select a whole table
final neonClient = FlutterNeon(
connectionUrl:
"postgres://abdealex05:[email protected]/neondb",
pooling: true);
final results = await neonClient.selectAll(table: "table");
print(results.first);
copied to clipboard
Open Connection to your Neon database
await neonClient.open();
copied to clipboard
Close Connection to your Neon database
await neonClient.close();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.