MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Begin

Method Begin

client/conn.go:239–241  ·  view source on GitHub ↗

Begin implements the driver.Conn.Begin method.

()

Source from the content-addressed store, hash-verified

237
238// Begin implements the driver.Conn.Begin method.
239func (c *conn) Begin() (driver.Tx, error) {
240 return c.BeginTx(context.Background(), driver.TxOptions{})
241}
242
243// BeginTx implements the driver.ConnBeginTx.BeginTx method.
244func (c *conn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) {

Callers 10

storeFunction · 0.45
TestTransactionFunction · 0.45
QueryMethod · 0.45
openHandlerMethod · 0.45
readTxMethod · 0.45
TestStorageFunction · 0.45
BenchmarkStorageFunction · 0.45
busyWriteTxFunction · 0.45
idleWriteTxFunction · 0.45

Calls 1

BeginTxMethod · 0.95

Tested by 6

TestTransactionFunction · 0.36
TestStorageFunction · 0.36
BenchmarkStorageFunction · 0.36
busyWriteTxFunction · 0.36
idleWriteTxFunction · 0.36