Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Profile) predicate.Profile
- func CreatedAt(v time.Time) predicate.Profile
- func CreatedAtEQ(v time.Time) predicate.Profile
- func CreatedAtGT(v time.Time) predicate.Profile
- func CreatedAtGTE(v time.Time) predicate.Profile
- func CreatedAtIn(vs ...time.Time) predicate.Profile
- func CreatedAtLT(v time.Time) predicate.Profile
- func CreatedAtLTE(v time.Time) predicate.Profile
- func CreatedAtNEQ(v time.Time) predicate.Profile
- func CreatedAtNotIn(vs ...time.Time) predicate.Profile
- func Email(v string) predicate.Profile
- func EmailConfirmedAt(v time.Time) predicate.Profile
- func EmailConfirmedAtEQ(v time.Time) predicate.Profile
- func EmailConfirmedAtGT(v time.Time) predicate.Profile
- func EmailConfirmedAtGTE(v time.Time) predicate.Profile
- func EmailConfirmedAtIn(vs ...time.Time) predicate.Profile
- func EmailConfirmedAtLT(v time.Time) predicate.Profile
- func EmailConfirmedAtLTE(v time.Time) predicate.Profile
- func EmailConfirmedAtNEQ(v time.Time) predicate.Profile
- func EmailConfirmedAtNotIn(vs ...time.Time) predicate.Profile
- func EmailContains(v string) predicate.Profile
- func EmailContainsFold(v string) predicate.Profile
- func EmailEQ(v string) predicate.Profile
- func EmailEqualFold(v string) predicate.Profile
- func EmailGT(v string) predicate.Profile
- func EmailGTE(v string) predicate.Profile
- func EmailHasPrefix(v string) predicate.Profile
- func EmailHasSuffix(v string) predicate.Profile
- func EmailIn(vs ...string) predicate.Profile
- func EmailLT(v string) predicate.Profile
- func EmailLTE(v string) predicate.Profile
- func EmailNEQ(v string) predicate.Profile
- func EmailNotIn(vs ...string) predicate.Profile
- func FullName(v string) predicate.Profile
- func FullNameContains(v string) predicate.Profile
- func FullNameContainsFold(v string) predicate.Profile
- func FullNameEQ(v string) predicate.Profile
- func FullNameEqualFold(v string) predicate.Profile
- func FullNameGT(v string) predicate.Profile
- func FullNameGTE(v string) predicate.Profile
- func FullNameHasPrefix(v string) predicate.Profile
- func FullNameHasSuffix(v string) predicate.Profile
- func FullNameIn(vs ...string) predicate.Profile
- func FullNameLT(v string) predicate.Profile
- func FullNameLTE(v string) predicate.Profile
- func FullNameNEQ(v string) predicate.Profile
- func FullNameNotIn(vs ...string) predicate.Profile
- func ID(id uuid.UUID) predicate.Profile
- func IDEQ(id uuid.UUID) predicate.Profile
- func IDGT(id uuid.UUID) predicate.Profile
- func IDGTE(id uuid.UUID) predicate.Profile
- func IDIn(ids ...uuid.UUID) predicate.Profile
- func IDLT(id uuid.UUID) predicate.Profile
- func IDLTE(id uuid.UUID) predicate.Profile
- func IDNEQ(id uuid.UUID) predicate.Profile
- func IDNotIn(ids ...uuid.UUID) predicate.Profile
- func IsSSOUser(v bool) predicate.Profile
- func IsSSOUserEQ(v bool) predicate.Profile
- func IsSSOUserNEQ(v bool) predicate.Profile
- func Language(v string) predicate.Profile
- func LanguageContains(v string) predicate.Profile
- func LanguageContainsFold(v string) predicate.Profile
- func LanguageEQ(v string) predicate.Profile
- func LanguageEqualFold(v string) predicate.Profile
- func LanguageGT(v string) predicate.Profile
- func LanguageGTE(v string) predicate.Profile
- func LanguageHasPrefix(v string) predicate.Profile
- func LanguageHasSuffix(v string) predicate.Profile
- func LanguageIn(vs ...string) predicate.Profile
- func LanguageLT(v string) predicate.Profile
- func LanguageLTE(v string) predicate.Profile
- func LanguageNEQ(v string) predicate.Profile
- func LanguageNotIn(vs ...string) predicate.Profile
- func Not(p predicate.Profile) predicate.Profile
- func Or(predicates ...predicate.Profile) predicate.Profile
- func Phone(v string) predicate.Profile
- func PhoneConfirmedAt(v time.Time) predicate.Profile
- func PhoneConfirmedAtEQ(v time.Time) predicate.Profile
- func PhoneConfirmedAtGT(v time.Time) predicate.Profile
- func PhoneConfirmedAtGTE(v time.Time) predicate.Profile
- func PhoneConfirmedAtIn(vs ...time.Time) predicate.Profile
- func PhoneConfirmedAtLT(v time.Time) predicate.Profile
- func PhoneConfirmedAtLTE(v time.Time) predicate.Profile
- func PhoneConfirmedAtNEQ(v time.Time) predicate.Profile
- func PhoneConfirmedAtNotIn(vs ...time.Time) predicate.Profile
- func PhoneContains(v string) predicate.Profile
- func PhoneContainsFold(v string) predicate.Profile
- func PhoneEQ(v string) predicate.Profile
- func PhoneEqualFold(v string) predicate.Profile
- func PhoneGT(v string) predicate.Profile
- func PhoneGTE(v string) predicate.Profile
- func PhoneHasPrefix(v string) predicate.Profile
- func PhoneHasSuffix(v string) predicate.Profile
- func PhoneIn(vs ...string) predicate.Profile
- func PhoneLT(v string) predicate.Profile
- func PhoneLTE(v string) predicate.Profile
- func PhoneNEQ(v string) predicate.Profile
- func PhoneNotIn(vs ...string) predicate.Profile
- func UpdatedAt(v time.Time) predicate.Profile
- func UpdatedAtEQ(v time.Time) predicate.Profile
- func UpdatedAtGT(v time.Time) predicate.Profile
- func UpdatedAtGTE(v time.Time) predicate.Profile
- func UpdatedAtIn(vs ...time.Time) predicate.Profile
- func UpdatedAtLT(v time.Time) predicate.Profile
- func UpdatedAtLTE(v time.Time) predicate.Profile
- func UpdatedAtNEQ(v time.Time) predicate.Profile
- func UpdatedAtNotIn(vs ...time.Time) predicate.Profile
- func UserID(v string) predicate.Profile
- func UserIDContains(v string) predicate.Profile
- func UserIDContainsFold(v string) predicate.Profile
- func UserIDEQ(v string) predicate.Profile
- func UserIDEqualFold(v string) predicate.Profile
- func UserIDGT(v string) predicate.Profile
- func UserIDGTE(v string) predicate.Profile
- func UserIDHasPrefix(v string) predicate.Profile
- func UserIDHasSuffix(v string) predicate.Profile
- func UserIDIn(vs ...string) predicate.Profile
- func UserIDLT(v string) predicate.Profile
- func UserIDLTE(v string) predicate.Profile
- func UserIDNEQ(v string) predicate.Profile
- func UserIDNotIn(vs ...string) predicate.Profile
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailConfirmedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFullName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsSSOUser(opts ...sql.OrderTermOption) OrderOption
- func ByLanguage(opts ...sql.OrderTermOption) OrderOption
- func ByPhone(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneConfirmedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the profile type in the database. Label = "profile" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldFullName holds the string denoting the full_name field in the database. FieldFullName = "full_name" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldEmailConfirmedAt holds the string denoting the email_confirmed_at field in the database. FieldEmailConfirmedAt = "email_confirmed_at" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldPhoneConfirmedAt holds the string denoting the phone_confirmed_at field in the database. FieldPhoneConfirmedAt = "phone_confirmed_at" // FieldLanguage holds the string denoting the language field in the database. FieldLanguage = "language" // FieldIsSSOUser holds the string denoting the is_sso_user field in the database. FieldIsSSOUser = "is_sso_user" // Table holds the table name of the profile in the database. Table = "profiles" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultFullName holds the default value on creation for the "full_name" field. DefaultFullName string // DefaultLanguage holds the default value on creation for the "language" field. DefaultLanguage string // DefaultIsSSOUser holds the default value on creation for the "is_sso_user" field. DefaultIsSSOUser bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldUserID, FieldFullName, FieldEmail, FieldEmailConfirmedAt, FieldPhone, FieldPhoneConfirmedAt, FieldLanguage, FieldIsSSOUser, }
Columns holds all SQL columns for profile fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailConfirmedAt ¶
EmailConfirmedAt applies equality check predicate on the "email_confirmed_at" field. It's identical to EmailConfirmedAtEQ.
func EmailConfirmedAtEQ ¶
EmailConfirmedAtEQ applies the EQ predicate on the "email_confirmed_at" field.
func EmailConfirmedAtGT ¶
EmailConfirmedAtGT applies the GT predicate on the "email_confirmed_at" field.
func EmailConfirmedAtGTE ¶
EmailConfirmedAtGTE applies the GTE predicate on the "email_confirmed_at" field.
func EmailConfirmedAtIn ¶
EmailConfirmedAtIn applies the In predicate on the "email_confirmed_at" field.
func EmailConfirmedAtLT ¶
EmailConfirmedAtLT applies the LT predicate on the "email_confirmed_at" field.
func EmailConfirmedAtLTE ¶
EmailConfirmedAtLTE applies the LTE predicate on the "email_confirmed_at" field.
func EmailConfirmedAtNEQ ¶
EmailConfirmedAtNEQ applies the NEQ predicate on the "email_confirmed_at" field.
func EmailConfirmedAtNotIn ¶
EmailConfirmedAtNotIn applies the NotIn predicate on the "email_confirmed_at" field.
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 FullName ¶
FullName applies equality check predicate on the "full_name" field. It's identical to FullNameEQ.
func FullNameContains ¶
FullNameContains applies the Contains predicate on the "full_name" field.
func FullNameContainsFold ¶
FullNameContainsFold applies the ContainsFold predicate on the "full_name" field.
func FullNameEQ ¶
FullNameEQ applies the EQ predicate on the "full_name" field.
func FullNameEqualFold ¶
FullNameEqualFold applies the EqualFold predicate on the "full_name" field.
func FullNameGT ¶
FullNameGT applies the GT predicate on the "full_name" field.
func FullNameGTE ¶
FullNameGTE applies the GTE predicate on the "full_name" field.
func FullNameHasPrefix ¶
FullNameHasPrefix applies the HasPrefix predicate on the "full_name" field.
func FullNameHasSuffix ¶
FullNameHasSuffix applies the HasSuffix predicate on the "full_name" field.
func FullNameIn ¶
FullNameIn applies the In predicate on the "full_name" field.
func FullNameLT ¶
FullNameLT applies the LT predicate on the "full_name" field.
func FullNameLTE ¶
FullNameLTE applies the LTE predicate on the "full_name" field.
func FullNameNEQ ¶
FullNameNEQ applies the NEQ predicate on the "full_name" field.
func FullNameNotIn ¶
FullNameNotIn applies the NotIn predicate on the "full_name" field.
func IsSSOUser ¶
IsSSOUser applies equality check predicate on the "is_sso_user" field. It's identical to IsSSOUserEQ.
func IsSSOUserEQ ¶
IsSSOUserEQ applies the EQ predicate on the "is_sso_user" field.
func IsSSOUserNEQ ¶
IsSSOUserNEQ applies the NEQ predicate on the "is_sso_user" field.
func Language ¶
Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.
func LanguageContains ¶
LanguageContains applies the Contains predicate on the "language" field.
func LanguageContainsFold ¶
LanguageContainsFold applies the ContainsFold predicate on the "language" field.
func LanguageEQ ¶
LanguageEQ applies the EQ predicate on the "language" field.
func LanguageEqualFold ¶
LanguageEqualFold applies the EqualFold predicate on the "language" field.
func LanguageGT ¶
LanguageGT applies the GT predicate on the "language" field.
func LanguageGTE ¶
LanguageGTE applies the GTE predicate on the "language" field.
func LanguageHasPrefix ¶
LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
func LanguageHasSuffix ¶
LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
func LanguageIn ¶
LanguageIn applies the In predicate on the "language" field.
func LanguageLT ¶
LanguageLT applies the LT predicate on the "language" field.
func LanguageLTE ¶
LanguageLTE applies the LTE predicate on the "language" field.
func LanguageNEQ ¶
LanguageNEQ applies the NEQ predicate on the "language" field.
func LanguageNotIn ¶
LanguageNotIn applies the NotIn predicate on the "language" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneConfirmedAt ¶
PhoneConfirmedAt applies equality check predicate on the "phone_confirmed_at" field. It's identical to PhoneConfirmedAtEQ.
func PhoneConfirmedAtEQ ¶
PhoneConfirmedAtEQ applies the EQ predicate on the "phone_confirmed_at" field.
func PhoneConfirmedAtGT ¶
PhoneConfirmedAtGT applies the GT predicate on the "phone_confirmed_at" field.
func PhoneConfirmedAtGTE ¶
PhoneConfirmedAtGTE applies the GTE predicate on the "phone_confirmed_at" field.
func PhoneConfirmedAtIn ¶
PhoneConfirmedAtIn applies the In predicate on the "phone_confirmed_at" field.
func PhoneConfirmedAtLT ¶
PhoneConfirmedAtLT applies the LT predicate on the "phone_confirmed_at" field.
func PhoneConfirmedAtLTE ¶
PhoneConfirmedAtLTE applies the LTE predicate on the "phone_confirmed_at" field.
func PhoneConfirmedAtNEQ ¶
PhoneConfirmedAtNEQ applies the NEQ predicate on the "phone_confirmed_at" field.
func PhoneConfirmedAtNotIn ¶
PhoneConfirmedAtNotIn applies the NotIn predicate on the "phone_confirmed_at" field.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEqualFold ¶
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDHasPrefix ¶
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" 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 Profile queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEmailConfirmedAt ¶
func ByEmailConfirmedAt(opts ...sql.OrderTermOption) OrderOption
ByEmailConfirmedAt orders the results by the email_confirmed_at field.
func ByFullName ¶
func ByFullName(opts ...sql.OrderTermOption) OrderOption
ByFullName orders the results by the full_name field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsSSOUser ¶
func ByIsSSOUser(opts ...sql.OrderTermOption) OrderOption
ByIsSSOUser orders the results by the is_sso_user field.
func ByLanguage ¶
func ByLanguage(opts ...sql.OrderTermOption) OrderOption
ByLanguage orders the results by the language field.
func ByPhone ¶
func ByPhone(opts ...sql.OrderTermOption) OrderOption
ByPhone orders the results by the phone field.
func ByPhoneConfirmedAt ¶
func ByPhoneConfirmedAt(opts ...sql.OrderTermOption) OrderOption
ByPhoneConfirmedAt orders the results by the phone_confirmed_at field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.