Member Junction
    Preparing search index...

    Internal class used by TransactionGroupBase and sub-classes to manage individual transactions

    Index

    Constructors

    • Creates a new TransactionItem

      Parameters

      • baseEntity: BaseEntity

        The base entity object this transaction is associated with

      • operationType: "Create" | "Update" | "Delete"

        The type of operation (Create, Update, Delete)

      • instruction: string

        The SQL or GraphQL instruction to execute

      • vars: any

        Variables to pass to the SQL or GraphQL

      • extraData: any

        Additional data needed for processing by the provider

      • callBack: (result: Record<string, any>, success: boolean) => void

        Callback function that gets called when the transaction completes

      Returns TransactionItem

    Accessors

    • get CallBack(): (result: Record<string, any>, success: boolean) => void

      Callback function that gets called when the transaction is complete

      Returns (result: Record<string, any>, success: boolean) => void

      A function that takes a result object (database row) and a success boolean