Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MessageWithPackageName) predicate.MessageWithPackageName
- func ID(id int) predicate.MessageWithPackageName
- func IDEQ(id int) predicate.MessageWithPackageName
- func IDGT(id int) predicate.MessageWithPackageName
- func IDGTE(id int) predicate.MessageWithPackageName
- func IDIn(ids ...int) predicate.MessageWithPackageName
- func IDLT(id int) predicate.MessageWithPackageName
- func IDLTE(id int) predicate.MessageWithPackageName
- func IDNEQ(id int) predicate.MessageWithPackageName
- func IDNotIn(ids ...int) predicate.MessageWithPackageName
- func Name(v string) predicate.MessageWithPackageName
- func NameContains(v string) predicate.MessageWithPackageName
- func NameContainsFold(v string) predicate.MessageWithPackageName
- func NameEQ(v string) predicate.MessageWithPackageName
- func NameEqualFold(v string) predicate.MessageWithPackageName
- func NameGT(v string) predicate.MessageWithPackageName
- func NameGTE(v string) predicate.MessageWithPackageName
- func NameHasPrefix(v string) predicate.MessageWithPackageName
- func NameHasSuffix(v string) predicate.MessageWithPackageName
- func NameIn(vs ...string) predicate.MessageWithPackageName
- func NameLT(v string) predicate.MessageWithPackageName
- func NameLTE(v string) predicate.MessageWithPackageName
- func NameNEQ(v string) predicate.MessageWithPackageName
- func NameNotIn(vs ...string) predicate.MessageWithPackageName
- func Not(p predicate.MessageWithPackageName) predicate.MessageWithPackageName
- func Or(predicates ...predicate.MessageWithPackageName) predicate.MessageWithPackageName
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the messagewithpackagename type in the database. Label = "message_with_package_name" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // Table holds the table name of the messagewithpackagename in the database. Table = "message_with_package_names" )
Variables ¶
var Columns = []string{ FieldID, FieldName, }
Columns holds all SQL columns for messagewithpackagename fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MessageWithPackageName) predicate.MessageWithPackageName
And groups predicates with the AND operator between them.
func ID ¶
func ID(id int) predicate.MessageWithPackageName
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.MessageWithPackageName
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.MessageWithPackageName
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.MessageWithPackageName
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MessageWithPackageName
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.MessageWithPackageName
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MessageWithPackageName
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MessageWithPackageName
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MessageWithPackageName
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.MessageWithPackageName
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.MessageWithPackageName
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.MessageWithPackageName
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.MessageWithPackageName
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.MessageWithPackageName
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.MessageWithPackageName
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.MessageWithPackageName
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.MessageWithPackageName
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.MessageWithPackageName
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.MessageWithPackageName
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.MessageWithPackageName
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.MessageWithPackageName
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.MessageWithPackageName
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.MessageWithPackageName
NameNotIn applies the NotIn predicate on the "name" field.
func Or ¶
func Or(predicates ...predicate.MessageWithPackageName) predicate.MessageWithPackageName
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶ added in v0.4.1
OrderOption defines the ordering options for the MessageWithPackageName queries.
func ByID ¶ added in v0.4.0
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶ added in v0.4.0
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.