view app/model/Query.js @ 394:6fa3b50949c9

Added tag 0.4 for changeset 92a960b691a4
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 30 Aug 2013 12:54:49 +0200
parents 6964cd97d35f
children f9bb1ecf6462
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