Versions in this module Expand all Collapse all v0 v0.1.0 Mar 14, 2024 Changes in this version + var ErrNoRows = errors.New("sqjson: no rows in result set") + func Bind(stmt *sqlite.Stmt, i int, v any) error + type SQL struct + Args []any + Query string + func ByID(id string) SQL + type Table struct + Name string + func NewTable[T any](name string) Table[T] + 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