1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Static identifiers and enum iteration, modeled by [`IdenStatic`] and [`Iterable`].
//!
//! Table and column names are known at compile time, so the entity layer
//! works with `&'static str` identifiers instead of allocating `Ident`s and
//! only converts at the SQL boundary. [`Iterable`] gives the query builders a
//! way to walk every column, key or relation of an entity without reflection;
//! the derive macros fill in `ALL` in declaration order so that generated
//! `SELECT` lists and `INSERT` column lists are stable.
//!
//! [`Static`] is the bridge to `turso_sql`: it is re-exported through the
//! crate's `__private` module for generated code and is not part of the
//! public API.
use ;
/// An identifier known at compile time, such as a table or column name.
/// An enumeration whose variants can be listed: columns, primary keys and relations.
///
/// Generated by the derive macros; `ALL` is in declaration order.
/// A wrapper that lets any [`IdenStatic`] be used where a [`turso_sql::IntoIden`] is expected.
;