knex_dart_postgres 0.3.1
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_dartlower bound to^1.2.1—QueryInterceptorandQueryExecutionContextwere not present before 1.2.1.
0.3.0 #
- Added
QueryInterceptorpipeline support: attach OTel, logging, or custom interceptors via theinterceptorsparameter onKnexPostgres.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.throwWithStackTraceto 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_iodependency 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_dartusing thepostgrespackage. KnexPostgres.connect()factory for establishing a connection.- Full query execution: select, insert, update, delete.
- Transaction support via
trx(). - Schema execution via
executeSchema().