src/server/pkg/collection/transaction.go
func newSTMReadCommitted(ctx context.Context, c *v3.Client, apply func(STM) error) (*v3.TxnResponse, error) {
	s := &stmReadCommitted{stm{client: c, ctx: ctx, getOpts: []v3.OpOption{v3.WithSerializable()}}}
	return runSTM(s, apply, true)
}
func newSTMReadCommitted(ctx context.Context, c *v3.Client, apply func(STM) error) (*v3.TxnResponse, error) {
	s := &stmReadCommitted{stm{client: c, ctx: ctx, getOpts: []v3.OpOption{v3.WithSerializable()}}}
	return runSTM(s, apply, true)
}
func newSTMReadCommitted ( ctx context . Context , c * v3 . Client , apply func ( STM ) error ) ( * v3 . TxnResponse , error ) { s := & stmReadCommitted { stm { client : c , ctx : ctx , getOpts : [ ] v3 . OpOption { v3 . WithSerializable ( ) } } } return runSTM ( s , apply , true ) }
// newSTMReadCommitted initiates a new read committed transaction.
newSTMReadCommitted initiates a new read committed transaction .