sqll 0.14.3

Efficient interface to SQLite that doesn't get in your way
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use sqll::{SendStatement, Statements};

#[derive(Statements)]
struct Writer {
    #[sql = "CREATE TABLE foo (id INTEGER)"]
    create: SendStatement,
}

// A `read_only` collection must not be able to embed a collection that can
// mutate the database, otherwise its `IsReadOnly` implementation is unsound.
#[derive(Statements)]
#[sql(read_only)]
struct Reader {
    #[sql(statements)]
    nested: Writer,
}

fn main() {}