Documentation ¶
Index ¶
- func GetSQL(SQL string, inter *struct{}, params ...interface{}) error
- func InsertSQl(SQL string, params ...interface{}) (int64, error)
- func New()
- func ParseArrayStruct[T any](rows *sqlx.Rows) []T
- func ParseStruct[T any](rows *sqlx.Rows) (T, error)
- func ReadArray[T any](SQL string, params ...interface{}) ([]T, error)
- func ReadArrayStruct[T any](SQL string, params ...interface{}) ([]T, error)
- func ReadSql(SQL string, params ...interface{}) (*sqlx.Rows, error)
- func ReadStruct[T any](SQL string, params ...interface{}) (T, error)
- func ReadStructEmpty[T any](SQL string, params ...interface{}) T
- func ReadValue[T any](SQL string, params ...interface{}) (T, error)
- func ReadValueEmpty[T any](SQL string, params ...interface{}) T
- type DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseArrayStruct ¶
func ReadArrayStruct ¶
func ReadStruct ¶
func ReadStructEmpty ¶
func ReadValueEmpty ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.