Versions in this module Expand all Collapse all v0 v0.3.2 Jun 18, 2025 Changes in this version + type SQLite struct + func New(dbPath string) (*SQLite, error) + func (ds *SQLite) Add(ctx context.Context, entity datastore.Entity) error + func (ds *SQLite) BatchAdd(ctx context.Context, entities []datastore.Entity) error + func (ds *SQLite) Commit(ctx context.Context) error + func (ds *SQLite) Count(ctx context.Context, entity datastore.Entity, options *datastore.FilterOptions) (int64, error) + func (ds *SQLite) Delete(ctx context.Context, entity datastore.Entity) error + func (ds *SQLite) Get(ctx context.Context, entity datastore.Entity) error + func (ds *SQLite) Init() error + func (ds *SQLite) IsExist(ctx context.Context, entity datastore.Entity) (bool, error) + func (ds *SQLite) List(ctx context.Context, entity datastore.Entity, options *datastore.ListOptions) ([]datastore.Entity, error) + func (ds *SQLite) Put(ctx context.Context, entity datastore.Entity) error