owl_sql 0.12.0 copy "owl_sql: ^0.12.0" to clipboard
owl_sql: ^0.12.0 copied to clipboard

Source code generator for SQL CRUD (Postgresql and CockroachDB-flavoured SQL).

Changelog #

0.12.0 #

  • Migrated to use postgres v3 API. Note: some types may not be supported.

0.10.1 #

  • Fix bool flag isCockroachDB.

0.10.0 #

  • Migrated to null-safety.

0.9.0 #

Breaking changes:

  • isCockroachDB: true is moved from *Table.init() to the table-level.
  • Support the long-format upsert (for Postgres).

0.8.0 #

Breaking changes:

  • Index.storing renamed to Index.including.
  • Generates the same SQL for Postgres and CockroachDB, however init() needs isCockroachDB: true in the later cases.

0.7.2 #

  • Supports column-level UNIQUE constraints.

0.7.1 #

  • Updated code to latest Dart SDK and pedantic lints.
  • More support for CockroachDB (e.g. column families, ordered keys).

0.7.0 #

Breaking changes:

  • Dart 2.2 compatible code (incl. using the optional new initialization).
  • ${table.type}ConnectionFn removed
  • Table.paginate uses PostgreSQLExecutionContext (e.g. Connection or a pooling proxy).

Updates:

  • Import package with prefixes.
  • Additional mutable (non-database) fields for Row objects.

0.6.3 #

  • Support limit with *Table.updateAll.

0.6.2 #

  • Support limit with *Table.deleteAll.

0.6.1 #

  • Support for SMALLINT column.

0.6.0 #

  • Complete rewrite of the SQL parts from owl/owl_codegen (0.4)
0
likes
120
pub points
0%
popularity

Publisher

verified publisheragilord.com

Source code generator for SQL CRUD (Postgresql and CockroachDB-flavoured SQL).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on owl_sql