UNPKG

driver-interface

Version:

Standardized interface for common functionality, expressed in layers. Covers communication with databases, hardware, web services, and more.

40 lines (23 loc) 787 B
module.exports = { friendlyName: 'Commit transaction', description: 'Commit the database transaction on the provided connection.', inputs: { connection: require('../../constants/connection.input'), meta: require('../../constants/meta.input') }, exits: { success: { description: 'The transaction was successfully committed.', extendedDescription: 'Subsequent queries on this connection will no longer be transactional unless a new transaction is begun.', outputVariableName: 'report', outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.', outputExample: { meta: '===' } }, badConnection: require('../../constants/badConnection.exit') } };