Crate turbosql[][src]

Macros

execute

Executes a SQL statement. On success, returns the number of rows that were changed or inserted or deleted.

select

Executes a SQL SELECT statement with optionally automatic SELECT and FROM clauses.

Structs

CheckpointResult

Constants

__TURBOSQL_DB

Functions

checkpoint

Checkpoint the DB. If no other threads have open connections, this will clean up the -wal and -shm files as well.

set_db_path

Set the local path and filename where Turbosql will store the underlying SQLite database.

Type Definitions

Blob

Wrapper for Vec<u8> that may one day impl Read, Write and Seek traits.

Derive Macros

Turbosql

Derive this on a struct to create a corresponding SQLite table and insert/update/upsert methods. (TODO: Turbosql trait?)