dataHistory_api

Mixin. Provide historical data storage

Methods

# newversion (ctx:  object) static

Create new version of specified record. Newly created record is not inserted to database. For inserting record to the database insert method should be called

Arguments:
  • ctx: object
    • entity:  string

      Entity code

    • method:  string

      Should be === 'newversion'

    • execParams:  object

      Optional values for attributes of new record

    • fieldList:  array.<string>

      Names of attributes to be returned in result