MCPcopy Create free account
hub / github.com/apecloud/myduckserver / GetCurrentSchema

Method GetCurrentSchema

backend/session.go:234–236  ·  view source on GitHub ↗

GetCurrentSchema implements adapter.ConnectionHolder.

()

Source from the content-addressed store, hash-verified

232}
233
234// GetTxn implements adapter.ConnectionHolder.
235func (sess *Session) GetTxn(ctx context.Context, options *stdsql.TxOptions) (*stdsql.Tx, error) {
236 return sess.db.Pool().GetTxn(ctx, sess.ID(), sess.GetCurrentDatabase(), options)
237}
238
239// GetCatalogTxn implements adapter.ConnectionHolder.

Callers

nothing calls this directly

Calls 3

CurrentSchemaMethod · 0.80
PoolMethod · 0.80
IDMethod · 0.80

Tested by

no test coverage detected