#sqlite #finql #time #adaptor #handler #db

finql-sqlite

Internal crate used by finql implementing the sqlite adaptor

8 releases

0.3.0 Jul 6, 2021
0.2.5 Mar 12, 2021
0.2.0 Feb 18, 2021
0.1.0 Feb 1, 2021

#35 in #adaptor

25 downloads per month

MIT/Apache

61KB
1.5K SLoC

finql-sqlite

finql-sqlite is an implementation of the finql-data data handler trait used by the finql crate. It is only useful in connection with finql.

The implementation is based on sqlx, which uses macros to enable query checking at compile time. In order to achieve this, a valid database must be specified, otherwise the build will fail.

Therefore, pleas follow the following steps to build the library:

  1. change to the directory that contains the Cargo.tomlfile
  2. export the database string on the command line with export DATABASE_URL=sqlite:data/test.db
  3. build the library with cargo build

Dependencies

~48MB
~1M SLoC