usersettings

package
v0.0.0-...-d5587fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
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

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 ID

func ID(id int) predicate.UserSettings

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.UserSettings

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.UserSettings

IDGT applies the GT predicate on the ID 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 IDLT

func IDLT(id int) predicate.UserSettings

IDLT applies the LT 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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL