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
49
use Result;
use *;
/*
SQL SELECT is more complicated, unlike the other queries it
requires the Table derive, this will be responsible for the
majory of the query generation.
Instead of the ability to refer to tables as strings with
#[sqly(table = "c22")], the path to another struct must be
passed instead. This struct must have #[derive(Table)]
applied.
An empty struct can be used to generate the SQL SELECT list
for the given table. The table requires #[sqly(from_row)],
which generates the sqlx::FromRow definition needed to
construct the table from the results of the query.
*/
;
async