Documentation
¶
Index ¶
- func Close() error
- func Init(sessionMode bool, ctx ...context.Context)
- func Select(fileName, id string) (*store.Item, error)
- func Upsert(fileName, id string, unit *store.Item) error
- type Pull
- func (p *Pull) Add(fileName string) (*SQL, error)
- func (p *Pull) Close() error
- func (p *Pull) DeleteOld() (int64, error)
- func (p *Pull) Get(fileName string) (*SQL, error)
- func (p *Pull) Select(fileName, id string) (*store.Item, error)
- func (p *Pull) Upsert(fileName, id string, unit *store.Item) error
- type Record
- type SQL
- func (s *SQL) Close() error
- func (s *SQL) CreateTable() error
- func (s *SQL) DeleteOld(requested map[string]bool) (int64, error)
- func (s *SQL) Open() error
- func (s *SQL) Select(id string) (*store.Item, error)
- func (s *SQL) SelectAll() ([]*Record, error)
- func (s *SQL) SelectAllID() ([]string, error)
- func (s *SQL) Upsert(id string, unit *store.Item) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pull ¶
type Pull struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.