File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 33This project contains Dart packages to use SQLite from Dart via ` dart:ffi ` .
44
55The main package in this repository is [ ` sqlite3 ` ] ( sqlite3 ) , which contains all the Dart apis and their implementation.
6- ` package:sqlite3 ` is a pure-Dart package without a dependency on Flutter.
6+ ` package:sqlite3 ` is a pure-Dart package without a dependency on Flutter.
77It can be used both in Flutter apps or in standalone Dart applications.
88
99The ` sqlite3_flutter_libs ` and ` sqlcipher_flutter_libs ` packages contain no Dart code at all. Flutter users can depend
1010on one of them to include native libraries in their apps.
1111
12+ ` package:sqlite3_test ` contains utilities that make integrating SQLite databases into Dart tests easier.
13+ In particular, they patch ` CURRENT_TIMESTAMP ` and related constructs to return the (potentially faked) time
14+ returned by ` package:clock ` .
15+
1216## Example Usage
1317
1418A file with basic usage examples for pure Dart can be found [ here] ( sqlite3/example/main.dart ) .
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ topics:
2020 - sql
2121 - database
2222 - ffi
23+ - sqlite
2324
2425dependencies :
2526 collection : ^1.15.0
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ tests by providing a [VFS](https://sqlite.org/vfs.html) that will:
1818
19191 . Make ` CURRENT_TIME ` , ` CURRENT_DATE ` and ` CURRENT_TIMESTAMP ` reflect the time
2020 returned by ` package:clock ` .
21- 2 . For IO operations, allows providing a ` FileSystem ` from ` package:file ` . This
21+ 2 . For IO operations, allow providing a ` FileSystem ` from ` package:file ` . This
2222 includes custom implementations and the default one respecting
2323 ` IOOverrides ` .
2424
Original file line number Diff line number Diff line change 11name : sqlite3_test
2- description : Utilities for accessing sqlite3 databases in unit tests .
2+ description : Integration of fake clocks and other test utilities for SQLite databases .
33version : 0.1.0
44homepage : https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3_test
55repository : https://github.com/simolus3/sqlite3.dart
6+ topics :
7+ - database
8+ - sqlite
69
710environment :
811 sdk : ^3.5.4
You can’t perform that action at this time.
0 commit comments