Versions in this module Expand all Collapse all v1 v1.2.47 Dec 28, 2024 v1.2.46 Dec 28, 2024 v1.2.45 Dec 28, 2024 Changes in this version type Stmt + B kinternal.StringBuilder v1.2.44 Dec 25, 2024 Changes in this version + var ErrNotSchema = errors.New("v is not a schema") + type Column struct + Type string + type Config struct + ConnC *ConnC + NoTag *NoTag + QRetry int + Tag *Tag + UseNumber bool + UsePointer bool + type ConnC struct + IdleConns int + IdleSec int + LifeSec int + OpenConns int + type I interface + Close func() error + Create func(any) error + Delete func(any) error + Query func(any) error + Update func(any) error + func Open() (I, error) + type NoTag struct + ColumnCamelCase bool + ColumnSnakeCase bool + type PrimaryKey struct + Column string + Field string + type Schema interface + TName func() string + type Stmt struct + Column []string + ColumnField map[string]string + FieldColumn map[string]string + PK PrimaryKey + RowAffect int64 + Table string + Tv _Tv + Values [][]any + func (stmt *Stmt) AfterCreate(result sql.Result) *Stmt + func (stmt *Stmt) Execute() *Stmt + func (stmt *Stmt) Parse(v any) *Stmt + func (tx Stmt) Close() error + func (tx Stmt) Create(v any) (err error) + func (tx Stmt) Delete(v any) error + func (tx Stmt) NewInsert(v any) *Stmt + func (tx Stmt) Query(v any) error + func (tx Stmt) Update(v any) error + type Table struct + TName func() string + WithoutRowID bool + type Tag struct + Column string + Default string + Key string + NotNULL string + Precision string + PrimaryKey string + Scale string + Size string + Type string + Unique string