Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Account) predicate.Account
- func CreatedAt(v time.Time) predicate.Account
- func CreatedAtEQ(v time.Time) predicate.Account
- func CreatedAtGT(v time.Time) predicate.Account
- func CreatedAtGTE(v time.Time) predicate.Account
- func CreatedAtIn(vs ...time.Time) predicate.Account
- func CreatedAtLT(v time.Time) predicate.Account
- func CreatedAtLTE(v time.Time) predicate.Account
- func CreatedAtNEQ(v time.Time) predicate.Account
- func CreatedAtNotIn(vs ...time.Time) predicate.Account
- func DeletedAt(v time.Time) predicate.Account
- func DeletedAtEQ(v time.Time) predicate.Account
- func DeletedAtGT(v time.Time) predicate.Account
- func DeletedAtGTE(v time.Time) predicate.Account
- func DeletedAtIn(vs ...time.Time) predicate.Account
- func DeletedAtIsNil() predicate.Account
- func DeletedAtLT(v time.Time) predicate.Account
- func DeletedAtLTE(v time.Time) predicate.Account
- func DeletedAtNEQ(v time.Time) predicate.Account
- func DeletedAtNotIn(vs ...time.Time) predicate.Account
- func DeletedAtNotNil() predicate.Account
- func Email(v string) predicate.Account
- func EmailConfirmed(v bool) predicate.Account
- func EmailConfirmedEQ(v bool) predicate.Account
- func EmailConfirmedNEQ(v bool) predicate.Account
- func EmailContains(v string) predicate.Account
- func EmailContainsFold(v string) predicate.Account
- func EmailEQ(v string) predicate.Account
- func EmailEqualFold(v string) predicate.Account
- func EmailGT(v string) predicate.Account
- func EmailGTE(v string) predicate.Account
- func EmailHasPrefix(v string) predicate.Account
- func EmailHasSuffix(v string) predicate.Account
- func EmailIn(vs ...string) predicate.Account
- func EmailLT(v string) predicate.Account
- func EmailLTE(v string) predicate.Account
- func EmailNEQ(v string) predicate.Account
- func EmailNotIn(vs ...string) predicate.Account
- func HasAuthRoles() predicate.Account
- func HasAuthRolesWith(preds ...predicate.AuthRole) predicate.Account
- func HasAuthType() predicate.Account
- func HasAuthTypeWith(preds ...predicate.AuthType) predicate.Account
- func HasConnections() predicate.Account
- func HasConnectionsWith(preds ...predicate.Connection) predicate.Account
- func HasFriends() predicate.Account
- func HasFriendsWith(preds ...predicate.Account) predicate.Account
- func HasPortfolios() predicate.Account
- func HasPortfoliosWith(preds ...predicate.Portfolio) predicate.Account
- func ID(id pulid.PULID) predicate.Account
- func IDEQ(id pulid.PULID) predicate.Account
- func IDGT(id pulid.PULID) predicate.Account
- func IDGTE(id pulid.PULID) predicate.Account
- func IDIn(ids ...pulid.PULID) predicate.Account
- func IDLT(id pulid.PULID) predicate.Account
- func IDLTE(id pulid.PULID) predicate.Account
- func IDNEQ(id pulid.PULID) predicate.Account
- func IDNotIn(ids ...pulid.PULID) predicate.Account
- func Nickname(v string) predicate.Account
- func NicknameContains(v string) predicate.Account
- func NicknameContainsFold(v string) predicate.Account
- func NicknameEQ(v string) predicate.Account
- func NicknameEqualFold(v string) predicate.Account
- func NicknameGT(v string) predicate.Account
- func NicknameGTE(v string) predicate.Account
- func NicknameHasPrefix(v string) predicate.Account
- func NicknameHasSuffix(v string) predicate.Account
- func NicknameIn(vs ...string) predicate.Account
- func NicknameLT(v string) predicate.Account
- func NicknameLTE(v string) predicate.Account
- func NicknameNEQ(v string) predicate.Account
- func NicknameNotIn(vs ...string) predicate.Account
- func Not(p predicate.Account) predicate.Account
- func Or(predicates ...predicate.Account) predicate.Account
- func Password(v string) predicate.Account
- func PasswordContains(v string) predicate.Account
- func PasswordContainsFold(v string) predicate.Account
- func PasswordEQ(v string) predicate.Account
- func PasswordEqualFold(v string) predicate.Account
- func PasswordGT(v string) predicate.Account
- func PasswordGTE(v string) predicate.Account
- func PasswordHasPrefix(v string) predicate.Account
- func PasswordHasSuffix(v string) predicate.Account
- func PasswordIn(vs ...string) predicate.Account
- func PasswordIsNil() predicate.Account
- func PasswordLT(v string) predicate.Account
- func PasswordLTE(v string) predicate.Account
- func PasswordNEQ(v string) predicate.Account
- func PasswordNotIn(vs ...string) predicate.Account
- func PasswordNotNil() predicate.Account
- func PasswordUpdatedAt(v time.Time) predicate.Account
- func PasswordUpdatedAtEQ(v time.Time) predicate.Account
- func PasswordUpdatedAtGT(v time.Time) predicate.Account
- func PasswordUpdatedAtGTE(v time.Time) predicate.Account
- func PasswordUpdatedAtIn(vs ...time.Time) predicate.Account
- func PasswordUpdatedAtIsNil() predicate.Account
- func PasswordUpdatedAtLT(v time.Time) predicate.Account
- func PasswordUpdatedAtLTE(v time.Time) predicate.Account
- func PasswordUpdatedAtNEQ(v time.Time) predicate.Account
- func PasswordUpdatedAtNotIn(vs ...time.Time) predicate.Account
- func PasswordUpdatedAtNotNil() predicate.Account
- func ProfilePictureURL(v string) predicate.Account
- func ProfilePictureURLContains(v string) predicate.Account
- func ProfilePictureURLContainsFold(v string) predicate.Account
- func ProfilePictureURLEQ(v string) predicate.Account
- func ProfilePictureURLEqualFold(v string) predicate.Account
- func ProfilePictureURLGT(v string) predicate.Account
- func ProfilePictureURLGTE(v string) predicate.Account
- func ProfilePictureURLHasPrefix(v string) predicate.Account
- func ProfilePictureURLHasSuffix(v string) predicate.Account
- func ProfilePictureURLIn(vs ...string) predicate.Account
- func ProfilePictureURLIsNil() predicate.Account
- func ProfilePictureURLLT(v string) predicate.Account
- func ProfilePictureURLLTE(v string) predicate.Account
- func ProfilePictureURLNEQ(v string) predicate.Account
- func ProfilePictureURLNotIn(vs ...string) predicate.Account
- func ProfilePictureURLNotNil() predicate.Account
- func UpdatedAt(v time.Time) predicate.Account
- func UpdatedAtEQ(v time.Time) predicate.Account
- func UpdatedAtGT(v time.Time) predicate.Account
- func UpdatedAtGTE(v time.Time) predicate.Account
- func UpdatedAtIn(vs ...time.Time) predicate.Account
- func UpdatedAtLT(v time.Time) predicate.Account
- func UpdatedAtLTE(v time.Time) predicate.Account
- func UpdatedAtNEQ(v time.Time) predicate.Account
- func UpdatedAtNotIn(vs ...time.Time) predicate.Account
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the account type in the database. Label = "account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldEmailConfirmed holds the string denoting the email_confirmed field in the database. FieldEmailConfirmed = "email_confirmed" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldPasswordUpdatedAt holds the string denoting the password_updated_at field in the database. FieldPasswordUpdatedAt = "password_updated_at" // FieldProfilePictureURL holds the string denoting the profile_picture_url field in the database. FieldProfilePictureURL = "profile_picture_url" // EdgeFriends holds the string denoting the friends edge name in mutations. EdgeFriends = "friends" // EdgeAuthRoles holds the string denoting the auth_roles edge name in mutations. EdgeAuthRoles = "auth_roles" // EdgePortfolios holds the string denoting the portfolios edge name in mutations. EdgePortfolios = "portfolios" // EdgeAuthType holds the string denoting the auth_type edge name in mutations. EdgeAuthType = "auth_type" // EdgeConnections holds the string denoting the connections edge name in mutations. EdgeConnections = "connections" // Table holds the table name of the account in the database. Table = "accounts" // FriendsTable is the table that holds the friends relation/edge. The primary key declared below. FriendsTable = "account_friends" // AuthRolesTable is the table that holds the auth_roles relation/edge. The primary key declared below. AuthRolesTable = "account_auth_roles" // AuthRolesInverseTable is the table name for the AuthRole entity. // It exists in this package in order to avoid circular dependency with the "authrole" package. AuthRolesInverseTable = "auth_roles" // PortfoliosTable is the table that holds the portfolios relation/edge. PortfoliosTable = "portfolios" // PortfoliosInverseTable is the table name for the Portfolio entity. // It exists in this package in order to avoid circular dependency with the "portfolio" package. PortfoliosInverseTable = "portfolios" // PortfoliosColumn is the table column denoting the portfolios relation/edge. PortfoliosColumn = "account_id" // AuthTypeTable is the table that holds the auth_type relation/edge. AuthTypeTable = "accounts" // AuthTypeInverseTable is the table name for the AuthType entity. // It exists in this package in order to avoid circular dependency with the "authtype" package. AuthTypeInverseTable = "auth_types" // AuthTypeColumn is the table column denoting the auth_type relation/edge. AuthTypeColumn = "account_auth_type" // ConnectionsTable is the table that holds the connections relation/edge. ConnectionsTable = "connections" // ConnectionsInverseTable is the table name for the Connection entity. // It exists in this package in order to avoid circular dependency with the "connection" package. ConnectionsInverseTable = "connections" // ConnectionsColumn is the table column denoting the connections relation/edge. ConnectionsColumn = "account_id" )
Variables ¶
var ( // FriendsPrimaryKey and FriendsColumn2 are the table columns denoting the // primary key for the friends relation (M2M). FriendsPrimaryKey = []string{"account_id", "friend_id"} // AuthRolesPrimaryKey and AuthRolesColumn2 are the table columns denoting the // primary key for the auth_roles relation (M2M). AuthRolesPrimaryKey = []string{"account_id", "auth_role_id"} )
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 // UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field. UpdateDefaultDeletedAt func() time.Time // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // DefaultEmailConfirmed holds the default value on creation for the "email_confirmed" field. DefaultEmailConfirmed bool // PasswordValidator is a validator for the "password" field. It is called by the builders before save. PasswordValidator func(string) error // UpdateDefaultPasswordUpdatedAt holds the default value on update for the "password_updated_at" field. UpdateDefaultPasswordUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() pulid.PULID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldNickname, FieldEmail, FieldEmailConfirmed, FieldPassword, FieldPasswordUpdatedAt, FieldProfilePictureURL, }
Columns holds all SQL columns for account fields.
var ForeignKeys = []string{
"account_auth_type",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "accounts" table and are not defined as standalone fields in the schema.
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 DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailConfirmed ¶
EmailConfirmed applies equality check predicate on the "email_confirmed" field. It's identical to EmailConfirmedEQ.
func EmailConfirmedEQ ¶
EmailConfirmedEQ applies the EQ predicate on the "email_confirmed" field.
func EmailConfirmedNEQ ¶
EmailConfirmedNEQ applies the NEQ predicate on the "email_confirmed" 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 HasAuthRoles ¶
HasAuthRoles applies the HasEdge predicate on the "auth_roles" edge.
func HasAuthRolesWith ¶
HasAuthRolesWith applies the HasEdge predicate on the "auth_roles" edge with a given conditions (other predicates).
func HasAuthType ¶
HasAuthType applies the HasEdge predicate on the "auth_type" edge.
func HasAuthTypeWith ¶
HasAuthTypeWith applies the HasEdge predicate on the "auth_type" edge with a given conditions (other predicates).
func HasConnections ¶
HasConnections applies the HasEdge predicate on the "connections" edge.
func HasConnectionsWith ¶
func HasConnectionsWith(preds ...predicate.Connection) predicate.Account
HasConnectionsWith applies the HasEdge predicate on the "connections" edge with a given conditions (other predicates).
func HasFriends ¶
HasFriends applies the HasEdge predicate on the "friends" edge.
func HasFriendsWith ¶
HasFriendsWith applies the HasEdge predicate on the "friends" edge with a given conditions (other predicates).
func HasPortfolios ¶
HasPortfolios applies the HasEdge predicate on the "portfolios" edge.
func HasPortfoliosWith ¶
HasPortfoliosWith applies the HasEdge predicate on the "portfolios" edge with a given conditions (other predicates).
func Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordIsNil ¶
PasswordIsNil applies the IsNil predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func PasswordNotNil ¶
PasswordNotNil applies the NotNil predicate on the "password" field.
func PasswordUpdatedAt ¶
PasswordUpdatedAt applies equality check predicate on the "password_updated_at" field. It's identical to PasswordUpdatedAtEQ.
func PasswordUpdatedAtEQ ¶
PasswordUpdatedAtEQ applies the EQ predicate on the "password_updated_at" field.
func PasswordUpdatedAtGT ¶
PasswordUpdatedAtGT applies the GT predicate on the "password_updated_at" field.
func PasswordUpdatedAtGTE ¶
PasswordUpdatedAtGTE applies the GTE predicate on the "password_updated_at" field.
func PasswordUpdatedAtIn ¶
PasswordUpdatedAtIn applies the In predicate on the "password_updated_at" field.
func PasswordUpdatedAtIsNil ¶
PasswordUpdatedAtIsNil applies the IsNil predicate on the "password_updated_at" field.
func PasswordUpdatedAtLT ¶
PasswordUpdatedAtLT applies the LT predicate on the "password_updated_at" field.
func PasswordUpdatedAtLTE ¶
PasswordUpdatedAtLTE applies the LTE predicate on the "password_updated_at" field.
func PasswordUpdatedAtNEQ ¶
PasswordUpdatedAtNEQ applies the NEQ predicate on the "password_updated_at" field.
func PasswordUpdatedAtNotIn ¶
PasswordUpdatedAtNotIn applies the NotIn predicate on the "password_updated_at" field.
func PasswordUpdatedAtNotNil ¶
PasswordUpdatedAtNotNil applies the NotNil predicate on the "password_updated_at" field.
func ProfilePictureURL ¶
ProfilePictureURL applies equality check predicate on the "profile_picture_url" field. It's identical to ProfilePictureURLEQ.
func ProfilePictureURLContains ¶
ProfilePictureURLContains applies the Contains predicate on the "profile_picture_url" field.
func ProfilePictureURLContainsFold ¶
ProfilePictureURLContainsFold applies the ContainsFold predicate on the "profile_picture_url" field.
func ProfilePictureURLEQ ¶
ProfilePictureURLEQ applies the EQ predicate on the "profile_picture_url" field.
func ProfilePictureURLEqualFold ¶
ProfilePictureURLEqualFold applies the EqualFold predicate on the "profile_picture_url" field.
func ProfilePictureURLGT ¶
ProfilePictureURLGT applies the GT predicate on the "profile_picture_url" field.
func ProfilePictureURLGTE ¶
ProfilePictureURLGTE applies the GTE predicate on the "profile_picture_url" field.
func ProfilePictureURLHasPrefix ¶
ProfilePictureURLHasPrefix applies the HasPrefix predicate on the "profile_picture_url" field.
func ProfilePictureURLHasSuffix ¶
ProfilePictureURLHasSuffix applies the HasSuffix predicate on the "profile_picture_url" field.
func ProfilePictureURLIn ¶
ProfilePictureURLIn applies the In predicate on the "profile_picture_url" field.
func ProfilePictureURLIsNil ¶
ProfilePictureURLIsNil applies the IsNil predicate on the "profile_picture_url" field.
func ProfilePictureURLLT ¶
ProfilePictureURLLT applies the LT predicate on the "profile_picture_url" field.
func ProfilePictureURLLTE ¶
ProfilePictureURLLTE applies the LTE predicate on the "profile_picture_url" field.
func ProfilePictureURLNEQ ¶
ProfilePictureURLNEQ applies the NEQ predicate on the "profile_picture_url" field.
func ProfilePictureURLNotIn ¶
ProfilePictureURLNotIn applies the NotIn predicate on the "profile_picture_url" field.
func ProfilePictureURLNotNil ¶
ProfilePictureURLNotNil applies the NotNil predicate on the "profile_picture_url" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.