Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func Firstname(v string) predicate.User
- func FirstnameContains(v string) predicate.User
- func FirstnameContainsFold(v string) predicate.User
- func FirstnameEQ(v string) predicate.User
- func FirstnameEqualFold(v string) predicate.User
- func FirstnameGT(v string) predicate.User
- func FirstnameGTE(v string) predicate.User
- func FirstnameHasPrefix(v string) predicate.User
- func FirstnameHasSuffix(v string) predicate.User
- func FirstnameIn(vs ...string) predicate.User
- func FirstnameLT(v string) predicate.User
- func FirstnameLTE(v string) predicate.User
- func FirstnameNEQ(v string) predicate.User
- func FirstnameNotIn(vs ...string) predicate.User
- func Gpa(v int) predicate.User
- func GpaEQ(v int) predicate.User
- func GpaGT(v int) predicate.User
- func GpaGTE(v int) predicate.User
- func GpaIn(vs ...int) predicate.User
- func GpaLT(v int) predicate.User
- func GpaLTE(v int) predicate.User
- func GpaNEQ(v int) predicate.User
- func GpaNotIn(vs ...int) predicate.User
- func ID(id uuid.UUID) predicate.User
- func IDEQ(id uuid.UUID) predicate.User
- func IDGT(id uuid.UUID) predicate.User
- func IDGTE(id uuid.UUID) predicate.User
- func IDIn(ids ...uuid.UUID) predicate.User
- func IDLT(id uuid.UUID) predicate.User
- func IDLTE(id uuid.UUID) predicate.User
- func IDNEQ(id uuid.UUID) predicate.User
- func IDNotIn(ids ...uuid.UUID) predicate.User
- func Lastname(v string) predicate.User
- func LastnameContains(v string) predicate.User
- func LastnameContainsFold(v string) predicate.User
- func LastnameEQ(v string) predicate.User
- func LastnameEqualFold(v string) predicate.User
- func LastnameGT(v string) predicate.User
- func LastnameGTE(v string) predicate.User
- func LastnameHasPrefix(v string) predicate.User
- func LastnameHasSuffix(v string) predicate.User
- func LastnameIn(vs ...string) predicate.User
- func LastnameLT(v string) predicate.User
- func LastnameLTE(v string) predicate.User
- func LastnameNEQ(v string) predicate.User
- func LastnameNotIn(vs ...string) predicate.User
- func MailingAddress(v string) predicate.User
- func MailingAddressContains(v string) predicate.User
- func MailingAddressContainsFold(v string) predicate.User
- func MailingAddressEQ(v string) predicate.User
- func MailingAddressEqualFold(v string) predicate.User
- func MailingAddressGT(v string) predicate.User
- func MailingAddressGTE(v string) predicate.User
- func MailingAddressHasPrefix(v string) predicate.User
- func MailingAddressHasSuffix(v string) predicate.User
- func MailingAddressIn(vs ...string) predicate.User
- func MailingAddressLT(v string) predicate.User
- func MailingAddressLTE(v string) predicate.User
- func MailingAddressNEQ(v string) predicate.User
- func MailingAddressNotIn(vs ...string) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func StudentID(v string) predicate.User
- func StudentIDContains(v string) predicate.User
- func StudentIDContainsFold(v string) predicate.User
- func StudentIDEQ(v string) predicate.User
- func StudentIDEqualFold(v string) predicate.User
- func StudentIDGT(v string) predicate.User
- func StudentIDGTE(v string) predicate.User
- func StudentIDHasPrefix(v string) predicate.User
- func StudentIDHasSuffix(v string) predicate.User
- func StudentIDIn(vs ...string) predicate.User
- func StudentIDLT(v string) predicate.User
- func StudentIDLTE(v string) predicate.User
- func StudentIDNEQ(v string) predicate.User
- func StudentIDNotIn(vs ...string) 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" // FieldStudentID holds the string denoting the student_id field in the database. FieldStudentID = "student_id" // FieldFirstname holds the string denoting the firstname field in the database. FieldFirstname = "firstname" // FieldLastname holds the string denoting the lastname field in the database. FieldLastname = "lastname" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldMailingAddress holds the string denoting the mailing_address field in the database. FieldMailingAddress = "mailing_address" // FieldGpa holds the string denoting the gpa field in the database. FieldGpa = "gpa" // Table holds the table name of the user in the database. Table = "users" )
Variables ¶
var ( // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // GpaValidator is a validator for the "gpa" field. It is called by the builders before save. GpaValidator func(int) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldStudentID, FieldFirstname, FieldLastname, FieldEmail, FieldMailingAddress, FieldGpa, }
Columns holds all SQL columns for user fields.
Functions ¶
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func Firstname ¶
Firstname applies equality check predicate on the "firstname" field. It's identical to FirstnameEQ.
func FirstnameContains ¶
FirstnameContains applies the Contains predicate on the "firstname" field.
func FirstnameContainsFold ¶
FirstnameContainsFold applies the ContainsFold predicate on the "firstname" field.
func FirstnameEQ ¶
FirstnameEQ applies the EQ predicate on the "firstname" field.
func FirstnameEqualFold ¶
FirstnameEqualFold applies the EqualFold predicate on the "firstname" field.
func FirstnameGT ¶
FirstnameGT applies the GT predicate on the "firstname" field.
func FirstnameGTE ¶
FirstnameGTE applies the GTE predicate on the "firstname" field.
func FirstnameHasPrefix ¶
FirstnameHasPrefix applies the HasPrefix predicate on the "firstname" field.
func FirstnameHasSuffix ¶
FirstnameHasSuffix applies the HasSuffix predicate on the "firstname" field.
func FirstnameIn ¶
FirstnameIn applies the In predicate on the "firstname" field.
func FirstnameLT ¶
FirstnameLT applies the LT predicate on the "firstname" field.
func FirstnameLTE ¶
FirstnameLTE applies the LTE predicate on the "firstname" field.
func FirstnameNEQ ¶
FirstnameNEQ applies the NEQ predicate on the "firstname" field.
func FirstnameNotIn ¶
FirstnameNotIn applies the NotIn predicate on the "firstname" field.
func Lastname ¶
Lastname applies equality check predicate on the "lastname" field. It's identical to LastnameEQ.
func LastnameContains ¶
LastnameContains applies the Contains predicate on the "lastname" field.
func LastnameContainsFold ¶
LastnameContainsFold applies the ContainsFold predicate on the "lastname" field.
func LastnameEQ ¶
LastnameEQ applies the EQ predicate on the "lastname" field.
func LastnameEqualFold ¶
LastnameEqualFold applies the EqualFold predicate on the "lastname" field.
func LastnameGT ¶
LastnameGT applies the GT predicate on the "lastname" field.
func LastnameGTE ¶
LastnameGTE applies the GTE predicate on the "lastname" field.
func LastnameHasPrefix ¶
LastnameHasPrefix applies the HasPrefix predicate on the "lastname" field.
func LastnameHasSuffix ¶
LastnameHasSuffix applies the HasSuffix predicate on the "lastname" field.
func LastnameIn ¶
LastnameIn applies the In predicate on the "lastname" field.
func LastnameLT ¶
LastnameLT applies the LT predicate on the "lastname" field.
func LastnameLTE ¶
LastnameLTE applies the LTE predicate on the "lastname" field.
func LastnameNEQ ¶
LastnameNEQ applies the NEQ predicate on the "lastname" field.
func LastnameNotIn ¶
LastnameNotIn applies the NotIn predicate on the "lastname" field.
func MailingAddress ¶
MailingAddress applies equality check predicate on the "mailing_address" field. It's identical to MailingAddressEQ.
func MailingAddressContains ¶
MailingAddressContains applies the Contains predicate on the "mailing_address" field.
func MailingAddressContainsFold ¶
MailingAddressContainsFold applies the ContainsFold predicate on the "mailing_address" field.
func MailingAddressEQ ¶
MailingAddressEQ applies the EQ predicate on the "mailing_address" field.
func MailingAddressEqualFold ¶
MailingAddressEqualFold applies the EqualFold predicate on the "mailing_address" field.
func MailingAddressGT ¶
MailingAddressGT applies the GT predicate on the "mailing_address" field.
func MailingAddressGTE ¶
MailingAddressGTE applies the GTE predicate on the "mailing_address" field.
func MailingAddressHasPrefix ¶
MailingAddressHasPrefix applies the HasPrefix predicate on the "mailing_address" field.
func MailingAddressHasSuffix ¶
MailingAddressHasSuffix applies the HasSuffix predicate on the "mailing_address" field.
func MailingAddressIn ¶
MailingAddressIn applies the In predicate on the "mailing_address" field.
func MailingAddressLT ¶
MailingAddressLT applies the LT predicate on the "mailing_address" field.
func MailingAddressLTE ¶
MailingAddressLTE applies the LTE predicate on the "mailing_address" field.
func MailingAddressNEQ ¶
MailingAddressNEQ applies the NEQ predicate on the "mailing_address" field.
func MailingAddressNotIn ¶
MailingAddressNotIn applies the NotIn predicate on the "mailing_address" field.
func StudentID ¶
StudentID applies equality check predicate on the "student_id" field. It's identical to StudentIDEQ.
func StudentIDContains ¶
StudentIDContains applies the Contains predicate on the "student_id" field.
func StudentIDContainsFold ¶
StudentIDContainsFold applies the ContainsFold predicate on the "student_id" field.
func StudentIDEQ ¶
StudentIDEQ applies the EQ predicate on the "student_id" field.
func StudentIDEqualFold ¶
StudentIDEqualFold applies the EqualFold predicate on the "student_id" field.
func StudentIDGT ¶
StudentIDGT applies the GT predicate on the "student_id" field.
func StudentIDGTE ¶
StudentIDGTE applies the GTE predicate on the "student_id" field.
func StudentIDHasPrefix ¶
StudentIDHasPrefix applies the HasPrefix predicate on the "student_id" field.
func StudentIDHasSuffix ¶
StudentIDHasSuffix applies the HasSuffix predicate on the "student_id" field.
func StudentIDIn ¶
StudentIDIn applies the In predicate on the "student_id" field.
func StudentIDLT ¶
StudentIDLT applies the LT predicate on the "student_id" field.
func StudentIDLTE ¶
StudentIDLTE applies the LTE predicate on the "student_id" field.
func StudentIDNEQ ¶
StudentIDNEQ applies the NEQ predicate on the "student_id" field.
func StudentIDNotIn ¶
StudentIDNotIn applies the NotIn predicate on the "student_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.