Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NilExample) predicate.NilExample
- func ID(id int) predicate.NilExample
- func IDEQ(id int) predicate.NilExample
- func IDGT(id int) predicate.NilExample
- func IDGTE(id int) predicate.NilExample
- func IDIn(ids ...int) predicate.NilExample
- func IDLT(id int) predicate.NilExample
- func IDLTE(id int) predicate.NilExample
- func IDNEQ(id int) predicate.NilExample
- func IDNotIn(ids ...int) predicate.NilExample
- func Not(p predicate.NilExample) predicate.NilExample
- func Or(predicates ...predicate.NilExample) predicate.NilExample
- func StrNil(v string) predicate.NilExample
- func StrNilContains(v string) predicate.NilExample
- func StrNilContainsFold(v string) predicate.NilExample
- func StrNilEQ(v string) predicate.NilExample
- func StrNilEqualFold(v string) predicate.NilExample
- func StrNilGT(v string) predicate.NilExample
- func StrNilGTE(v string) predicate.NilExample
- func StrNilHasPrefix(v string) predicate.NilExample
- func StrNilHasSuffix(v string) predicate.NilExample
- func StrNilIn(vs ...string) predicate.NilExample
- func StrNilIsNil() predicate.NilExample
- func StrNilLT(v string) predicate.NilExample
- func StrNilLTE(v string) predicate.NilExample
- func StrNilNEQ(v string) predicate.NilExample
- func StrNilNotIn(vs ...string) predicate.NilExample
- func StrNilNotNil() predicate.NilExample
- func TimeNil(v time.Time) predicate.NilExample
- func TimeNilEQ(v time.Time) predicate.NilExample
- func TimeNilGT(v time.Time) predicate.NilExample
- func TimeNilGTE(v time.Time) predicate.NilExample
- func TimeNilIn(vs ...time.Time) predicate.NilExample
- func TimeNilIsNil() predicate.NilExample
- func TimeNilLT(v time.Time) predicate.NilExample
- func TimeNilLTE(v time.Time) predicate.NilExample
- func TimeNilNEQ(v time.Time) predicate.NilExample
- func TimeNilNotIn(vs ...time.Time) predicate.NilExample
- func TimeNilNotNil() predicate.NilExample
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the nilexample type in the database. Label = "nil_example" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldStrNil holds the string denoting the str_nil field in the database. FieldStrNil = "str_nil" // FieldTimeNil holds the string denoting the time_nil field in the database. FieldTimeNil = "time_nil" // Table holds the table name of the nilexample in the database. Table = "nil_examples" )
Variables ¶
var Columns = []string{ FieldID, FieldStrNil, FieldTimeNil, }
Columns holds all SQL columns for nilexample fields.
Functions ¶
func And ¶
func And(predicates ...predicate.NilExample) predicate.NilExample
And groups predicates with the AND operator between them.
func IDGTE ¶
func IDGTE(id int) predicate.NilExample
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NilExample
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NilExample
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NilExample
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NilExample
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.NilExample) predicate.NilExample
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NilExample) predicate.NilExample
Or groups predicates with the OR operator between them.
func StrNil ¶
func StrNil(v string) predicate.NilExample
StrNil applies equality check predicate on the "str_nil" field. It's identical to StrNilEQ.
func StrNilContains ¶
func StrNilContains(v string) predicate.NilExample
StrNilContains applies the Contains predicate on the "str_nil" field.
func StrNilContainsFold ¶
func StrNilContainsFold(v string) predicate.NilExample
StrNilContainsFold applies the ContainsFold predicate on the "str_nil" field.
func StrNilEQ ¶
func StrNilEQ(v string) predicate.NilExample
StrNilEQ applies the EQ predicate on the "str_nil" field.
func StrNilEqualFold ¶
func StrNilEqualFold(v string) predicate.NilExample
StrNilEqualFold applies the EqualFold predicate on the "str_nil" field.
func StrNilGT ¶
func StrNilGT(v string) predicate.NilExample
StrNilGT applies the GT predicate on the "str_nil" field.
func StrNilGTE ¶
func StrNilGTE(v string) predicate.NilExample
StrNilGTE applies the GTE predicate on the "str_nil" field.
func StrNilHasPrefix ¶
func StrNilHasPrefix(v string) predicate.NilExample
StrNilHasPrefix applies the HasPrefix predicate on the "str_nil" field.
func StrNilHasSuffix ¶
func StrNilHasSuffix(v string) predicate.NilExample
StrNilHasSuffix applies the HasSuffix predicate on the "str_nil" field.
func StrNilIn ¶
func StrNilIn(vs ...string) predicate.NilExample
StrNilIn applies the In predicate on the "str_nil" field.
func StrNilIsNil ¶
func StrNilIsNil() predicate.NilExample
StrNilIsNil applies the IsNil predicate on the "str_nil" field.
func StrNilLT ¶
func StrNilLT(v string) predicate.NilExample
StrNilLT applies the LT predicate on the "str_nil" field.
func StrNilLTE ¶
func StrNilLTE(v string) predicate.NilExample
StrNilLTE applies the LTE predicate on the "str_nil" field.
func StrNilNEQ ¶
func StrNilNEQ(v string) predicate.NilExample
StrNilNEQ applies the NEQ predicate on the "str_nil" field.
func StrNilNotIn ¶
func StrNilNotIn(vs ...string) predicate.NilExample
StrNilNotIn applies the NotIn predicate on the "str_nil" field.
func StrNilNotNil ¶
func StrNilNotNil() predicate.NilExample
StrNilNotNil applies the NotNil predicate on the "str_nil" field.
func TimeNil ¶
func TimeNil(v time.Time) predicate.NilExample
TimeNil applies equality check predicate on the "time_nil" field. It's identical to TimeNilEQ.
func TimeNilEQ ¶
func TimeNilEQ(v time.Time) predicate.NilExample
TimeNilEQ applies the EQ predicate on the "time_nil" field.
func TimeNilGT ¶
func TimeNilGT(v time.Time) predicate.NilExample
TimeNilGT applies the GT predicate on the "time_nil" field.
func TimeNilGTE ¶
func TimeNilGTE(v time.Time) predicate.NilExample
TimeNilGTE applies the GTE predicate on the "time_nil" field.
func TimeNilIn ¶
func TimeNilIn(vs ...time.Time) predicate.NilExample
TimeNilIn applies the In predicate on the "time_nil" field.
func TimeNilIsNil ¶
func TimeNilIsNil() predicate.NilExample
TimeNilIsNil applies the IsNil predicate on the "time_nil" field.
func TimeNilLT ¶
func TimeNilLT(v time.Time) predicate.NilExample
TimeNilLT applies the LT predicate on the "time_nil" field.
func TimeNilLTE ¶
func TimeNilLTE(v time.Time) predicate.NilExample
TimeNilLTE applies the LTE predicate on the "time_nil" field.
func TimeNilNEQ ¶
func TimeNilNEQ(v time.Time) predicate.NilExample
TimeNilNEQ applies the NEQ predicate on the "time_nil" field.
func TimeNilNotIn ¶
func TimeNilNotIn(vs ...time.Time) predicate.NilExample
TimeNilNotIn applies the NotIn predicate on the "time_nil" field.
func TimeNilNotNil ¶
func TimeNilNotNil() predicate.NilExample
TimeNilNotNil applies the NotNil predicate on the "time_nil" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.