Documentation
¶
Index ¶
- func HasPrimaryFields(s Schema) bool
- type Field
- type Fields
- type ID
- func (id ID) Clone() ID
- func (id ID) GetValue(fieldName string) interface{}
- func (id ID) IsZero() bool
- func (s ID) Related(schema Schema, fieldName ...string) ID
- func (id ID) SetTo(obj interface{})
- func (id ID) String() string
- func (id ID) StringValues() (s []string)
- func (s ID) Value() any
- func (id ID) WithField(fieldName string, value any) ID
- func (id ID) Without(fieldName ...string) ID
- type IDSlice
- type Schema
- type SingleField
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasPrimaryFields ¶
Types ¶
type Fields ¶
type Fields []Field
func (Fields) FullDBNames ¶
func (Fields) QuotedDBNames ¶
func (Fields) QuotedFullDBNames ¶
type ID ¶
func (ID) StringValues ¶
type SingleField ¶
type SingleField string
func (SingleField) DBName ¶
func (s SingleField) DBName() string
func (SingleField) FullDBName ¶
func (s SingleField) FullDBName() string
func (SingleField) Name ¶
func (s SingleField) Name() string
func (SingleField) QuotedDBName ¶
func (s SingleField) QuotedDBName() string
func (SingleField) QuotedFullDBName ¶
func (s SingleField) QuotedFullDBName() string
Click to show internal directories.
Click to hide internal directories.