diff options
author | Keuin <[email protected]> | 2024-02-24 02:46:28 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2024-02-24 03:06:16 +0800 |
commit | e670f5389171a7a124d990fe2093e1f9290eccfc (patch) | |
tree | 9c9b313db57159f019b2d4f5770ab7a2e1085fe5 /config.toml |
Initial commit
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..12817ea --- /dev/null +++ b/config.toml @@ -0,0 +1,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" |