Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyBuckets = errors.New("empty buckets")
)
View Source
var Module = types.Module{ {CreateFunc: NewConfig}, {CreateFunc: NewCouchbase}, }
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
func (*Collection) CallContext ¶
func (*Collection) CallTransaction ¶
func (c *Collection) CallTransaction( ctx context.Context, query string, f func(ctx context.Context, c *txtype.CollectionTx) error, ) error
type Config ¶
type Couchbase ¶
type Couchbase struct {
// contains filtered or unexported fields
}
func (*Couchbase) GetCollection ¶
func (c *Couchbase) GetCollection(bucketName, collectionName string) (connectors.DBConnector[*gocb.Collection, *txtype.CollectionTx], error)
Click to show internal directories.
Click to hide internal directories.