Versions in this module Expand all Collapse all v4 v4.0.2 Jun 16, 2021 Changes in this version + const DefaultPivotUrl + type Pivot struct + func New(url string) (*Pivot, error) + func (self *Pivot) Aggregate(collection string, query interface{}) (*dal.RecordSet, error) + func (self *Pivot) Collection(name string) (*dal.Collection, error) + func (self *Pivot) Collections() ([]string, error) + func (self *Pivot) CreateCollection(def *dal.Collection) error + func (self *Pivot) CreateRecord(collection string, records ...*dal.Record) (*dal.RecordSet, error) + func (self *Pivot) DeleteCollection(name string) error + func (self *Pivot) DeleteRecords(collection string, ids ...interface{}) error + func (self *Pivot) GetRecord(collection string, id interface{}) (*dal.Record, error) + func (self *Pivot) Query(collection string, query interface{}, options *QueryOptions) (*dal.RecordSet, error) + func (self *Pivot) Status() (*Status, error) + func (self *Pivot) UpdateRecord(collection string, records ...*dal.Record) (*dal.RecordSet, error) + type QueryOptions struct + Conjunction string + Fields []string + Limit int + Offset int + Sort []string + type Status = util.Status