Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserSettings) predicate.UserSettings
- func CalLimit(v float64) predicate.UserSettings
- func CalLimitEQ(v float64) predicate.UserSettings
- func CalLimitGT(v float64) predicate.UserSettings
- func CalLimitGTE(v float64) predicate.UserSettings
- func CalLimitIn(vs ...float64) predicate.UserSettings
- func CalLimitLT(v float64) predicate.UserSettings
- func CalLimitLTE(v float64) predicate.UserSettings
- func CalLimitNEQ(v float64) predicate.UserSettings
- func CalLimitNotIn(vs ...float64) predicate.UserSettings
- func DefaultActiveCal(v float64) predicate.UserSettings
- func DefaultActiveCalEQ(v float64) predicate.UserSettings
- func DefaultActiveCalGT(v float64) predicate.UserSettings
- func DefaultActiveCalGTE(v float64) predicate.UserSettings
- func DefaultActiveCalIn(vs ...float64) predicate.UserSettings
- func DefaultActiveCalLT(v float64) predicate.UserSettings
- func DefaultActiveCalLTE(v float64) predicate.UserSettings
- func DefaultActiveCalNEQ(v float64) predicate.UserSettings
- func DefaultActiveCalNotIn(vs ...float64) predicate.UserSettings
- func ID(id int) predicate.UserSettings
- func IDEQ(id int) predicate.UserSettings
- func IDGT(id int) predicate.UserSettings
- func IDGTE(id int) predicate.UserSettings
- func IDIn(ids ...int) predicate.UserSettings
- func IDLT(id int) predicate.UserSettings
- func IDLTE(id int) predicate.UserSettings
- func IDNEQ(id int) predicate.UserSettings
- func IDNotIn(ids ...int) predicate.UserSettings
- func Not(p predicate.UserSettings) predicate.UserSettings
- func Or(predicates ...predicate.UserSettings) predicate.UserSettings
- func Userid(v int64) predicate.UserSettings
- func UseridEQ(v int64) predicate.UserSettings
- func UseridGT(v int64) predicate.UserSettings
- func UseridGTE(v int64) predicate.UserSettings
- func UseridIn(vs ...int64) predicate.UserSettings
- func UseridLT(v int64) predicate.UserSettings
- func UseridLTE(v int64) predicate.UserSettings
- func UseridNEQ(v int64) predicate.UserSettings
- func UseridNotIn(vs ...int64) predicate.UserSettings
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the usersettings type in the database. Label = "user_settings" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserid holds the string denoting the userid field in the database. FieldUserid = "userid" // FieldCalLimit holds the string denoting the cal_limit field in the database. FieldCalLimit = "cal_limit" // FieldDefaultActiveCal holds the string denoting the default_active_cal field in the database. FieldDefaultActiveCal = "default_active_cal" // Table holds the table name of the usersettings in the database. Table = "user_settings" )
Variables ¶
var Columns = []string{ FieldID, FieldUserid, FieldCalLimit, FieldDefaultActiveCal, }
Columns holds all SQL columns for usersettings fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserSettings) predicate.UserSettings
And groups predicates with the AND operator between them.
func CalLimit ¶
func CalLimit(v float64) predicate.UserSettings
CalLimit applies equality check predicate on the "cal_limit" field. It's identical to CalLimitEQ.
func CalLimitEQ ¶
func CalLimitEQ(v float64) predicate.UserSettings
CalLimitEQ applies the EQ predicate on the "cal_limit" field.
func CalLimitGT ¶
func CalLimitGT(v float64) predicate.UserSettings
CalLimitGT applies the GT predicate on the "cal_limit" field.
func CalLimitGTE ¶
func CalLimitGTE(v float64) predicate.UserSettings
CalLimitGTE applies the GTE predicate on the "cal_limit" field.
func CalLimitIn ¶
func CalLimitIn(vs ...float64) predicate.UserSettings
CalLimitIn applies the In predicate on the "cal_limit" field.
func CalLimitLT ¶
func CalLimitLT(v float64) predicate.UserSettings
CalLimitLT applies the LT predicate on the "cal_limit" field.
func CalLimitLTE ¶
func CalLimitLTE(v float64) predicate.UserSettings
CalLimitLTE applies the LTE predicate on the "cal_limit" field.
func CalLimitNEQ ¶
func CalLimitNEQ(v float64) predicate.UserSettings
CalLimitNEQ applies the NEQ predicate on the "cal_limit" field.
func CalLimitNotIn ¶
func CalLimitNotIn(vs ...float64) predicate.UserSettings
CalLimitNotIn applies the NotIn predicate on the "cal_limit" field.
func DefaultActiveCal ¶
func DefaultActiveCal(v float64) predicate.UserSettings
DefaultActiveCal applies equality check predicate on the "default_active_cal" field. It's identical to DefaultActiveCalEQ.
func DefaultActiveCalEQ ¶
func DefaultActiveCalEQ(v float64) predicate.UserSettings
DefaultActiveCalEQ applies the EQ predicate on the "default_active_cal" field.
func DefaultActiveCalGT ¶
func DefaultActiveCalGT(v float64) predicate.UserSettings
DefaultActiveCalGT applies the GT predicate on the "default_active_cal" field.
func DefaultActiveCalGTE ¶
func DefaultActiveCalGTE(v float64) predicate.UserSettings
DefaultActiveCalGTE applies the GTE predicate on the "default_active_cal" field.
func DefaultActiveCalIn ¶
func DefaultActiveCalIn(vs ...float64) predicate.UserSettings
DefaultActiveCalIn applies the In predicate on the "default_active_cal" field.
func DefaultActiveCalLT ¶
func DefaultActiveCalLT(v float64) predicate.UserSettings
DefaultActiveCalLT applies the LT predicate on the "default_active_cal" field.
func DefaultActiveCalLTE ¶
func DefaultActiveCalLTE(v float64) predicate.UserSettings
DefaultActiveCalLTE applies the LTE predicate on the "default_active_cal" field.
func DefaultActiveCalNEQ ¶
func DefaultActiveCalNEQ(v float64) predicate.UserSettings
DefaultActiveCalNEQ applies the NEQ predicate on the "default_active_cal" field.
func DefaultActiveCalNotIn ¶
func DefaultActiveCalNotIn(vs ...float64) predicate.UserSettings
DefaultActiveCalNotIn applies the NotIn predicate on the "default_active_cal" field.
func IDGTE ¶
func IDGTE(id int) predicate.UserSettings
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserSettings
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserSettings
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserSettings
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserSettings
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.UserSettings) predicate.UserSettings
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserSettings) predicate.UserSettings
Or groups predicates with the OR operator between them.
func Userid ¶
func Userid(v int64) predicate.UserSettings
Userid applies equality check predicate on the "userid" field. It's identical to UseridEQ.
func UseridEQ ¶
func UseridEQ(v int64) predicate.UserSettings
UseridEQ applies the EQ predicate on the "userid" field.
func UseridGT ¶
func UseridGT(v int64) predicate.UserSettings
UseridGT applies the GT predicate on the "userid" field.
func UseridGTE ¶
func UseridGTE(v int64) predicate.UserSettings
UseridGTE applies the GTE predicate on the "userid" field.
func UseridIn ¶
func UseridIn(vs ...int64) predicate.UserSettings
UseridIn applies the In predicate on the "userid" field.
func UseridLT ¶
func UseridLT(v int64) predicate.UserSettings
UseridLT applies the LT predicate on the "userid" field.
func UseridLTE ¶
func UseridLTE(v int64) predicate.UserSettings
UseridLTE applies the LTE predicate on the "userid" field.
func UseridNEQ ¶
func UseridNEQ(v int64) predicate.UserSettings
UseridNEQ applies the NEQ predicate on the "userid" field.
func UseridNotIn ¶
func UseridNotIn(vs ...int64) predicate.UserSettings
UseridNotIn applies the NotIn predicate on the "userid" 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 UserSettings queries.
func ByCalLimit ¶
func ByCalLimit(opts ...sql.OrderTermOption) OrderOption
ByCalLimit orders the results by the cal_limit field.
func ByDefaultActiveCal ¶
func ByDefaultActiveCal(opts ...sql.OrderTermOption) OrderOption
ByDefaultActiveCal orders the results by the default_active_cal field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByUserid ¶
func ByUserid(opts ...sql.OrderTermOption) OrderOption
ByUserid orders the results by the userid field.