-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsqlx-data.json
116 lines (116 loc) · 2.73 KB
/
sqlx-data.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"db": "PostgreSQL",
"421c440e24cd1f0132abad50f99ff13a83d2852a52a43842718477d6195fe2a1": {
"query": "\n SELECT base_date, mart_name, start_time, end_time, next_holiday\n FROM mart\n WHERE mart_name = ANY($1);\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "base_date",
"type_info": "Date"
},
{
"ordinal": 1,
"name": "mart_name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "start_time",
"type_info": "Time"
},
{
"ordinal": 3,
"name": "end_time",
"type_info": "Time"
},
{
"ordinal": 4,
"name": "next_holiday",
"type_info": "Date"
}
],
"parameters": {
"Left": [
"TextArray"
]
},
"nullable": [
false,
false,
false,
false,
true
]
}
},
"6cd4ea6db2ff60c285fc3969cc2be90214de255c22ad9d90e2070b592cd839e9": {
"query": "\n SELECT * FROM (\n SELECT base_date, mart_name, start_time, end_time, next_holiday, \n ST_DistanceSphere(ST_GeomFromText($1), loc) AS distance\n FROM mart\n WHERE ST_GeomFromText($2) ~ loc\n ) as a\n WHERE distance <= 10000\n ORDER BY distance\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "base_date",
"type_info": "Date"
},
{
"ordinal": 1,
"name": "mart_name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "start_time",
"type_info": "Time"
},
{
"ordinal": 3,
"name": "end_time",
"type_info": "Time"
},
{
"ordinal": 4,
"name": "next_holiday",
"type_info": "Date"
},
{
"ordinal": 5,
"name": "distance",
"type_info": "Float8"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
false,
false,
false,
false,
true,
null
]
}
},
"6d458d5221b56fae1fe4d6566a6d032695d188362fb75901cfc826106a480f1b": {
"query": "\n SELECT mart_name\n FROM mart\n ORDER BY mart_name;\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "mart_name",
"type_info": "Varchar"
}
],
"parameters": {
"Left": []
},
"nullable": [
false
]
}
}
}