Documentation ¶
Index ¶
- Constants
- type Sqliter
- func (s *Sqliter) Close()
- func (s *Sqliter) CreateTable(sample interface{}) error
- func (s *Sqliter) Delete(sample interface{}, where string, args ...interface{}) error
- func (s *Sqliter) DeleteFrom(table, where string, args ...interface{}) error
- func (s *Sqliter) Exec(q string, args ...interface{}) (sql.Result, error)
- func (s *Sqliter) Insert(obj interface{}) (int64, error)
- func (s *Sqliter) ReadMany(outPtr interface{}, where string, args ...interface{}) error
- func (s *Sqliter) ReadOne(outPtr interface{}, where string, args ...interface{}) error
- func (s *Sqliter) Update(obj interface{}, where string, args ...interface{}) error
- func (s *Sqliter) Upsert(obj interface{}, where string, args ...interface{}) (int64, error)
- type StructField
Constants ¶
View Source
const InMemory = ":memory:"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.