MCPcopy Index your code
hub / github.com/coder/coder / DefaultTXOptions

Function DefaultTXOptions

coderd/database/db.go:136–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134}
135
136func DefaultTXOptions() *TxOptions {
137 return &TxOptions{
138 Isolation: sql.LevelDefault,
139 ReadOnly: false,
140 }
141}
142
143func (q *sqlQuerier) InTx(function func(Store) error, txOpts *TxOptions) error {
144 _, inTx := q.db.(*sqlx.Tx)

Callers 15

startMethod · 0.92
InTxMethod · 0.92
TestInTxMetricsFunction · 0.92
purgeTickMethod · 0.92
TestPurgeFunction · 0.92
TestMetricsFunction · 0.92
storeChatAttachmentMethod · 0.92
TestRenameChatTitleFunction · 0.92

Calls

no outgoing calls