Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CleanUser) predicate.CleanUser
- func ID(v int) predicate.CleanUser
- func IDEQ(v int) predicate.CleanUser
- func IDGT(v int) predicate.CleanUser
- func IDGTE(v int) predicate.CleanUser
- func IDIn(vs ...int) predicate.CleanUser
- func IDLT(v int) predicate.CleanUser
- func IDLTE(v int) predicate.CleanUser
- func IDNEQ(v int) predicate.CleanUser
- func IDNotIn(vs ...int) predicate.CleanUser
- func Name(v string) predicate.CleanUser
- func NameContains(v string) predicate.CleanUser
- func NameContainsFold(v string) predicate.CleanUser
- func NameEQ(v string) predicate.CleanUser
- func NameEqualFold(v string) predicate.CleanUser
- func NameGT(v string) predicate.CleanUser
- func NameGTE(v string) predicate.CleanUser
- func NameHasPrefix(v string) predicate.CleanUser
- func NameHasSuffix(v string) predicate.CleanUser
- func NameIn(vs ...string) predicate.CleanUser
- func NameLT(v string) predicate.CleanUser
- func NameLTE(v string) predicate.CleanUser
- func NameNEQ(v string) predicate.CleanUser
- func NameNotIn(vs ...string) predicate.CleanUser
- func Not(p predicate.CleanUser) predicate.CleanUser
- func Or(predicates ...predicate.CleanUser) predicate.CleanUser
- func PublicInfo(v string) predicate.CleanUser
- func PublicInfoContains(v string) predicate.CleanUser
- func PublicInfoContainsFold(v string) predicate.CleanUser
- func PublicInfoEQ(v string) predicate.CleanUser
- func PublicInfoEqualFold(v string) predicate.CleanUser
- func PublicInfoGT(v string) predicate.CleanUser
- func PublicInfoGTE(v string) predicate.CleanUser
- func PublicInfoHasPrefix(v string) predicate.CleanUser
- func PublicInfoHasSuffix(v string) predicate.CleanUser
- func PublicInfoIn(vs ...string) predicate.CleanUser
- func PublicInfoLT(v string) predicate.CleanUser
- func PublicInfoLTE(v string) predicate.CleanUser
- func PublicInfoNEQ(v string) predicate.CleanUser
- func PublicInfoNotIn(vs ...string) predicate.CleanUser
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the clean_user type in the database. Label = "clean_user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldPublicInfo holds the string denoting the public_info field in the database. FieldPublicInfo = "public_info" // Table holds the table name of the clean_user in the database. Table = "clean_users" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldPublicInfo, }
Columns holds all SQL columns for clean_user fields.
Functions ¶
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PublicInfo ¶
PublicInfo applies equality check predicate on the "public_info" field. It's identical to PublicInfoEQ.
func PublicInfoContains ¶
PublicInfoContains applies the Contains predicate on the "public_info" field.
func PublicInfoContainsFold ¶
PublicInfoContainsFold applies the ContainsFold predicate on the "public_info" field.
func PublicInfoEQ ¶
PublicInfoEQ applies the EQ predicate on the "public_info" field.
func PublicInfoEqualFold ¶
PublicInfoEqualFold applies the EqualFold predicate on the "public_info" field.
func PublicInfoGT ¶
PublicInfoGT applies the GT predicate on the "public_info" field.
func PublicInfoGTE ¶
PublicInfoGTE applies the GTE predicate on the "public_info" field.
func PublicInfoHasPrefix ¶
PublicInfoHasPrefix applies the HasPrefix predicate on the "public_info" field.
func PublicInfoHasSuffix ¶
PublicInfoHasSuffix applies the HasSuffix predicate on the "public_info" field.
func PublicInfoIn ¶
PublicInfoIn applies the In predicate on the "public_info" field.
func PublicInfoLT ¶
PublicInfoLT applies the LT predicate on the "public_info" field.
func PublicInfoLTE ¶
PublicInfoLTE applies the LTE predicate on the "public_info" field.
func PublicInfoNEQ ¶
PublicInfoNEQ applies the NEQ predicate on the "public_info" field.
func PublicInfoNotIn ¶
PublicInfoNotIn applies the NotIn predicate on the "public_info" 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 CleanUser queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPublicInfo ¶
func ByPublicInfo(opts ...sql.OrderTermOption) OrderOption
ByPublicInfo orders the results by the public_info field.