Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Timer) predicate.Timer
- func Cron(v string) predicate.Timer
- func CronContains(v string) predicate.Timer
- func CronContainsFold(v string) predicate.Timer
- func CronEQ(v string) predicate.Timer
- func CronEqualFold(v string) predicate.Timer
- func CronGT(v string) predicate.Timer
- func CronGTE(v string) predicate.Timer
- func CronHasPrefix(v string) predicate.Timer
- func CronHasSuffix(v string) predicate.Timer
- func CronIn(vs ...string) predicate.Timer
- func CronIsNil() predicate.Timer
- func CronLT(v string) predicate.Timer
- func CronLTE(v string) predicate.Timer
- func CronNEQ(v string) predicate.Timer
- func CronNotIn(vs ...string) predicate.Timer
- func CronNotNil() predicate.Timer
- func Data(v []byte) predicate.Timer
- func DataEQ(v []byte) predicate.Timer
- func DataGT(v []byte) predicate.Timer
- func DataGTE(v []byte) predicate.Timer
- func DataIn(vs ...[]byte) predicate.Timer
- func DataIsNil() predicate.Timer
- func DataLT(v []byte) predicate.Timer
- func DataLTE(v []byte) predicate.Timer
- func DataNEQ(v []byte) predicate.Timer
- func DataNotIn(vs ...[]byte) predicate.Timer
- func DataNotNil() predicate.Timer
- func Fn(v string) predicate.Timer
- func FnContains(v string) predicate.Timer
- func FnContainsFold(v string) predicate.Timer
- func FnEQ(v string) predicate.Timer
- func FnEqualFold(v string) predicate.Timer
- func FnGT(v string) predicate.Timer
- func FnGTE(v string) predicate.Timer
- func FnHasPrefix(v string) predicate.Timer
- func FnHasSuffix(v string) predicate.Timer
- func FnIn(vs ...string) predicate.Timer
- func FnLT(v string) predicate.Timer
- func FnLTE(v string) predicate.Timer
- func FnNEQ(v string) predicate.Timer
- func FnNotIn(vs ...string) predicate.Timer
- func ID(id int) predicate.Timer
- func IDEQ(id int) predicate.Timer
- func IDGT(id int) predicate.Timer
- func IDGTE(id int) predicate.Timer
- func IDIn(ids ...int) predicate.Timer
- func IDLT(id int) predicate.Timer
- func IDLTE(id int) predicate.Timer
- func IDNEQ(id int) predicate.Timer
- func IDNotIn(ids ...int) predicate.Timer
- func Name(v string) predicate.Timer
- func NameContains(v string) predicate.Timer
- func NameContainsFold(v string) predicate.Timer
- func NameEQ(v string) predicate.Timer
- func NameEqualFold(v string) predicate.Timer
- func NameGT(v string) predicate.Timer
- func NameGTE(v string) predicate.Timer
- func NameHasPrefix(v string) predicate.Timer
- func NameHasSuffix(v string) predicate.Timer
- func NameIn(vs ...string) predicate.Timer
- func NameLT(v string) predicate.Timer
- func NameLTE(v string) predicate.Timer
- func NameNEQ(v string) predicate.Timer
- func NameNotIn(vs ...string) predicate.Timer
- func Not(p predicate.Timer) predicate.Timer
- func One(v time.Time) predicate.Timer
- func OneEQ(v time.Time) predicate.Timer
- func OneGT(v time.Time) predicate.Timer
- func OneGTE(v time.Time) predicate.Timer
- func OneIn(vs ...time.Time) predicate.Timer
- func OneIsNil() predicate.Timer
- func OneLT(v time.Time) predicate.Timer
- func OneLTE(v time.Time) predicate.Timer
- func OneNEQ(v time.Time) predicate.Timer
- func OneNotIn(vs ...time.Time) predicate.Timer
- func OneNotNil() predicate.Timer
- func Or(predicates ...predicate.Timer) predicate.Timer
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the timer type in the database. Label = "timer" // 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" // FieldFn holds the string denoting the fn field in the database. FieldFn = "fn" // FieldCron holds the string denoting the cron field in the database. FieldCron = "cron" // FieldOne holds the string denoting the one field in the database. FieldOne = "one" // FieldData holds the string denoting the data field in the database. FieldData = "data" // Table holds the table name of the timer in the database. Table = "timers" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // FnValidator is a validator for the "fn" field. It is called by the builders before save. FnValidator func(string) error )
Columns holds all SQL columns for timer fields.
Functions ¶
func CronContains ¶
CronContains applies the Contains predicate on the "cron" field.
func CronContainsFold ¶
CronContainsFold applies the ContainsFold predicate on the "cron" field.
func CronEqualFold ¶
CronEqualFold applies the EqualFold predicate on the "cron" field.
func CronHasPrefix ¶
CronHasPrefix applies the HasPrefix predicate on the "cron" field.
func CronHasSuffix ¶
CronHasSuffix applies the HasSuffix predicate on the "cron" field.
func CronNotNil ¶
CronNotNil applies the NotNil predicate on the "cron" field.
func DataNotNil ¶
DataNotNil applies the NotNil predicate on the "data" field.
func FnContains ¶
FnContains applies the Contains predicate on the "fn" field.
func FnContainsFold ¶
FnContainsFold applies the ContainsFold predicate on the "fn" field.
func FnEqualFold ¶
FnEqualFold applies the EqualFold predicate on the "fn" field.
func FnHasPrefix ¶
FnHasPrefix applies the HasPrefix predicate on the "fn" field.
func FnHasSuffix ¶
FnHasSuffix applies the HasSuffix predicate on the "fn" 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.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.