couchbase

package
v0.0.0-...-711f10a Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: GPL-2.0, GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArCouchbase

type ArCouchbase struct {
	goar.ActiveRecord
	ID string `json:"id,omitempty"`
	goar.Timestamps
}

func (*ArCouchbase) All

func (ar *ArCouchbase) All(models interface{}, opts map[string]interface{}) (err error)

func (*ArCouchbase) Client

func (ar *ArCouchbase) Client() *gocb.Bucket

func (*ArCouchbase) DbDelete

func (ar *ArCouchbase) DbDelete() (err error)

func (*ArCouchbase) DbSave

func (ar *ArCouchbase) DbSave() error

func (*ArCouchbase) DbSearch

func (ar *ArCouchbase) DbSearch(models interface{}) (err error)

func (*ArCouchbase) Find

func (ar *ArCouchbase) Find(id interface{}, out interface{}) error

func (*ArCouchbase) N1qlQuery

func (ar *ArCouchbase) N1qlQuery(query string, models *[]interface{}) (err error)

func (*ArCouchbase) SetKey

func (ar *ArCouchbase) SetKey(key string)

func (*ArCouchbase) Truncate

func (ar *ArCouchbase) Truncate() (numRowsDeleted int, err error)

Jump to

Keyboard shortcuts

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