Mercurial > lada > lada-client
view app/model/Query.js @ 290:fe51239321d9
Inherit from Base controller
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 09 Aug 2013 15:00:06 +0200 |
parents | d40a552382a3 |
children | 5e4d926d7717 |
line wrap: on
line source
Ext.define('Lada.model.Query', { extend: 'Ext.data.Model', fields: [ {name: "id"}, {name: "name"}, {name: "description"}, {name: "sql"}, {name: "results"}, {name: "filters"}, ], proxy: { type: 'rest', url: 'server/rest/query', reader: { type: 'json', root: 'data' } } });