Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func FullName(v string) predicate.User
- func FullNameContains(v string) predicate.User
- func FullNameContainsFold(v string) predicate.User
- func FullNameEQ(v string) predicate.User
- func FullNameEqualFold(v string) predicate.User
- func FullNameGT(v string) predicate.User
- func FullNameGTE(v string) predicate.User
- func FullNameHasPrefix(v string) predicate.User
- func FullNameHasSuffix(v string) predicate.User
- func FullNameIn(vs ...string) predicate.User
- func FullNameLT(v string) predicate.User
- func FullNameLTE(v string) predicate.User
- func FullNameNEQ(v string) predicate.User
- func FullNameNotIn(vs ...string) predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFullName holds the string denoting the fullname field in the database. FieldFullName = "full_name" // Table holds the table name of the user in the database. Table = "users" )
Variables ¶
var Columns = []string{ FieldID, FieldFullName, }
Columns holds all SQL columns for user fields.
var ( // FullNameValidator is a validator for the "fullName" field. It is called by the builders before save. FullNameValidator func(string) error )
Functions ¶
func FullName ¶
FullName applies equality check predicate on the "fullName" field. It's identical to FullNameEQ.
func FullNameContains ¶
FullNameContains applies the Contains predicate on the "fullName" field.
func FullNameContainsFold ¶
FullNameContainsFold applies the ContainsFold predicate on the "fullName" field.
func FullNameEQ ¶
FullNameEQ applies the EQ predicate on the "fullName" field.
func FullNameEqualFold ¶
FullNameEqualFold applies the EqualFold predicate on the "fullName" field.
func FullNameGT ¶
FullNameGT applies the GT predicate on the "fullName" field.
func FullNameGTE ¶
FullNameGTE applies the GTE predicate on the "fullName" field.
func FullNameHasPrefix ¶
FullNameHasPrefix applies the HasPrefix predicate on the "fullName" field.
func FullNameHasSuffix ¶
FullNameHasSuffix applies the HasSuffix predicate on the "fullName" field.
func FullNameIn ¶
FullNameIn applies the In predicate on the "fullName" field.
func FullNameLT ¶
FullNameLT applies the LT predicate on the "fullName" field.
func FullNameLTE ¶
FullNameLTE applies the LTE predicate on the "fullName" field.
func FullNameNEQ ¶
FullNameNEQ applies the NEQ predicate on the "fullName" field.
func FullNameNotIn ¶
FullNameNotIn applies the NotIn predicate on the "fullName" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.