senecajs / seneca-entity

Entity plugin for seneca
MIT License
13 stars 15 forks source link

Added new nomenclature #78

Closed Jose-Perigolo closed 1 year ago

Jose-Perigolo commented 1 year ago

Changes on types: seneca.entity.begin -> seneca.entity.transaction seneca.entity.end -> seneca.entity.commit

Added flag to desable auto-rollback:

transaction: {
    active: false,
    rollback: {
      onerror: true,
    }
 }