Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Direction) predicate.Direction
- func Description(v string) predicate.Direction
- func DescriptionContains(v string) predicate.Direction
- func DescriptionContainsFold(v string) predicate.Direction
- func DescriptionEQ(v string) predicate.Direction
- func DescriptionEqualFold(v string) predicate.Direction
- func DescriptionGT(v string) predicate.Direction
- func DescriptionGTE(v string) predicate.Direction
- func DescriptionHasPrefix(v string) predicate.Direction
- func DescriptionHasSuffix(v string) predicate.Direction
- func DescriptionIn(vs ...string) predicate.Direction
- func DescriptionLT(v string) predicate.Direction
- func DescriptionLTE(v string) predicate.Direction
- func DescriptionNEQ(v string) predicate.Direction
- func DescriptionNotIn(vs ...string) predicate.Direction
- func ID(id int) predicate.Direction
- func IDEQ(id int) predicate.Direction
- func IDGT(id int) predicate.Direction
- func IDGTE(id int) predicate.Direction
- func IDIn(ids ...int) predicate.Direction
- func IDLT(id int) predicate.Direction
- func IDLTE(id int) predicate.Direction
- func IDNEQ(id int) predicate.Direction
- func IDNotIn(ids ...int) predicate.Direction
- func Name(v string) predicate.Direction
- func NameContains(v string) predicate.Direction
- func NameContainsFold(v string) predicate.Direction
- func NameEQ(v string) predicate.Direction
- func NameEqualFold(v string) predicate.Direction
- func NameGT(v string) predicate.Direction
- func NameGTE(v string) predicate.Direction
- func NameHasPrefix(v string) predicate.Direction
- func NameHasSuffix(v string) predicate.Direction
- func NameIn(vs ...string) predicate.Direction
- func NameLT(v string) predicate.Direction
- func NameLTE(v string) predicate.Direction
- func NameNEQ(v string) predicate.Direction
- func NameNotIn(vs ...string) predicate.Direction
- func Not(p predicate.Direction) predicate.Direction
- func Or(predicates ...predicate.Direction) predicate.Direction
Constants ¶
const ( // Label holds the string label denoting the direction type in the database. Label = "direction" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDescription holds the string denoting the description vertex property in the database. FieldDescription = "description" // FieldName holds the string denoting the name vertex property in the database. FieldName = "name" // Table holds the table name of the direction in the database. Table = "directions" )
Variables ¶
var Columns = []string{ FieldID, FieldDescription, FieldName, }
Columns holds all SQL columns are direction fields.
Functions ¶
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
Types ¶
This section is empty.