Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RelationshipInfo) predicate.RelationshipInfo
- func ID(id int) predicate.RelationshipInfo
- func IDEQ(id int) predicate.RelationshipInfo
- func IDGT(id int) predicate.RelationshipInfo
- func IDGTE(id int) predicate.RelationshipInfo
- func IDIn(ids ...int) predicate.RelationshipInfo
- func IDLT(id int) predicate.RelationshipInfo
- func IDLTE(id int) predicate.RelationshipInfo
- func IDNEQ(id int) predicate.RelationshipInfo
- func IDNotIn(ids ...int) predicate.RelationshipInfo
- func Not(p predicate.RelationshipInfo) predicate.RelationshipInfo
- func Or(predicates ...predicate.RelationshipInfo) predicate.RelationshipInfo
- func Text(v string) predicate.RelationshipInfo
- func TextContains(v string) predicate.RelationshipInfo
- func TextContainsFold(v string) predicate.RelationshipInfo
- func TextEQ(v string) predicate.RelationshipInfo
- func TextEqualFold(v string) predicate.RelationshipInfo
- func TextGT(v string) predicate.RelationshipInfo
- func TextGTE(v string) predicate.RelationshipInfo
- func TextHasPrefix(v string) predicate.RelationshipInfo
- func TextHasSuffix(v string) predicate.RelationshipInfo
- func TextIn(vs ...string) predicate.RelationshipInfo
- func TextLT(v string) predicate.RelationshipInfo
- func TextLTE(v string) predicate.RelationshipInfo
- func TextNEQ(v string) predicate.RelationshipInfo
- func TextNotIn(vs ...string) predicate.RelationshipInfo
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the relationshipinfo type in the database. Label = "relationship_info" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldText holds the string denoting the text field in the database. FieldText = "text" // Table holds the table name of the relationshipinfo in the database. Table = "relationship_infos" )
Variables ¶
var Columns = []string{ FieldID, FieldText, }
Columns holds all SQL columns for relationshipinfo fields.
Functions ¶
func And ¶
func And(predicates ...predicate.RelationshipInfo) predicate.RelationshipInfo
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id int) predicate.RelationshipInfo
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.RelationshipInfo
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.RelationshipInfo
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.RelationshipInfo
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.RelationshipInfo
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.RelationshipInfo
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.RelationshipInfo
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.RelationshipInfo
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.RelationshipInfo) predicate.RelationshipInfo
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.RelationshipInfo) predicate.RelationshipInfo
Or groups predicates with the OR operator between them.
func Text ¶
func Text(v string) predicate.RelationshipInfo
Text applies equality check predicate on the "text" field. It's identical to TextEQ.
func TextContains ¶
func TextContains(v string) predicate.RelationshipInfo
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶
func TextContainsFold(v string) predicate.RelationshipInfo
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEQ ¶
func TextEQ(v string) predicate.RelationshipInfo
TextEQ applies the EQ predicate on the "text" field.
func TextEqualFold ¶
func TextEqualFold(v string) predicate.RelationshipInfo
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextGT ¶
func TextGT(v string) predicate.RelationshipInfo
TextGT applies the GT predicate on the "text" field.
func TextGTE ¶
func TextGTE(v string) predicate.RelationshipInfo
TextGTE applies the GTE predicate on the "text" field.
func TextHasPrefix ¶
func TextHasPrefix(v string) predicate.RelationshipInfo
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶
func TextHasSuffix(v string) predicate.RelationshipInfo
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func TextIn ¶
func TextIn(vs ...string) predicate.RelationshipInfo
TextIn applies the In predicate on the "text" field.
func TextLT ¶
func TextLT(v string) predicate.RelationshipInfo
TextLT applies the LT predicate on the "text" field.
func TextLTE ¶
func TextLTE(v string) predicate.RelationshipInfo
TextLTE applies the LTE predicate on the "text" field.
func TextNEQ ¶
func TextNEQ(v string) predicate.RelationshipInfo
TextNEQ applies the NEQ predicate on the "text" field.
func TextNotIn ¶
func TextNotIn(vs ...string) predicate.RelationshipInfo
TextNotIn applies the NotIn predicate on the "text" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.