Documentation ¶
Index ¶
- type ArCouchbase
- func (ar *ArCouchbase) All(models interface{}, opts map[string]interface{}) (err error)
- func (ar *ArCouchbase) Client() *gocb.Bucket
- func (ar *ArCouchbase) DbDelete() (err error)
- func (ar *ArCouchbase) DbSave() error
- func (ar *ArCouchbase) DbSearch(models interface{}) (err error)
- func (ar *ArCouchbase) Find(id interface{}, out interface{}) error
- func (ar *ArCouchbase) N1qlQuery(query string, models *[]interface{}) (err error)
- func (ar *ArCouchbase) SetKey(key string)
- func (ar *ArCouchbase) Truncate() (numRowsDeleted int, err error)
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)
Click to show internal directories.
Click to hide internal directories.