Repository navigation
v2.0.0
v2.0.0
Breaking redesign: per-Insert configuration (TokenType, StructTag)
replaces package globals; Exec/ExecContext return (sql.Result, error);
narrow Execer/ExecerContext interfaces (sql.Conn works); errors wrap
ErrInvalidInsert instead of panicking; field skipping, col:"-", and
embedded-struct flattening; AtOrdinalTokenType for SQL Server.
Fixes: multi-row ordinal parameters number continuously across rows;
InsertContext honors its context; named-token multi-row inserts are
rejected. Zero dependencies. Requires Go 1.18+ (tested 1.18-1.27).