athena_postgres 1.0.1 copy "athena_postgres: ^1.0.1" to clipboard
athena_postgres: ^1.0.1 copied to clipboard

Dart PostgreSQL query builder, expressive and user-friendly API to build and manage SQL queries in your Dart projects.

example/athena_postgres_example.dart

import 'package:athena_postgres/athena_postgres.dart';
import 'package:athena_sql/athena_sql.dart';

void main() async {
  final athena = AthenaPostgresql(PostgresDatabaseConfig('host', 1, 'db'));

  await athena.open();

  await athena.create
      .table('user')
      .column((t) => t.$customType('name', type: 'text'))
      .run();

  await athena.drop.table('user').run();
}
0
likes
0
pub points
0%
popularity

Publisher

verified publisherathena-sql.dev

Dart PostgreSQL query builder, expressive and user-friendly API to build and manage SQL queries in your Dart projects.

Homepage
Repository (GitHub)
View/report issues

Topics

#sql #postgres

License

unknown (license)

Dependencies

athena_sql, path, postgres

More

Packages that depend on athena_postgres