Documentation ¶
Index ¶
- Constants
- func AppendToArray(bucket *couchbase.Bucket, key string, value interface{}) (string, error)
- func AssertNotExists(bucket *couchbase.Bucket, key string) error
- func CountArray(bucket *couchbase.Bucket, key string) (int, error)
- func DeleteArrayObject(bucket *couchbase.Bucket, key string, value interface{}) error
- func DeleteUniqueArrayObject(bucket *couchbase.Bucket, key string, unique string) error
- func FlushArray(bucket *couchbase.Bucket, key string, value interface{}) error
- func GetArray(bucket *couchbase.Bucket, key string, rv interface{}) error
- func GetCurrentDatacenter() string
- func GetDatacenters() []string
- func SilentUniqueAppendToArray(bucket *couchbase.Bucket, key string, value interface{}, unique string) (string, error)
Constants ¶
View Source
const ( OBJECT_NOT_FOUND_IN_ARRAY = "OBJECT_NOT_FOUND_IN_ARRAY" KEY_EXISTS = "KEY_EXISTS" )
error strings used as return values
View Source
const (
KEY_ENOENT = "KEY_ENOENT" // the key isn't set in the database
)
couchbase error strings
Variables ¶
This section is empty.
Functions ¶
func AppendToArray ¶
func AssertNotExists ¶
func CountArray ¶
func DeleteArrayObject ¶
func DeleteUniqueArrayObject ¶
func FlushArray ¶
func GetCurrentDatacenter ¶
func GetCurrentDatacenter() string
func GetDatacenters ¶
func GetDatacenters() []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.