knex_dart_postgres 0.3.1 copy "knex_dart_postgres: ^0.3.1" to clipboard
knex_dart_postgres: ^0.3.1 copied to clipboard

PostgreSQL driver for knex_dart — connect and execute queries against a PostgreSQL database using the knex_dart query builder.

0.3.1 #

  • Tighten knex_dart lower bound to ^1.2.1QueryInterceptor and QueryExecutionContext were not present before 1.2.1.

0.3.0 #

  • Added QueryInterceptor pipeline support: attach OTel, logging, or custom interceptors via the interceptors parameter on KnexPostgres.connect().
  • Fixed savepoint lifecycle events routed through child transaction ID so OTel spans are correctly attributed to nested transactions.
  • Fixed exception propagation in transaction rollback using Error.throwWithStackTrace to preserve original stack traces.
  • Fixed savepoint ID generation to use a per-instance counter.
  • Removed leftover debug print() statements.

0.2.0 #

  • Added KnexPostgres.cockroachdb(...) constructor for CockroachDB connections.
  • Added KnexPostgres.redshift(...) constructor for Amazon Redshift connections.
  • Propagated dialect identity through schema/query builder generation so capability checks stay dialect-aware for PostgreSQL wire-compatible variants.
  • Added universal_io dependency for broader platform compatibility.

0.1.1 #

  • Updated dependency to knex_dart: ^1.1.0.
  • Transaction execution path aligned with core runInTransaction(...) hook.

0.1.0 #

  • Initial release.
  • PostgreSQL driver for knex_dart using the postgres package.
  • KnexPostgres.connect() factory for establishing a connection.
  • Full query execution: select, insert, update, delete.
  • Transaction support via trx().
  • Schema execution via executeSchema().
1
likes
150
points
75
downloads

Documentation

API reference

Publisher

verified publishermahawarkartikey.in

Weekly Downloads

PostgreSQL driver for knex_dart — connect and execute queries against a PostgreSQL database using the knex_dart query builder.

Repository (GitHub)
View/report issues
Contributing

Topics

#sql #query-builder #database #postgresql #knex

License

MIT (license)

Dependencies

knex_dart, logging, postgres, universal_io

More

Packages that depend on knex_dart_postgres