Documentation
¶
Index ¶
- func QueryWithParams(d *Datastore, q dsq.Query) (*sql.Rows, error)
- type Datastore
- func (d *Datastore) Batch() (ds.Batch, error)
- func (d *Datastore) Close() error
- func (d *Datastore) Delete(key ds.Key) error
- func (d *Datastore) Get(key ds.Key) (value []byte, err error)
- func (d *Datastore) GetSize(key ds.Key) (int, error)
- func (d *Datastore) Has(key ds.Key) (exists bool, err error)
- func (d *Datastore) Put(key ds.Key, value []byte) error
- func (d *Datastore) Query(q dsq.Query) (dsq.Results, error)
- func (d *Datastore) RawQuery(q dsq.Query) (dsq.Results, error)
- func (d *Datastore) Sync(key ds.Key) error
- type Queries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
func NewDatastore ¶
NewDatastore returns a new datastore
Click to show internal directories.
Click to hide internal directories.