Documentation ¶
Index ¶
- func EmptyStringToNullString(value string) sql.NullString
- func ExecInsertSql(session sqlx.Session, pre func() (string, []interface{}, error), ...) error
- func ExecSql(session sqlx.Session, pre func() (string, []interface{}, error), ...) error
- func ExecSqlCtx(ctx context.Context, session sqlx.Session, ...) error
- func QueryRow(session sqlx.Session, pre func() (string, []interface{}, error), ...) error
- func QueryRowCtx(ctx context.Context, session sqlx.Session, ...) error
- func QueryRowCtxMust(ctx context.Context, session sqlx.Session, ...) error
- func QueryRowMust(session sqlx.Session, pre func() (string, []interface{}, error), ...) error
- func QueryRows(session sqlx.Session, pre func() (string, []interface{}, error), ...) error
- func QueryRowsCtx(ctx context.Context, session sqlx.Session, ...) error
- func ToNullBool(value *bool) sql.NullBool
- func ToNullInt64[I ~int | ~int64 | ~int8 | ~int32 | ~int16](value *I) sql.NullInt64
- func ToNullString(value *string) sql.NullString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyStringToNullString ¶ added in v1.1.4
func EmptyStringToNullString(value string) sql.NullString
func ExecInsertSql ¶
func ExecSqlCtx ¶
func QueryRowCtx ¶
func QueryRowCtxMust ¶
func QueryRowMust ¶
func QueryRowsCtx ¶
func ToNullBool ¶ added in v1.1.3
func ToNullInt64 ¶ added in v1.1.3
func ToNullString ¶ added in v1.1.3
func ToNullString(value *string) sql.NullString
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.