Documentation
¶
Index ¶
- Variables
- func Bind(stmt *sqlite.Stmt, i int, v any) error
- type SQL
- type Table
- func (t *Table[T]) All(conn *sqlite.Conn, sqls ...SQL) ([]*T, error)
- func (t *Table[T]) Delete(conn *sqlite.Conn, sqls ...SQL) error
- func (t *Table[T]) Insert(conn *sqlite.Conn, doc *T) (*T, error)
- func (t *Table[T]) Migrate(conn *sqlite.Conn) error
- func (t *Table[T]) One(conn *sqlite.Conn, sqls ...SQL) (*T, error)
- func (t *Table[T]) Patch(conn *sqlite.Conn, doc *T, sqls ...SQL) error
- func (t *Table[T]) Replace(conn *sqlite.Conn, doc *T, sqls ...SQL) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRows = errors.New("sqjson: no rows in result set")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.