annotate app/store/Queries.js @ 235:78134e20e62d

Added new model and store for Queries.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 09:52:05 +0200
parents
children 910cd477bfda
rev   line source
235
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 Ext.define('Lada.store.Queries', {
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 extend: 'Ext.data.Store',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 model: 'Lada.model.Query',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 data : [
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 {
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 'id': '1',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 'name': 'MST, UWB',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 'description': 'Beschreibung der MST, UWB Abfrage',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 'sql': 'select * from xxx',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 'fields': []
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 },
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 {
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 'id': '2',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 'name': 'Rbegin',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 'description': 'Beschreibung der Rbegin Abfrage',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 'sql': 'select * from xxx',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 'fields': []
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 }
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 ],
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 });

http://lada.wald.intevation.org