Documentation ¶
Index ¶
- Constants
- type Pivot
- 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
- type Status
Constants ¶
View Source
const DefaultPivotUrl = `http://localhost:29029`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pivot ¶
func (*Pivot) Collection ¶
func (self *Pivot) Collection(name string) (*dal.Collection, error)
func (*Pivot) Collections ¶
func (*Pivot) CreateCollection ¶
func (self *Pivot) CreateCollection(def *dal.Collection) error
func (*Pivot) CreateRecord ¶
func (*Pivot) DeleteCollection ¶
func (*Pivot) DeleteRecords ¶
type QueryOptions ¶
Click to show internal directories.
Click to hide internal directories.