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

outdated

Neon dart package

Flutter NeonDB

NeonDB Flutter

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

⚡ The Postgres NeonDB package for Flutter apps

Installation #

  dependencies:
    flutter_neon: ^0.1.0+1

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", rows: ["row", "row"]);
  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
0
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Neon dart package

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

postgres

More

Packages that depend on flutter_neon