sqflite_common
v2.5.6Dart wrapper on SQLite, a self-contained, high-reliability, embedded, SQL database engine.
Архив пакета: https://pubdev.letsnova.ru/api/archives/sqflite_common/2.5.6.tar.gz
dart pub add sqflite_commonREADME
sqflite common
This package is not intended for direct use.
- See sqflite for flutter mobile
- See sqflite_common_ffi for Desktop and unit test
One exception to import sqflite_common/sqlite_api.dart is that you have logic
which is shared across Flutter apps and desktop binaries, and you want to make
your shared logic platform-agnostic. In this case, you can import the
sqflite_common/sqlite_api.dart directly in your Dart package for shared logic
and import it in your platform-dependent packages (e.g. using
sqflite for Flutter apps and
sqflite_common_ffi for desktop
binaries).
История изменений
2.5.6
- Add
Database.setJournalModeextension helper method. - Requires dart 3.8
2.5.5
- Requires dart 3.7
2.5.4+6
- Remove dependency on
dart:html - Add more keywords to escape from sqlite.org
- Export deprecated
SqfliteOptionsin sqflite_dev
2.5.3
- Export
databaseIdandtransactionIdin logger events.
2.5.2-1
- Start support for rolled back transaction by an inner statement.
2.5.1-2
- Add
readTransactionsupport toDatabaseto allow concurrent read-only transactions (sqlite_async only)
2.5.0+2
- Dart 3 only
- Add
readDatabaseBytesandwriteDatabaseBytesfactory methods.
2.4.5+1
- Add global API from sqflite (openDatabase, deleteDatabase, databaseFactory...) from sqflite
- Fixes SqlBuilder for query with offset without limit.
2.4.4
- Dart 3 support
2.4.3
- add minimum support for SQLite uri (https://www.sqlite.org/uri.html)
2.4.2+2
- add experimental logger support.
2.4.1
- add support for
Batch.lengthto help finding the last added operation index. - strict-casts and sdk 2.18 support
2.4.0+2
- add support for
Database.queryCursor()andDatabase.rawQueryCursor() - base experimental web support
- Support for transaction v2
2.3.0
- Add
apply()method toBatch. It will execute statements in that batch without starting a new transaction.
2.2.1+1
- Add debug tag to database factory
2.2.0
- Export
Object? resultinDatabaseException - Export deprecated
DatabaseFactory.debugSetLogLevelfor quick logging.
2.1.0
- Requires dart sdk 2.15
2.0.1+1
- Truncate arguments in exception
2.0.0+2
nnbdsupport- Fix transaction ref counting on begin transaction failure
1.0.3+2
- Don't lock globally during open but lock per database full path.
1.0.2+1
- Don't create a transaction during openDatabase if not needed.
1.0.1
- Export
DatabaseException.getResultCode().
1.0.0+1
- Initial revision from sqflite 1.2.2+1
