|
|
@ -294,7 +294,7 @@ func (b *BaseDB) FixFaultyTimestamps(ctx context.Context) error {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// TxOptions represents a set of options one can use to control what type of
|
|
|
|
// TxOptions represents a set of options one can use to control what type of
|
|
|
|
// database transaction is created. Transaction can wither be read or write.
|
|
|
|
// database transaction is created. Transaction can whether be read or write.
|
|
|
|
type TxOptions interface {
|
|
|
|
type TxOptions interface {
|
|
|
|
// ReadOnly returns true if the transaction should be read only.
|
|
|
|
// ReadOnly returns true if the transaction should be read only.
|
|
|
|
ReadOnly() bool
|
|
|
|
ReadOnly() bool
|
|
|
|