flutter_neon 0.1.0+5 copy "flutter_neon: ^0.1.0+5" to clipboard
flutter_neon: ^0.1.0+5 copied to clipboard

Neon dart package

Dart_Neon

NeonDB Dart

Neon | Website | Documentation | Pricing | Blog | Youtube | Support

⚡ The Postgres NeonDB package for Dart

Installation #

  dependencies:
    flutter_neon: ^0.1.0+5

Getting started #

Select a couple of rows from a table

void main() async {
  final neonClient = FlutterNeon(
      connectionUrl:
          "postgres://abdealex05:CJdWeSro7Bw2@ep-holy-limit-21390121.eu-central-1.aws.neon.tech/neondb",
      pooling: true);
  final results = await neonClient.select(table: "table", columns: ["column1", "column1"]);
  print(results.first);
}

Select a whole table

final neonClient = FlutterNeon(
      connectionUrl:
          "postgres://abdealex05:CJdWeSro7Bw2@ep-holy-limit-21390121.eu-central-1.aws.neon.tech/neondb",
      pooling: true);

final results = await neonClient.selectAll(table: "table");
print(results.first);

Open Connection to your Neon database

await neonClient.open();

Close Connection to your Neon database

await neonClient.close();
2
likes
130
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Neon dart package

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

postgres

More

Packages that depend on flutter_neon