Mercurial > lada > lada-client
comparison app/model/Query.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 | 7097182150d9 |
comparison
equal
deleted
inserted
replaced
234:d4894ed5045a | 235:78134e20e62d |
---|---|
1 Ext.define('Lada.model.Query', { | |
2 extend: 'Ext.data.Model', | |
3 fields: [ | |
4 {name: "id"}, | |
5 {name: "name"}, | |
6 {name: "description"}, | |
7 {name: "sql"}, | |
8 {name: "fields"}, | |
9 ], | |
10 proxy: { | |
11 type: 'memory', | |
12 reader: { | |
13 type: 'json' | |
14 } | |
15 } | |
16 }); |