Mercurial > lada > lada-server
annotate queryconf.json @ 339:17904ad125f3
Ignore parser tests cause the parser uses authentication now.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 29 Aug 2013 10:05:27 +0200 |
parents | 82bea32eddb7 |
children | 9c3b3d34b260 |
rev | line source |
---|---|
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
1 [{ |
270
a6185d60c2a1
Added example of a query configuration.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 "id": 1, |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
3 "name": "Kein Filter", |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
4 "description": "Abfrage der Proben ohne Filter", |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
5 "sql": "select probe_id, mst_id, umw_id from l_probe", |
270
a6185d60c2a1
Added example of a query configuration.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 "result": [ |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
7 {"dataIndex": "probeId", "header": "ProbeId", "flex": 1}, |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
8 {"dataIndex": "mstId", "header": "MST", "width": 100}, |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
9 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100} |
270
a6185d60c2a1
Added example of a query configuration.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 ], |
a6185d60c2a1
Added example of a query configuration.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 "filters": [ |
a6185d60c2a1
Added example of a query configuration.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 ] |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
13 }, { |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
14 "id": 2, |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
15 "name": "MST und UMW", |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
16 "description": "Abfrage der Proben gefiltert nach Messtellen ID und ID des Umweltbereichs", |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
17 "sql": "select probe_id, mst_id, umw_id from l_probe where (mst_id = :mst_id OR '' = :mst_id) and (umw_id = :umw_id OR '' = :umw_id)", |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
18 "result": [ |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
19 {"dataIndex": "probeId", "header": "ProbeId", "flex": 1}, |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
20 {"dataIndex": "mstId", "header": "MST", "width": 100}, |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
21 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100} |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
22 ], |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
23 "filters": [ |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
24 {"dataIndex": "mst_id", "type": "listmst", "label": "Messstelle"}, |
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
25 {"dataIndex": "umw_id", "type": "listumw", "label": "Umweltbereich"} |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
26 ] |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
27 }, { |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
28 "id": 3, |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
29 "name": "3. Abfrage", |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
30 "description": "Detailiertere Beschreibung der Abfrage", |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
31 "sql": "select probe_id, mst_id, umw_id from l_probe where (mst_id = :mst_id OR '' = :mst_id)", |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
32 "result": [ |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
33 {"dataIndex": "probeId", "header": "ProbeId", "flex": 1}, |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
34 {"dataIndex": "mstId", "header": "MST", "width": 100}, |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
35 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100} |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
36 ], |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
37 "filters": [ |
307
82bea32eddb7
Edited Example.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
301
diff
changeset
|
38 {"dataIndex": "mst_id", "type": "listmst", "label": "Messstelle"} |
300
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
39 ] |
dd0dec2609ad
Changed example queryconf
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
270
diff
changeset
|
40 }] |