Documentation ¶
Index ¶
Constants ¶
View Source
const ( InsertGlobalTransaction = `` /* 208-byte string literal not displayed */ QueryGlobalTransactionByXid = `` /* 144-byte string literal not displayed */ UpdateGlobalTransaction = "update %s set status = $1, gmt_modified = CURRENT_TIMESTAMP where xid = $2" InactiveGlobalTransaction = "update %s set active = 0, gmt_modified = CURRENT_TIMESTAMP where xid = $1" DeleteGlobalTransaction = "delete from %s where xid = $1" InsertBranchTransaction = `` /* 250-byte string literal not displayed */ QueryBranchTransaction = `` /* 197-byte string literal not displayed */ QueryBranchTransactionByXid = `` /* 203-byte string literal not displayed */ UpdateBranchTransaction = "update %s set status = $1, gmt_modified = CURRENT_TIMESTAMP where branch_id = $2" DeleteBranchTransaction = "delete from %s where branch_id = $1" InsertRowLock = `insert into %s (xid, transaction_id, branch_id, resource_id, table_name, pk, row_key, gmt_create, gmt_modified) values %s` QueryRowKey = `` /* 144-byte string literal not displayed */ CreateGlobalTable = `` /* 559-byte string literal not displayed */ CreateBranchTable = `` /* 560-byte string literal not displayed */ CreateLockTable = `` /* 412-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func FromParameters ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.