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 Group
- type Identifier
- type Literal
- type PrimaryKeyer
- type Raw
- type SQLResult
- type Tabler
- 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 Identifier ¶
type Identifier string
type PrimaryKeyer ¶
type PrimaryKeyer interface {
PrimaryKey() []string
}
Click to show internal directories.
Click to hide internal directories.