Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ValidMessage) predicate.ValidMessage
- func ID(id int) predicate.ValidMessage
- func IDEQ(id int) predicate.ValidMessage
- func IDGT(id int) predicate.ValidMessage
- func IDGTE(id int) predicate.ValidMessage
- func IDIn(ids ...int) predicate.ValidMessage
- func IDLT(id int) predicate.ValidMessage
- func IDLTE(id int) predicate.ValidMessage
- func IDNEQ(id int) predicate.ValidMessage
- func IDNotIn(ids ...int) predicate.ValidMessage
- func Name(v string) predicate.ValidMessage
- func NameContains(v string) predicate.ValidMessage
- func NameContainsFold(v string) predicate.ValidMessage
- func NameEQ(v string) predicate.ValidMessage
- func NameEqualFold(v string) predicate.ValidMessage
- func NameGT(v string) predicate.ValidMessage
- func NameGTE(v string) predicate.ValidMessage
- func NameHasPrefix(v string) predicate.ValidMessage
- func NameHasSuffix(v string) predicate.ValidMessage
- func NameIn(vs ...string) predicate.ValidMessage
- func NameLT(v string) predicate.ValidMessage
- func NameLTE(v string) predicate.ValidMessage
- func NameNEQ(v string) predicate.ValidMessage
- func NameNotIn(vs ...string) predicate.ValidMessage
- func Not(p predicate.ValidMessage) predicate.ValidMessage
- func Opti8(v int8) predicate.ValidMessage
- func Opti8EQ(v int8) predicate.ValidMessage
- func Opti8GT(v int8) predicate.ValidMessage
- func Opti8GTE(v int8) predicate.ValidMessage
- func Opti8In(vs ...int8) predicate.ValidMessage
- func Opti8IsNil() predicate.ValidMessage
- func Opti8LT(v int8) predicate.ValidMessage
- func Opti8LTE(v int8) predicate.ValidMessage
- func Opti8NEQ(v int8) predicate.ValidMessage
- func Opti8NotIn(vs ...int8) predicate.ValidMessage
- func Opti8NotNil() predicate.ValidMessage
- func Or(predicates ...predicate.ValidMessage) predicate.ValidMessage
- func Ts(v time.Time) predicate.ValidMessage
- func TsEQ(v time.Time) predicate.ValidMessage
- func TsGT(v time.Time) predicate.ValidMessage
- func TsGTE(v time.Time) predicate.ValidMessage
- func TsIn(vs ...time.Time) predicate.ValidMessage
- func TsLT(v time.Time) predicate.ValidMessage
- func TsLTE(v time.Time) predicate.ValidMessage
- func TsNEQ(v time.Time) predicate.ValidMessage
- func TsNotIn(vs ...time.Time) predicate.ValidMessage
- func U8(v uint8) predicate.ValidMessage
- func U8EQ(v uint8) predicate.ValidMessage
- func U8GT(v uint8) predicate.ValidMessage
- func U8GTE(v uint8) predicate.ValidMessage
- func U8In(vs ...uint8) predicate.ValidMessage
- func U8LT(v uint8) predicate.ValidMessage
- func U8LTE(v uint8) predicate.ValidMessage
- func U8NEQ(v uint8) predicate.ValidMessage
- func U8NotIn(vs ...uint8) predicate.ValidMessage
- func UUID(v uuid.UUID) predicate.ValidMessage
- func UUIDEQ(v uuid.UUID) predicate.ValidMessage
- func UUIDGT(v uuid.UUID) predicate.ValidMessage
- func UUIDGTE(v uuid.UUID) predicate.ValidMessage
- func UUIDIn(vs ...uuid.UUID) predicate.ValidMessage
- func UUIDLT(v uuid.UUID) predicate.ValidMessage
- func UUIDLTE(v uuid.UUID) predicate.ValidMessage
- func UUIDNEQ(v uuid.UUID) predicate.ValidMessage
- func UUIDNotIn(vs ...uuid.UUID) predicate.ValidMessage
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the validmessage type in the database. Label = "valid_message" // 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" // FieldTs holds the string denoting the ts field in the database. FieldTs = "ts" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // FieldU8 holds the string denoting the u8 field in the database. FieldU8 = "u8" // FieldOpti8 holds the string denoting the opti8 field in the database. FieldOpti8 = "opti8" // Table holds the table name of the validmessage in the database. Table = "valid_messages" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldTs, FieldUUID, FieldU8, FieldOpti8, }
Columns holds all SQL columns for validmessage fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ValidMessage) predicate.ValidMessage
And groups predicates with the AND operator between them.
func IDGTE ¶
func IDGTE(id int) predicate.ValidMessage
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ValidMessage
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ValidMessage
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ValidMessage
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ValidMessage
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.ValidMessage
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ValidMessage
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ValidMessage
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ValidMessage
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ValidMessage
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ValidMessage
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ValidMessage
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ValidMessage
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ValidMessage
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ValidMessage
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ValidMessage
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ValidMessage
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ValidMessage
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ValidMessage
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ValidMessage) predicate.ValidMessage
Not applies the not operator on the given predicate.
func Opti8 ¶
func Opti8(v int8) predicate.ValidMessage
Opti8 applies equality check predicate on the "opti8" field. It's identical to Opti8EQ.
func Opti8EQ ¶
func Opti8EQ(v int8) predicate.ValidMessage
Opti8EQ applies the EQ predicate on the "opti8" field.
func Opti8GT ¶
func Opti8GT(v int8) predicate.ValidMessage
Opti8GT applies the GT predicate on the "opti8" field.
func Opti8GTE ¶
func Opti8GTE(v int8) predicate.ValidMessage
Opti8GTE applies the GTE predicate on the "opti8" field.
func Opti8In ¶
func Opti8In(vs ...int8) predicate.ValidMessage
Opti8In applies the In predicate on the "opti8" field.
func Opti8IsNil ¶
func Opti8IsNil() predicate.ValidMessage
Opti8IsNil applies the IsNil predicate on the "opti8" field.
func Opti8LT ¶
func Opti8LT(v int8) predicate.ValidMessage
Opti8LT applies the LT predicate on the "opti8" field.
func Opti8LTE ¶
func Opti8LTE(v int8) predicate.ValidMessage
Opti8LTE applies the LTE predicate on the "opti8" field.
func Opti8NEQ ¶
func Opti8NEQ(v int8) predicate.ValidMessage
Opti8NEQ applies the NEQ predicate on the "opti8" field.
func Opti8NotIn ¶
func Opti8NotIn(vs ...int8) predicate.ValidMessage
Opti8NotIn applies the NotIn predicate on the "opti8" field.
func Opti8NotNil ¶
func Opti8NotNil() predicate.ValidMessage
Opti8NotNil applies the NotNil predicate on the "opti8" field.
func Or ¶
func Or(predicates ...predicate.ValidMessage) predicate.ValidMessage
Or groups predicates with the OR operator between them.
func Ts ¶
func Ts(v time.Time) predicate.ValidMessage
Ts applies equality check predicate on the "ts" field. It's identical to TsEQ.
func TsEQ ¶
func TsEQ(v time.Time) predicate.ValidMessage
TsEQ applies the EQ predicate on the "ts" field.
func TsGT ¶
func TsGT(v time.Time) predicate.ValidMessage
TsGT applies the GT predicate on the "ts" field.
func TsGTE ¶
func TsGTE(v time.Time) predicate.ValidMessage
TsGTE applies the GTE predicate on the "ts" field.
func TsIn ¶
func TsIn(vs ...time.Time) predicate.ValidMessage
TsIn applies the In predicate on the "ts" field.
func TsLT ¶
func TsLT(v time.Time) predicate.ValidMessage
TsLT applies the LT predicate on the "ts" field.
func TsLTE ¶
func TsLTE(v time.Time) predicate.ValidMessage
TsLTE applies the LTE predicate on the "ts" field.
func TsNEQ ¶
func TsNEQ(v time.Time) predicate.ValidMessage
TsNEQ applies the NEQ predicate on the "ts" field.
func TsNotIn ¶
func TsNotIn(vs ...time.Time) predicate.ValidMessage
TsNotIn applies the NotIn predicate on the "ts" field.
func U8 ¶
func U8(v uint8) predicate.ValidMessage
U8 applies equality check predicate on the "u8" field. It's identical to U8EQ.
func U8EQ ¶
func U8EQ(v uint8) predicate.ValidMessage
U8EQ applies the EQ predicate on the "u8" field.
func U8GT ¶
func U8GT(v uint8) predicate.ValidMessage
U8GT applies the GT predicate on the "u8" field.
func U8GTE ¶
func U8GTE(v uint8) predicate.ValidMessage
U8GTE applies the GTE predicate on the "u8" field.
func U8In ¶
func U8In(vs ...uint8) predicate.ValidMessage
U8In applies the In predicate on the "u8" field.
func U8LT ¶
func U8LT(v uint8) predicate.ValidMessage
U8LT applies the LT predicate on the "u8" field.
func U8LTE ¶
func U8LTE(v uint8) predicate.ValidMessage
U8LTE applies the LTE predicate on the "u8" field.
func U8NEQ ¶
func U8NEQ(v uint8) predicate.ValidMessage
U8NEQ applies the NEQ predicate on the "u8" field.
func U8NotIn ¶
func U8NotIn(vs ...uint8) predicate.ValidMessage
U8NotIn applies the NotIn predicate on the "u8" field.
func UUID ¶
func UUID(v uuid.UUID) predicate.ValidMessage
UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.
func UUIDEQ ¶
func UUIDEQ(v uuid.UUID) predicate.ValidMessage
UUIDEQ applies the EQ predicate on the "uuid" field.
func UUIDGT ¶
func UUIDGT(v uuid.UUID) predicate.ValidMessage
UUIDGT applies the GT predicate on the "uuid" field.
func UUIDGTE ¶
func UUIDGTE(v uuid.UUID) predicate.ValidMessage
UUIDGTE applies the GTE predicate on the "uuid" field.
func UUIDIn ¶
func UUIDIn(vs ...uuid.UUID) predicate.ValidMessage
UUIDIn applies the In predicate on the "uuid" field.
func UUIDLT ¶
func UUIDLT(v uuid.UUID) predicate.ValidMessage
UUIDLT applies the LT predicate on the "uuid" field.
func UUIDLTE ¶
func UUIDLTE(v uuid.UUID) predicate.ValidMessage
UUIDLTE applies the LTE predicate on the "uuid" field.
func UUIDNEQ ¶
func UUIDNEQ(v uuid.UUID) predicate.ValidMessage
UUIDNEQ applies the NEQ predicate on the "uuid" field.
func UUIDNotIn ¶
func UUIDNotIn(vs ...uuid.UUID) predicate.ValidMessage
UUIDNotIn applies the NotIn predicate on the "uuid" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.