aim_database 0.4.0
aim_database: ^0.4.0 copied to clipboard
Database abstraction layer for Aim. Provides common interfaces for database drivers like aim_postgres.
0.4.0 #
- New:
scanSqlPlaceholdersfinds the:nameand?parameter placeholders in a statement and skips the ones inside a string literal, a quoted identifier or a comment.SqlDialectcarries the three rules that differ between PostgreSQL and MySQL — which character quotes an identifier, whether a backslash escapes inside a literal, and whether#starts a comment. A driver rewrites the placeholders into its own form; finding them is shared.
0.3.0 #
- Document the value contract on
Database/Transaction: drivers return Dart-typed values,DateTimeis always UTC,execute()returns affected rows.
0.2.0 #
See Release Notes
0.1.1 #
See Release Notes
0.1.0 #
See Release Notes
0.0.1 #
- Initial release of
aim_databasepackage - Added
Databaseabstract class withquery(),execute(),transaction(), andclose()methods - Added
Transactionabstract class withquery()andexecute()methods - Support for named parameters (
:name) and positional arguments ($1)