Versions in this module Expand all Collapse all v0 v0.0.2 Dec 30, 2024 Changes in this version type Datastore + func (d *Datastore) QueryExtended(ctx context.Context, q dsextensions.QueryExt) (dsq.Results, error) + func (ds *Datastore) NewTransactionExtended(ctx context.Context, _ bool) (dsextensions.TxnExt, error) v0.0.1 Dec 2, 2024 Changes in this version + var ErrNotImplemented = fmt.Errorf("not implemented") + type Datastore struct + func NewDatastore(db *sql.DB, queries Queries) *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 (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 + func (ds *Datastore) NewTransaction(ctx context.Context, _ bool) (datastore.Txn, error) + type Queries interface + Delete func() string + Exists func() string + Get func() string + GetSize func() string + Limit func() string + Offset func() string + Prefix func() string + Put func() string + Query func() string