Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Cycle) predicate.Cycle
- func CreateTime(v time.Time) predicate.Cycle
- func CreateTimeEQ(v time.Time) predicate.Cycle
- func CreateTimeGT(v time.Time) predicate.Cycle
- func CreateTimeGTE(v time.Time) predicate.Cycle
- func CreateTimeIn(vs ...time.Time) predicate.Cycle
- func CreateTimeLT(v time.Time) predicate.Cycle
- func CreateTimeLTE(v time.Time) predicate.Cycle
- func CreateTimeNEQ(v time.Time) predicate.Cycle
- func CreateTimeNotIn(vs ...time.Time) predicate.Cycle
- func Cycle(v float64) predicate.Cycle
- func CycleEQ(v float64) predicate.Cycle
- func CycleGT(v float64) predicate.Cycle
- func CycleGTE(v float64) predicate.Cycle
- func CycleIn(vs ...float64) predicate.Cycle
- func CycleLT(v float64) predicate.Cycle
- func CycleLTE(v float64) predicate.Cycle
- func CycleNEQ(v float64) predicate.Cycle
- func CycleNotIn(vs ...float64) predicate.Cycle
- func FkUserID(v uuid.UUID) predicate.Cycle
- func FkUserIDEQ(v uuid.UUID) predicate.Cycle
- func FkUserIDGT(v uuid.UUID) predicate.Cycle
- func FkUserIDGTE(v uuid.UUID) predicate.Cycle
- func FkUserIDIn(vs ...uuid.UUID) predicate.Cycle
- func FkUserIDLT(v uuid.UUID) predicate.Cycle
- func FkUserIDLTE(v uuid.UUID) predicate.Cycle
- func FkUserIDNEQ(v uuid.UUID) predicate.Cycle
- func FkUserIDNotIn(vs ...uuid.UUID) predicate.Cycle
- func ID(id uuid.UUID) predicate.Cycle
- func IDEQ(id uuid.UUID) predicate.Cycle
- func IDGT(id uuid.UUID) predicate.Cycle
- func IDGTE(id uuid.UUID) predicate.Cycle
- func IDIn(ids ...uuid.UUID) predicate.Cycle
- func IDLT(id uuid.UUID) predicate.Cycle
- func IDLTE(id uuid.UUID) predicate.Cycle
- func IDNEQ(id uuid.UUID) predicate.Cycle
- func IDNotIn(ids ...uuid.UUID) predicate.Cycle
- func Not(p predicate.Cycle) predicate.Cycle
- func Or(predicates ...predicate.Cycle) predicate.Cycle
- func UpdateTime(v time.Time) predicate.Cycle
- func UpdateTimeEQ(v time.Time) predicate.Cycle
- func UpdateTimeGT(v time.Time) predicate.Cycle
- func UpdateTimeGTE(v time.Time) predicate.Cycle
- func UpdateTimeIn(vs ...time.Time) predicate.Cycle
- func UpdateTimeLT(v time.Time) predicate.Cycle
- func UpdateTimeLTE(v time.Time) predicate.Cycle
- func UpdateTimeNEQ(v time.Time) predicate.Cycle
- func UpdateTimeNotIn(vs ...time.Time) predicate.Cycle
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the cycle type in the database. Label = "cycle" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFkUserID holds the string denoting the fk_user_id field in the database. FieldFkUserID = "fk_user_id" // FieldCycle holds the string denoting the cycle field in the database. FieldCycle = "cycle" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // Table holds the table name of the cycle in the database. Table = "cycles" )
Variables ¶
var Columns = []string{ FieldID, FieldFkUserID, FieldCycle, FieldCreateTime, FieldUpdateTime, }
Columns holds all SQL columns for cycle fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Cycle ¶
Cycle applies equality check predicate on the "cycle" field. It's identical to CycleEQ.
func CycleNotIn ¶
CycleNotIn applies the NotIn predicate on the "cycle" field.
func FkUserID ¶
FkUserID applies equality check predicate on the "fk_user_id" field. It's identical to FkUserIDEQ.
func FkUserIDEQ ¶
FkUserIDEQ applies the EQ predicate on the "fk_user_id" field.
func FkUserIDGT ¶
FkUserIDGT applies the GT predicate on the "fk_user_id" field.
func FkUserIDGTE ¶
FkUserIDGTE applies the GTE predicate on the "fk_user_id" field.
func FkUserIDIn ¶
FkUserIDIn applies the In predicate on the "fk_user_id" field.
func FkUserIDLT ¶
FkUserIDLT applies the LT predicate on the "fk_user_id" field.
func FkUserIDLTE ¶
FkUserIDLTE applies the LTE predicate on the "fk_user_id" field.
func FkUserIDNEQ ¶
FkUserIDNEQ applies the NEQ predicate on the "fk_user_id" field.
func FkUserIDNotIn ¶
FkUserIDNotIn applies the NotIn predicate on the "fk_user_id" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
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 Cycle queries.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByCycle ¶
func ByCycle(opts ...sql.OrderTermOption) OrderOption
ByCycle orders the results by the cycle field.
func ByFkUserID ¶
func ByFkUserID(opts ...sql.OrderTermOption) OrderOption
ByFkUserID orders the results by the fk_user_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.