sqlite_plus_orm 0.1.5
sqlite_plus_orm: ^0.1.5 copied to clipboard
Typed queries, change tracking, row functions, and migrations for the sqlite_plus engine.
Changelog #
0.1.5 #
Depends on sqlite_plus 0.1.5.
DbSet.openMemory(type)opens a memory database, creates that table, and returns the set.DbSet.openDbFile(type, path)does the same for a file. A missing file and a missing-journalare created. An existing file is kept. A second open of that path throwsStateErrorwhile the first set is open. On the Web the call throwsUnsupportedError.- Two types use one
DbContextand onesaveChanges. A secondsaveChangeswhile the first is running throwsOrmStateException. Queries on that context wait, then run. sqlite_plus_generatorwrites theBookMappingused by these opens.
0.1.3 #
Depends on sqlite_plus 0.1.3. pub.dev already serves 0.1.2.
@DbScalar()on an instance method or getter reads mapped fields.selectWhere((row) => row.twice() > 20)runs that body for each row. The context registerstable_methodon the connection.- A column, a JSON path, or a call accepts the engine scalars:
abs,upper,lower,length,trim,substr,replace,round,coalesce,ifNull,concat,sign,floor,ceil,sqrt,date,time,dateTime,unixEpoch, andjulianDay.
0.1.2 #
Depends on sqlite_plus 0.1.2. The page uses the Linux release-build sample and the new logo.
0.1.1 #
The package page leads with a save, a revision, and a JSON path. Depends on sqlite_plus 0.1.1.
0.1.0 #
Release number. Depends on sqlite_plus 0.1.0.
0.0.3 #
Release number. Depends on sqlite_plus 0.0.3.
0.0.2 #
Published release. Depends on sqlite_plus 0.0.2.
0.0.1-dev.1 #
First pre-release.
- Typed queries, change tracking, relationships, and reviewed migrations.
- The reading-log example ships with the package.