Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ObjectType) predicate.ObjectType
- func Description(v string) predicate.ObjectType
- func DescriptionContains(v string) predicate.ObjectType
- func DescriptionContainsFold(v string) predicate.ObjectType
- func DescriptionEQ(v string) predicate.ObjectType
- func DescriptionEqualFold(v string) predicate.ObjectType
- func DescriptionGT(v string) predicate.ObjectType
- func DescriptionGTE(v string) predicate.ObjectType
- func DescriptionHasPrefix(v string) predicate.ObjectType
- func DescriptionHasSuffix(v string) predicate.ObjectType
- func DescriptionIn(vs ...string) predicate.ObjectType
- func DescriptionLT(v string) predicate.ObjectType
- func DescriptionLTE(v string) predicate.ObjectType
- func DescriptionNEQ(v string) predicate.ObjectType
- func DescriptionNotIn(vs ...string) predicate.ObjectType
- func HasFields() predicate.ObjectType
- func HasFieldsWith(preds ...predicate.FieldType) predicate.ObjectType
- func ID(id int) predicate.ObjectType
- func IDEQ(id int) predicate.ObjectType
- func IDGT(id int) predicate.ObjectType
- func IDGTE(id int) predicate.ObjectType
- func IDIn(ids ...int) predicate.ObjectType
- func IDLT(id int) predicate.ObjectType
- func IDLTE(id int) predicate.ObjectType
- func IDNEQ(id int) predicate.ObjectType
- func IDNotIn(ids ...int) predicate.ObjectType
- func Kind(v string) predicate.ObjectType
- func KindContains(v string) predicate.ObjectType
- func KindContainsFold(v string) predicate.ObjectType
- func KindEQ(v string) predicate.ObjectType
- func KindEqualFold(v string) predicate.ObjectType
- func KindGT(v string) predicate.ObjectType
- func KindGTE(v string) predicate.ObjectType
- func KindHasPrefix(v string) predicate.ObjectType
- func KindHasSuffix(v string) predicate.ObjectType
- func KindIn(vs ...string) predicate.ObjectType
- func KindLT(v string) predicate.ObjectType
- func KindLTE(v string) predicate.ObjectType
- func KindNEQ(v string) predicate.ObjectType
- func KindNotIn(vs ...string) predicate.ObjectType
- func Name(v string) predicate.ObjectType
- func NameContains(v string) predicate.ObjectType
- func NameContainsFold(v string) predicate.ObjectType
- func NameEQ(v string) predicate.ObjectType
- func NameEqualFold(v string) predicate.ObjectType
- func NameGT(v string) predicate.ObjectType
- func NameGTE(v string) predicate.ObjectType
- func NameHasPrefix(v string) predicate.ObjectType
- func NameHasSuffix(v string) predicate.ObjectType
- func NameIn(vs ...string) predicate.ObjectType
- func NameLT(v string) predicate.ObjectType
- func NameLTE(v string) predicate.ObjectType
- func NameNEQ(v string) predicate.ObjectType
- func NameNotIn(vs ...string) predicate.ObjectType
- func Not(p predicate.ObjectType) predicate.ObjectType
- func Or(predicates ...predicate.ObjectType) predicate.ObjectType
Constants ¶
const ( // Label holds the string label denoting the objecttype type in the database. Label = "object_type" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name vertex property in the database. FieldName = "name" // FieldKind holds the string denoting the kind vertex property in the database. FieldKind = "kind" // FieldDescription holds the string denoting the description vertex property in the database. FieldDescription = "description" // Table holds the table name of the objecttype in the database. Table = "object_types" // FieldsTable is the table the holds the fields relation/edge. FieldsTable = "field_types" // FieldsInverseTable is the table name for the FieldType entity. // It exists in this package in order to avoid circular dependency with the "fieldtype" package. FieldsInverseTable = "field_types" // FieldsColumn is the table column denoting the fields relation/edge. FieldsColumn = "object_type_fields" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldKind, FieldDescription, }
Columns holds all SQL columns for objecttype fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ObjectType) predicate.ObjectType
And groups list of predicates with the AND operator between them.
func Description ¶
func Description(v string) predicate.ObjectType
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ObjectType
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ObjectType
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ObjectType
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ObjectType
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ObjectType
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ObjectType
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ObjectType
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ObjectType
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ObjectType
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ObjectType
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ObjectType
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ObjectType
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ObjectType
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasFields ¶
func HasFields() predicate.ObjectType
HasFields applies the HasEdge predicate on the "fields" edge.
func HasFieldsWith ¶
func HasFieldsWith(preds ...predicate.FieldType) predicate.ObjectType
HasFieldsWith applies the HasEdge predicate on the "fields" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.ObjectType
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ObjectType
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ObjectType
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ObjectType
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ObjectType
IDNotIn applies the NotIn predicate on the ID field.
func Kind ¶
func Kind(v string) predicate.ObjectType
Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.
func KindContains ¶
func KindContains(v string) predicate.ObjectType
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
func KindContainsFold(v string) predicate.ObjectType
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEQ ¶
func KindEQ(v string) predicate.ObjectType
KindEQ applies the EQ predicate on the "kind" field.
func KindEqualFold ¶
func KindEqualFold(v string) predicate.ObjectType
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindGT ¶
func KindGT(v string) predicate.ObjectType
KindGT applies the GT predicate on the "kind" field.
func KindGTE ¶
func KindGTE(v string) predicate.ObjectType
KindGTE applies the GTE predicate on the "kind" field.
func KindHasPrefix ¶
func KindHasPrefix(v string) predicate.ObjectType
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
func KindHasSuffix(v string) predicate.ObjectType
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func KindIn ¶
func KindIn(vs ...string) predicate.ObjectType
KindIn applies the In predicate on the "kind" field.
func KindLT ¶
func KindLT(v string) predicate.ObjectType
KindLT applies the LT predicate on the "kind" field.
func KindLTE ¶
func KindLTE(v string) predicate.ObjectType
KindLTE applies the LTE predicate on the "kind" field.
func KindNEQ ¶
func KindNEQ(v string) predicate.ObjectType
KindNEQ applies the NEQ predicate on the "kind" field.
func KindNotIn ¶
func KindNotIn(vs ...string) predicate.ObjectType
KindNotIn applies the NotIn predicate on the "kind" field.
func Name ¶
func Name(v string) predicate.ObjectType
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ObjectType
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ObjectType
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ObjectType
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ObjectType
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ObjectType
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ObjectType
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ObjectType
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ObjectType
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ObjectType
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ObjectType
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ObjectType
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ObjectType
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ObjectType
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ObjectType) predicate.ObjectType
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ObjectType) predicate.ObjectType
Or groups list of predicates with the OR operator between them.
Types ¶
This section is empty.