Skip to main content

sqlite_plus_orm 0.1.5 copy "sqlite_plus_orm: ^0.1.5" to clipboard
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 -journal are created. An existing file is kept. A second open of that path throws StateError while the first set is open. On the Web the call throws UnsupportedError.
  • Two types use one DbContext and one saveChanges. A second saveChanges while the first is running throws OrmStateException. Queries on that context wait, then run.
  • sqlite_plus_generator writes the BookMapping used 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 registers table_method on 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, and julianDay.

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.
1
likes
0
points
1.56k
downloads

Publisher

verified publisherquds.cc

Weekly Downloads

Typed queries, change tracking, row functions, and migrations for the sqlite_plus engine.

Repository (GitHub)
View/report issues

Topics

#sqlite #database #orm

License

unknown (license)

Dependencies

sqlite_plus

More

Packages that depend on sqlite_plus_orm