view app/model/Query.js @ 435:f848807b2bc7

Added tag 0.9 for changeset 759828c533f5
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:56:59 +0100
parents f9bb1ecf6462
children debfcc7713e3
line wrap: on
line source
/**
 * Model class for SQL-Querys
 */
Ext.define('Lada.model.Query', {
    extend: 'Lada.model.Base',
    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'
        }
    }
});

http://lada.wald.intevation.org