Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IntSID) predicate.IntSID
- func HasChildren() predicate.IntSID
- func HasChildrenWith(preds ...predicate.IntSID) predicate.IntSID
- func HasParent() predicate.IntSID
- func HasParentWith(preds ...predicate.IntSID) predicate.IntSID
- func ID(id sid.ID) predicate.IntSID
- func IDEQ(id sid.ID) predicate.IntSID
- func IDGT(id sid.ID) predicate.IntSID
- func IDGTE(id sid.ID) predicate.IntSID
- func IDIn(ids ...sid.ID) predicate.IntSID
- func IDLT(id sid.ID) predicate.IntSID
- func IDLTE(id sid.ID) predicate.IntSID
- func IDNEQ(id sid.ID) predicate.IntSID
- func IDNotIn(ids ...sid.ID) predicate.IntSID
- func Not(p predicate.IntSID) predicate.IntSID
- func Or(predicates ...predicate.IntSID) predicate.IntSID
- func ValidColumn(column string) bool
Constants ¶
View Source
const ( // Label holds the string label denoting the intsid type in the database. Label = "int_sid" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // Table holds the table name of the intsid in the database. Table = "int_si_ds" // ParentTable is the table that holds the parent relation/edge. ParentTable = "int_si_ds" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "int_sid_parent" // ChildrenTable is the table that holds the children relation/edge. ChildrenTable = "int_si_ds" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "int_sid_parent" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for intsid fields.
View Source
var ForeignKeys = []string{
"int_sid_parent",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "int_si_ds" table and are not defined as standalone fields in the schema.
Functions ¶
func HasChildren ¶
HasChildren applies the HasEdge predicate on the "children" edge.
func HasChildrenWith ¶
HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
func HasParentWith ¶
HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
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.