view 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
line wrap: on
line source
Ext.define('Lada.model.Query', {
    extend: 'Ext.data.Model',
    fields: [
        {name: "id"},
        {name: "name"},
        {name: "description"},
        {name: "sql"},
        {name: "fields"},
    ],
    proxy: {
        type: 'memory',
        reader: {
            type: 'json'
        }
    }
});

http://lada.wald.intevation.org