Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RdUser) predicate.RdUser
- func CreateTime(v time.Time) predicate.RdUser
- func CreateTimeEQ(v time.Time) predicate.RdUser
- func CreateTimeGT(v time.Time) predicate.RdUser
- func CreateTimeGTE(v time.Time) predicate.RdUser
- func CreateTimeIn(vs ...time.Time) predicate.RdUser
- func CreateTimeLT(v time.Time) predicate.RdUser
- func CreateTimeLTE(v time.Time) predicate.RdUser
- func CreateTimeNEQ(v time.Time) predicate.RdUser
- func CreateTimeNotIn(vs ...time.Time) predicate.RdUser
- func ID(id int32) predicate.RdUser
- func IDEQ(id int32) predicate.RdUser
- func IDGT(id int32) predicate.RdUser
- func IDGTE(id int32) predicate.RdUser
- func IDIn(ids ...int32) predicate.RdUser
- func IDLT(id int32) predicate.RdUser
- func IDLTE(id int32) predicate.RdUser
- func IDNEQ(id int32) predicate.RdUser
- func IDNotIn(ids ...int32) predicate.RdUser
- func Nick(v string) predicate.RdUser
- func NickContains(v string) predicate.RdUser
- func NickContainsFold(v string) predicate.RdUser
- func NickEQ(v string) predicate.RdUser
- func NickEqualFold(v string) predicate.RdUser
- func NickGT(v string) predicate.RdUser
- func NickGTE(v string) predicate.RdUser
- func NickHasPrefix(v string) predicate.RdUser
- func NickHasSuffix(v string) predicate.RdUser
- func NickIn(vs ...string) predicate.RdUser
- func NickLT(v string) predicate.RdUser
- func NickLTE(v string) predicate.RdUser
- func NickNEQ(v string) predicate.RdUser
- func NickNotIn(vs ...string) predicate.RdUser
- func Not(p predicate.RdUser) predicate.RdUser
- func Or(predicates ...predicate.RdUser) predicate.RdUser
- func Status(v int32) predicate.RdUser
- func StatusEQ(v int32) predicate.RdUser
- func StatusGT(v int32) predicate.RdUser
- func StatusGTE(v int32) predicate.RdUser
- func StatusIn(vs ...int32) predicate.RdUser
- func StatusLT(v int32) predicate.RdUser
- func StatusLTE(v int32) predicate.RdUser
- func StatusNEQ(v int32) predicate.RdUser
- func StatusNotIn(vs ...int32) predicate.RdUser
- func ValidColumn(column string) bool
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldNick, FieldStatus, FieldCreateTime, }
Columns holds all SQL columns for rduser fields.
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 NickContains ¶
NickContains applies the Contains predicate on the "nick" field.
func NickContainsFold ¶
NickContainsFold applies the ContainsFold predicate on the "nick" field.
func NickEqualFold ¶
NickEqualFold applies the EqualFold predicate on the "nick" field.
func NickHasPrefix ¶
NickHasPrefix applies the HasPrefix predicate on the "nick" field.
func NickHasSuffix ¶
NickHasSuffix applies the HasSuffix predicate on the "nick" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.