types

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionTx

type CollectionTx struct {
	Ctx        *gocb.TransactionAttemptContext
	Collection *gocb.Collection
	Bucket     *gocb.Bucket
}

func (*CollectionTx) Get

func (c *CollectionTx) Get(id string) (*gocb.TransactionGetResult, error)

func (*CollectionTx) GetScope

func (c *CollectionTx) GetScope(scopeName string) *gocb.Scope

func (*CollectionTx) Insert

func (c *CollectionTx) Insert(id string, value interface{}) (*gocb.TransactionGetResult, error)

func (*CollectionTx) Internal

func (c *CollectionTx) Internal() *gocb.InternalTransactionAttemptContext

func (*CollectionTx) Query

func (c *CollectionTx) Query(statement string, options *gocb.TransactionQueryOptions) (*gocb.TransactionQueryResult, error)

func (*CollectionTx) Remove

func (c *CollectionTx) Remove(doc *gocb.TransactionGetResult) error

func (*CollectionTx) Replace

func (c *CollectionTx) Replace(doc *gocb.TransactionGetResult, value interface{}) (*gocb.TransactionGetResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL