Documentation ¶
Index ¶
- func DBTag(f reflect.StructField) []string
- func FieldName(f reflect.StructField) string
- func GetTable(m any) string
- func GetTableSingular(m any) string
- func GetValue(v any, key string) (any, bool)
- func PrimaryKey(m any) []string
- type PrimaryKeyer
- type SQLResult
- type Tabler
- type ToSQLFunc
- type ToSQLer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBTag ¶
func DBTag(f reflect.StructField) []string
func FieldName ¶
func FieldName(f reflect.StructField) string
func GetTableSingular ¶
func PrimaryKey ¶
Types ¶
type PrimaryKeyer ¶
type PrimaryKeyer interface {
PrimaryKey() []string
}
Click to show internal directories.
Click to hide internal directories.