Versions in this module Expand all Collapse all v1 v1.0.0 Jul 26, 2024 Changes in this version + func PrepareNamedQuery[T any](ctx context.Context, db *sqlx.DB, tableName string, val T, skipCols ...string) (*sqlx.NamedStmt, error) + type Columns []StructColumn[T] + func StructColumns[T any](mVal T) (Columns[T], error) + func (c Columns[T]) DBs() []string + func (c Columns[T]) PKs() []string + type StructColumn struct + DBName string + IsPK bool + StructName string + type Upserter interface + UpsertPrimaryKeyColumns func() []string + UpsertSkipColumns func() []string