Methods
_init(t)
Parameters:
Name | Type | Description |
---|---|---|
t |
Returns:
bool
create(data, cb)
Create
Parameters:
Name | Type | Description |
---|---|---|
data |
||
cb |
function() |
delete(data, cb)
Delete
Parameters:
Name | Type | Description |
---|---|---|
data |
||
cb |
function() |
read(id)
Read
Parameters:
Name | Type | Description |
---|---|---|
id |
integer |
save(data, cb)
Save
Parameters:
Name | Type | Description |
---|---|---|
data |
||
cb |
function() |
self(cb)
self
Parameters:
Name | Type | Description |
---|---|---|
cb |
function() |
update(data, cb)
Update
Parameters:
Name | Type | Description |
---|---|---|
data |
||
cb |
function() |