| DataSet.sjs | |
| Functions | |
| getDs | returns a java DataSource object that can be used as the “ds” option in queries |
| query | queries this DataSet as a table named “data”, and returns a Myna.Query object |
Myna.DataSet.prototype.getDs =function()
returns a java DataSource object that can be used as the “ds” option in queries
This will create an in-memory H2 database containing a single table “data” which contains the contents of this DataSet. The return value will be a DataSource that can be used to query this table
Myna.DataSet.prototype.query =function( options )
queries this DataSet as a table named “data”, and returns a Myna.Query object
This will create an in-memory H2 database containing a single table “data” which contains the contents of this DataSet. This function takes the same options as Myna.Query, except that the ds/dataSource parameter is ignored
returns a java DataSource object that can be used as the “ds” option in queries
Myna.DataSet.prototype.getDs =function()
queries this DataSet as a table named “data”, and returns a Myna.Query object
Myna.DataSet.prototype.query =function( options )