new ubq_runstat_ns()#
Mixes In:

Scheduler run statistic. Statistic for every scheduler item run and result

Members

attrsstatic #

Attributes defined in metadata. This property not exist in real life and added just for help

entity: UBEntityinstance #

Reference to entity metadata

Methods

addNew(ctx: ubMethodParams)instance#

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

delete(ctx: ubMethodParams)instance#

Delete data

Arguments info:

insert(ctx: ubMethodParams)instance#

Insert new row to the entity.

Arguments info:

  • ctx: ubMethodParams
    • mParams: Object

      Object keys is entity attributes names, key values is a value to be inserted

select(ctx: ubMethodParams)instance#

Read entity data

Arguments info:

update(ctx: ubMethodParams)instance#

Update data

Arguments info:

  • ctx: ubMethodParams
    • mParams: Object

      Object keys is entity attributes names, key values is a value to be inserted

    • mParams: number

      element ID to be updated

  • ctx.mParams.execParams: Object
    • mParams: number

      element ID to be updated

    Object keys is entity attributes names, key values is a value to be inserted