Mixin. Provide CRUID operations for entity database persistent (ORM) using
ubql
query syntaxMethods
addNew(ctx)
api
static
Create record with filled default values and return it to caller.
Newly created record is not inserted to database. For inserting record to the database insert
method should be called
Arguments:
-
ctx
(ubMethodParams)
delete(ctx)
api
static
Delete data
Arguments:
-
ctx
(ubMethodParams)
Properties
-
mParams.execParams.ID
(number)
 element ID to be deleted
insert(ctx)
api
static
Insert new row to the entity.
Arguments:
-
ctx
(ubMethodParams)
Properties
select(ctx)
api
static
Read entity data
Arguments:
-
ctx
(ubMethodParams)
Properties
-
mParams
(UBQL)
 ORM query in UBQL format
update(ctx)
api
static
Update data
Arguments:
-
ctx
(ubMethodParams)
Properties
insert
method should be called
ctx
(ubMethodParams)
ctx
(ubMethodParams)
Properties
-
mParams.execParams.ID
(number)
 element ID to be deleted
ctx
(ubMethodParams)
Properties
ctx
(ubMethodParams)
Properties
-
mParams
(UBQL)
 ORM query in UBQL format
ctx
(ubMethodParams)