Class nnjl.licurgo.DBDataSource
Extends
nnjl.licurgo.DataSource.
Defined in: nnjl.licurgo.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
nnjl.licurgo.DBDataSource(dbname, Properties, props)
Creates a new nnjl.licurgo.DBDataSource
|
| Method Attributes | Method Name and Description |
|---|---|
|
getNewType(type, propertiesdata)
Create a new Type associated to this datasource.
|
- Methods borrowed from class nnjl.licurgo.DataSource:
- createDataObject, createQuery, createTable, dropTable, get, getPrimitiveType, getTransaction, getType, hasTable, hasType, remove, removeById, save, select, shutdown
Class Detail
nnjl.licurgo.DBDataSource(dbname, Properties, props)
Creates a new nnjl.licurgo.DBDataSource
- Parameters:
- {String} dbname
- Database name
- {properties} Properties
- props
Method Detail
getNewType(type, propertiesdata)
Create a new Type associated to this datasource.
Parameter type could be an String to create a clean Type or a JavaScript object with this structure
licurgotype = {
name : "licurgotype",
version : 1.0, // it will be used in the future
properties : [{name :"propname", type="string"},{name:"prop2", type:"boolean}]
}
- Parameters:
- {string|Object} type
- propertiesdata