-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathgosqlapi.json
More file actions
57 lines (57 loc) · 1.2 KB
/
gosqlapi.json
File metadata and controls
57 lines (57 loc) · 1.2 KB
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
50
51
52
53
54
55
56
57
{
"web": {
"http_addr": "127.0.0.1:8080",
"cors": true,
"http_headers": {
"abc": "123"
}
},
"databases": {
"test_db": {
"type": "sqlite",
"url": ":memory:"
}
},
"scripts": {
"init": {
"database": "test_db",
"path": "scripts/init.sql",
"public_exec": true
},
"metadata": {
"database": "test_db",
"path": "scripts/metadata.sql"
},
"list_tables": {
"database": "test_db",
"sql": "SELECT name FROM sqlite_master WHERE type='table' and name like 'TEST_GOSQLAPI%' ORDER BY name",
"public_exec": true
},
"list_columns": {
"database": "test_db",
"sql": "SELECT * FROM PRAGMA_TABLE_INFO(?table_name?)",
"public_exec": true
}
},
"tables": {
"test_table": {
"database": "test_db",
"name": "TEST_GOSQLAPI",
"exported_columns": [
"NAME"
],
"public_read": true,
"public_write": true
},
"token_table": {
"database": "test_db",
"name": "TEST_GOSQLAPI_TOKENS",
"show_total": true
}
},
"managed_tokens": {
"database": "test_db",
"query_path": "scripts/token_query.sql"
},
"null_value": "NULL"
}