summaryrefslogtreecommitdiff
path: root/config.toml
blob: 12817eaaf52b03748942d706a42dda104356a107 (plain)
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
listen = "0.0.0.0:3000"

[[fields]]
id = "IDNumber"
distinct = true

[[fields]]
id = "Name"

[[fields]]
id = "Phone"
distinct = true

[[relations]]
name = "IdPhone"
connect = "daigunyun.db"
table_name = "id_phone"

[[relations.fields]]
id = "IDNumber"
query = "idnum"

[[relations.fields]]
id = "Phone"
query = "phone"

[[relations]]
name = "NameId"
connect = "daigunyun.db"
table_name = "name_id"

[[relations.fields]]
id = "IDNumber"
query = "idnum"

[[relations.fields]]
id = "Name"
query = "name"