Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MessageWithInts) predicate.MessageWithInts
- func ID(id int) predicate.MessageWithInts
- func IDEQ(id int) predicate.MessageWithInts
- func IDGT(id int) predicate.MessageWithInts
- func IDGTE(id int) predicate.MessageWithInts
- func IDIn(ids ...int) predicate.MessageWithInts
- func IDLT(id int) predicate.MessageWithInts
- func IDLTE(id int) predicate.MessageWithInts
- func IDNEQ(id int) predicate.MessageWithInts
- func IDNotIn(ids ...int) predicate.MessageWithInts
- func Not(p predicate.MessageWithInts) predicate.MessageWithInts
- func Or(predicates ...predicate.MessageWithInts) predicate.MessageWithInts
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the messagewithints type in the database. Label = "message_with_ints" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldInt32s holds the string denoting the int32s field in the database. FieldInt32s = "int32s" // FieldInt64s holds the string denoting the int64s field in the database. FieldInt64s = "int64s" // FieldUint32s holds the string denoting the uint32s field in the database. FieldUint32s = "uint32s" // FieldUint64s holds the string denoting the uint64s field in the database. FieldUint64s = "uint64s" // Table holds the table name of the messagewithints in the database. Table = "message_with_ints" )
Variables ¶
var Columns = []string{ FieldID, FieldInt32s, FieldInt64s, FieldUint32s, FieldUint64s, }
Columns holds all SQL columns for messagewithints fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MessageWithInts) predicate.MessageWithInts
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id int) predicate.MessageWithInts
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.MessageWithInts
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.MessageWithInts
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MessageWithInts
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.MessageWithInts
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MessageWithInts
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MessageWithInts
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MessageWithInts
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.MessageWithInts) predicate.MessageWithInts
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MessageWithInts) predicate.MessageWithInts
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 ¶
OrderOption defines the ordering options for the MessageWithInts queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.