From e670f5389171a7a124d990fe2093e1f9290eccfc Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 24 Feb 2024 02:46:28 +0800 Subject: Initial commit --- config.toml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 config.toml (limited to 'config.toml') 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" -- cgit v1.2.3