Versions in this module Expand all Collapse all v1 v1.0.0 Apr 5, 2021 Changes in this version + func NewDB(addr string, credential *options.Credential) (*kv.DB, error) + type MTxnStore struct + func (m MTxnStore) Close() error + func (m MTxnStore) GetTxnRecord(ctx context.Context, version uint64) (value types.DBValue, err error) + func (m MTxnStore) RemoveTxnRecord(ctx context.Context, version uint64) error + func (m MTxnStore) UpsertTxnRecord(ctx context.Context, version uint64, val types.DBValue) error + type MongoVVS struct + func (m MongoVVS) Close() error + func (m MongoVVS) Floor(ctx context.Context, key string, upperVersion uint64) (types.DBValue, uint64, error) + func (m MongoVVS) Get(ctx context.Context, key string, version uint64) (types.DBValue, error) + func (m MongoVVS) Remove(ctx context.Context, key string, version uint64) error + func (m MongoVVS) RemoveIf(ctx context.Context, key string, version uint64, ...) error + func (m MongoVVS) UpdateFlag(ctx context.Context, key string, version uint64, newFlag uint8) error + func (m MongoVVS) Upsert(ctx context.Context, key string, version uint64, val types.DBValue) error