rduser

package
v0.0.0-...-aa092f0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the rduser type in the database.
	Label = "rd_user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNick holds the string denoting the nick field in the database.
	FieldNick = "nick"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// Table holds the table name of the rduser in the database.
	Table = "rd_user"
)

Variables

View Source
var (
	// NickValidator is a validator for the "nick" field. It is called by the builders before save.
	NickValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus int32
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
)

Columns holds all SQL columns for rduser fields.

Functions

func And

func And(predicates ...predicate.RdUser) predicate.RdUser

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.RdUser

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.RdUser

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.RdUser

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.RdUser

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.RdUser

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.RdUser

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.RdUser

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.RdUser

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.RdUser

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func ID

func ID(id int32) predicate.RdUser

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int32) predicate.RdUser

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int32) predicate.RdUser

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int32) predicate.RdUser

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int32) predicate.RdUser

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int32) predicate.RdUser

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int32) predicate.RdUser

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int32) predicate.RdUser

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int32) predicate.RdUser

IDNotIn applies the NotIn predicate on the ID field.

func Nick

func Nick(v string) predicate.RdUser

Nick applies equality check predicate on the "nick" field. It's identical to NickEQ.

func NickContains

func NickContains(v string) predicate.RdUser

NickContains applies the Contains predicate on the "nick" field.

func NickContainsFold

func NickContainsFold(v string) predicate.RdUser

NickContainsFold applies the ContainsFold predicate on the "nick" field.

func NickEQ

func NickEQ(v string) predicate.RdUser

NickEQ applies the EQ predicate on the "nick" field.

func NickEqualFold

func NickEqualFold(v string) predicate.RdUser

NickEqualFold applies the EqualFold predicate on the "nick" field.

func NickGT

func NickGT(v string) predicate.RdUser

NickGT applies the GT predicate on the "nick" field.

func NickGTE

func NickGTE(v string) predicate.RdUser

NickGTE applies the GTE predicate on the "nick" field.

func NickHasPrefix

func NickHasPrefix(v string) predicate.RdUser

NickHasPrefix applies the HasPrefix predicate on the "nick" field.

func NickHasSuffix

func NickHasSuffix(v string) predicate.RdUser

NickHasSuffix applies the HasSuffix predicate on the "nick" field.

func NickIn

func NickIn(vs ...string) predicate.RdUser

NickIn applies the In predicate on the "nick" field.

func NickLT

func NickLT(v string) predicate.RdUser

NickLT applies the LT predicate on the "nick" field.

func NickLTE

func NickLTE(v string) predicate.RdUser

NickLTE applies the LTE predicate on the "nick" field.

func NickNEQ

func NickNEQ(v string) predicate.RdUser

NickNEQ applies the NEQ predicate on the "nick" field.

func NickNotIn

func NickNotIn(vs ...string) predicate.RdUser

NickNotIn applies the NotIn predicate on the "nick" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.RdUser) predicate.RdUser

Or groups predicates with the OR operator between them.

func Status

func Status(v int32) predicate.RdUser

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int32) predicate.RdUser

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v int32) predicate.RdUser

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int32) predicate.RdUser

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int32) predicate.RdUser

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v int32) predicate.RdUser

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int32) predicate.RdUser

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int32) predicate.RdUser

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int32) predicate.RdUser

StatusNotIn applies the NotIn predicate on the "status" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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