Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Link) predicate.Link
- func ID(id uuidc.UUIDC) predicate.Link
- func IDEQ(id uuidc.UUIDC) predicate.Link
- func IDGT(id uuidc.UUIDC) predicate.Link
- func IDGTE(id uuidc.UUIDC) predicate.Link
- func IDIn(ids ...uuidc.UUIDC) predicate.Link
- func IDLT(id uuidc.UUIDC) predicate.Link
- func IDLTE(id uuidc.UUIDC) predicate.Link
- func IDNEQ(id uuidc.UUIDC) predicate.Link
- func IDNotIn(ids ...uuidc.UUIDC) predicate.Link
- func Not(p predicate.Link) predicate.Link
- func Or(predicates ...predicate.Link) predicate.Link
- func ValidColumn(column string) bool
Constants ¶
View Source
const ( // Label holds the string label denoting the link type in the database. Label = "link" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldLinkInformation holds the string denoting the link_information field in the database. FieldLinkInformation = "link_information" // Table holds the table name of the link in the database. Table = "links" )
Variables ¶
View Source
var ( // DefaultLinkInformation holds the default value on creation for the "link_information" field. DefaultLinkInformation map[string]schema.LinkInformation // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuidc.UUIDC )
View Source
var Columns = []string{ FieldID, FieldLinkInformation, }
Columns holds all SQL columns for link fields.
Functions ¶
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.