Documentation ¶
Index ¶
- type Index
- type Options
- type Result
- type Session
- type Type
- func (t *Type) BulkInsert(docs []interface{}) ([]string, error)
- func (t *Type) Count() (int64, error)
- func (t *Type) DeleteById(id string) (error, bool)
- func (t *Type) Find() ([]*Result, error)
- func (t *Type) FindById(id string) (*Result, error)
- func (t *Type) Insert(doc interface{}) (string, error)
- func (t *Type) UpdateById(id string, doc interface{}) (error, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Id string Document *json.RawMessage }
type Type ¶
type Type struct { Index *Index // contains filtered or unexported fields }
func (*Type) BulkInsert ¶
Click to show internal directories.
Click to hide internal directories.