Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserSetting) predicate.UserSetting
- func CreatedAt(v time.Time) predicate.UserSetting
- func CreatedAtEQ(v time.Time) predicate.UserSetting
- func CreatedAtGT(v time.Time) predicate.UserSetting
- func CreatedAtGTE(v time.Time) predicate.UserSetting
- func CreatedAtIn(vs ...time.Time) predicate.UserSetting
- func CreatedAtIsNil() predicate.UserSetting
- func CreatedAtLT(v time.Time) predicate.UserSetting
- func CreatedAtLTE(v time.Time) predicate.UserSetting
- func CreatedAtNEQ(v time.Time) predicate.UserSetting
- func CreatedAtNotIn(vs ...time.Time) predicate.UserSetting
- func CreatedAtNotNil() predicate.UserSetting
- func CreatedBy(v string) predicate.UserSetting
- func CreatedByContains(v string) predicate.UserSetting
- func CreatedByContainsFold(v string) predicate.UserSetting
- func CreatedByEQ(v string) predicate.UserSetting
- func CreatedByEqualFold(v string) predicate.UserSetting
- func CreatedByGT(v string) predicate.UserSetting
- func CreatedByGTE(v string) predicate.UserSetting
- func CreatedByHasPrefix(v string) predicate.UserSetting
- func CreatedByHasSuffix(v string) predicate.UserSetting
- func CreatedByIn(vs ...string) predicate.UserSetting
- func CreatedByIsNil() predicate.UserSetting
- func CreatedByLT(v string) predicate.UserSetting
- func CreatedByLTE(v string) predicate.UserSetting
- func CreatedByNEQ(v string) predicate.UserSetting
- func CreatedByNotIn(vs ...string) predicate.UserSetting
- func CreatedByNotNil() predicate.UserSetting
- func DeletedAt(v time.Time) predicate.UserSetting
- func DeletedAtEQ(v time.Time) predicate.UserSetting
- func DeletedAtGT(v time.Time) predicate.UserSetting
- func DeletedAtGTE(v time.Time) predicate.UserSetting
- func DeletedAtIn(vs ...time.Time) predicate.UserSetting
- func DeletedAtIsNil() predicate.UserSetting
- func DeletedAtLT(v time.Time) predicate.UserSetting
- func DeletedAtLTE(v time.Time) predicate.UserSetting
- func DeletedAtNEQ(v time.Time) predicate.UserSetting
- func DeletedAtNotIn(vs ...time.Time) predicate.UserSetting
- func DeletedAtNotNil() predicate.UserSetting
- func DeletedBy(v string) predicate.UserSetting
- func DeletedByContains(v string) predicate.UserSetting
- func DeletedByContainsFold(v string) predicate.UserSetting
- func DeletedByEQ(v string) predicate.UserSetting
- func DeletedByEqualFold(v string) predicate.UserSetting
- func DeletedByGT(v string) predicate.UserSetting
- func DeletedByGTE(v string) predicate.UserSetting
- func DeletedByHasPrefix(v string) predicate.UserSetting
- func DeletedByHasSuffix(v string) predicate.UserSetting
- func DeletedByIn(vs ...string) predicate.UserSetting
- func DeletedByIsNil() predicate.UserSetting
- func DeletedByLT(v string) predicate.UserSetting
- func DeletedByLTE(v string) predicate.UserSetting
- func DeletedByNEQ(v string) predicate.UserSetting
- func DeletedByNotIn(vs ...string) predicate.UserSetting
- func DeletedByNotNil() predicate.UserSetting
- func EmailConfirmed(v bool) predicate.UserSetting
- func EmailConfirmedEQ(v bool) predicate.UserSetting
- func EmailConfirmedNEQ(v bool) predicate.UserSetting
- func HasDefaultOrg() predicate.UserSetting
- func HasDefaultOrgWith(preds ...predicate.Organization) predicate.UserSetting
- func HasUser() predicate.UserSetting
- func HasUserWith(preds ...predicate.User) predicate.UserSetting
- func ID(id string) predicate.UserSetting
- func IDContainsFold(id string) predicate.UserSetting
- func IDEQ(id string) predicate.UserSetting
- func IDEqualFold(id string) predicate.UserSetting
- func IDGT(id string) predicate.UserSetting
- func IDGTE(id string) predicate.UserSetting
- func IDIn(ids ...string) predicate.UserSetting
- func IDLT(id string) predicate.UserSetting
- func IDLTE(id string) predicate.UserSetting
- func IDNEQ(id string) predicate.UserSetting
- func IDNotIn(ids ...string) predicate.UserSetting
- func IsTfaEnabled(v bool) predicate.UserSetting
- func IsTfaEnabledEQ(v bool) predicate.UserSetting
- func IsTfaEnabledIsNil() predicate.UserSetting
- func IsTfaEnabledNEQ(v bool) predicate.UserSetting
- func IsTfaEnabledNotNil() predicate.UserSetting
- func IsWebauthnAllowed(v bool) predicate.UserSetting
- func IsWebauthnAllowedEQ(v bool) predicate.UserSetting
- func IsWebauthnAllowedIsNil() predicate.UserSetting
- func IsWebauthnAllowedNEQ(v bool) predicate.UserSetting
- func IsWebauthnAllowedNotNil() predicate.UserSetting
- func Locked(v bool) predicate.UserSetting
- func LockedEQ(v bool) predicate.UserSetting
- func LockedNEQ(v bool) predicate.UserSetting
- func MappingID(v string) predicate.UserSetting
- func MappingIDContains(v string) predicate.UserSetting
- func MappingIDContainsFold(v string) predicate.UserSetting
- func MappingIDEQ(v string) predicate.UserSetting
- func MappingIDEqualFold(v string) predicate.UserSetting
- func MappingIDGT(v string) predicate.UserSetting
- func MappingIDGTE(v string) predicate.UserSetting
- func MappingIDHasPrefix(v string) predicate.UserSetting
- func MappingIDHasSuffix(v string) predicate.UserSetting
- func MappingIDIn(vs ...string) predicate.UserSetting
- func MappingIDLT(v string) predicate.UserSetting
- func MappingIDLTE(v string) predicate.UserSetting
- func MappingIDNEQ(v string) predicate.UserSetting
- func MappingIDNotIn(vs ...string) predicate.UserSetting
- func Not(p predicate.UserSetting) predicate.UserSetting
- func Or(predicates ...predicate.UserSetting) predicate.UserSetting
- func PhoneNumber(v string) predicate.UserSetting
- func PhoneNumberContains(v string) predicate.UserSetting
- func PhoneNumberContainsFold(v string) predicate.UserSetting
- func PhoneNumberEQ(v string) predicate.UserSetting
- func PhoneNumberEqualFold(v string) predicate.UserSetting
- func PhoneNumberGT(v string) predicate.UserSetting
- func PhoneNumberGTE(v string) predicate.UserSetting
- func PhoneNumberHasPrefix(v string) predicate.UserSetting
- func PhoneNumberHasSuffix(v string) predicate.UserSetting
- func PhoneNumberIn(vs ...string) predicate.UserSetting
- func PhoneNumberIsNil() predicate.UserSetting
- func PhoneNumberLT(v string) predicate.UserSetting
- func PhoneNumberLTE(v string) predicate.UserSetting
- func PhoneNumberNEQ(v string) predicate.UserSetting
- func PhoneNumberNotIn(vs ...string) predicate.UserSetting
- func PhoneNumberNotNil() predicate.UserSetting
- func SilencedAt(v time.Time) predicate.UserSetting
- func SilencedAtEQ(v time.Time) predicate.UserSetting
- func SilencedAtGT(v time.Time) predicate.UserSetting
- func SilencedAtGTE(v time.Time) predicate.UserSetting
- func SilencedAtIn(vs ...time.Time) predicate.UserSetting
- func SilencedAtIsNil() predicate.UserSetting
- func SilencedAtLT(v time.Time) predicate.UserSetting
- func SilencedAtLTE(v time.Time) predicate.UserSetting
- func SilencedAtNEQ(v time.Time) predicate.UserSetting
- func SilencedAtNotIn(vs ...time.Time) predicate.UserSetting
- func SilencedAtNotNil() predicate.UserSetting
- func StatusEQ(v enums.UserStatus) predicate.UserSetting
- func StatusIn(vs ...enums.UserStatus) predicate.UserSetting
- func StatusNEQ(v enums.UserStatus) predicate.UserSetting
- func StatusNotIn(vs ...enums.UserStatus) predicate.UserSetting
- func StatusValidator(s enums.UserStatus) error
- func SuspendedAt(v time.Time) predicate.UserSetting
- func SuspendedAtEQ(v time.Time) predicate.UserSetting
- func SuspendedAtGT(v time.Time) predicate.UserSetting
- func SuspendedAtGTE(v time.Time) predicate.UserSetting
- func SuspendedAtIn(vs ...time.Time) predicate.UserSetting
- func SuspendedAtIsNil() predicate.UserSetting
- func SuspendedAtLT(v time.Time) predicate.UserSetting
- func SuspendedAtLTE(v time.Time) predicate.UserSetting
- func SuspendedAtNEQ(v time.Time) predicate.UserSetting
- func SuspendedAtNotIn(vs ...time.Time) predicate.UserSetting
- func SuspendedAtNotNil() predicate.UserSetting
- func TagsIsNil() predicate.UserSetting
- func TagsNotNil() predicate.UserSetting
- func UpdatedAt(v time.Time) predicate.UserSetting
- func UpdatedAtEQ(v time.Time) predicate.UserSetting
- func UpdatedAtGT(v time.Time) predicate.UserSetting
- func UpdatedAtGTE(v time.Time) predicate.UserSetting
- func UpdatedAtIn(vs ...time.Time) predicate.UserSetting
- func UpdatedAtIsNil() predicate.UserSetting
- func UpdatedAtLT(v time.Time) predicate.UserSetting
- func UpdatedAtLTE(v time.Time) predicate.UserSetting
- func UpdatedAtNEQ(v time.Time) predicate.UserSetting
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserSetting
- func UpdatedAtNotNil() predicate.UserSetting
- func UpdatedBy(v string) predicate.UserSetting
- func UpdatedByContains(v string) predicate.UserSetting
- func UpdatedByContainsFold(v string) predicate.UserSetting
- func UpdatedByEQ(v string) predicate.UserSetting
- func UpdatedByEqualFold(v string) predicate.UserSetting
- func UpdatedByGT(v string) predicate.UserSetting
- func UpdatedByGTE(v string) predicate.UserSetting
- func UpdatedByHasPrefix(v string) predicate.UserSetting
- func UpdatedByHasSuffix(v string) predicate.UserSetting
- func UpdatedByIn(vs ...string) predicate.UserSetting
- func UpdatedByIsNil() predicate.UserSetting
- func UpdatedByLT(v string) predicate.UserSetting
- func UpdatedByLTE(v string) predicate.UserSetting
- func UpdatedByNEQ(v string) predicate.UserSetting
- func UpdatedByNotIn(vs ...string) predicate.UserSetting
- func UpdatedByNotNil() predicate.UserSetting
- func UserID(v string) predicate.UserSetting
- func UserIDContains(v string) predicate.UserSetting
- func UserIDContainsFold(v string) predicate.UserSetting
- func UserIDEQ(v string) predicate.UserSetting
- func UserIDEqualFold(v string) predicate.UserSetting
- func UserIDGT(v string) predicate.UserSetting
- func UserIDGTE(v string) predicate.UserSetting
- func UserIDHasPrefix(v string) predicate.UserSetting
- func UserIDHasSuffix(v string) predicate.UserSetting
- func UserIDIn(vs ...string) predicate.UserSetting
- func UserIDIsNil() predicate.UserSetting
- func UserIDLT(v string) predicate.UserSetting
- func UserIDLTE(v string) predicate.UserSetting
- func UserIDNEQ(v string) predicate.UserSetting
- func UserIDNotIn(vs ...string) predicate.UserSetting
- func UserIDNotNil() predicate.UserSetting
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDefaultOrgField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEmailConfirmed(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsTfaEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByIsWebauthnAllowed(opts ...sql.OrderTermOption) OrderOption
- func ByLocked(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
- func BySilencedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySuspendedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the usersetting type in the database. Label = "user_setting" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldLocked holds the string denoting the locked field in the database. FieldLocked = "locked" // FieldSilencedAt holds the string denoting the silenced_at field in the database. FieldSilencedAt = "silenced_at" // FieldSuspendedAt holds the string denoting the suspended_at field in the database. FieldSuspendedAt = "suspended_at" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldEmailConfirmed holds the string denoting the email_confirmed field in the database. FieldEmailConfirmed = "email_confirmed" // FieldIsWebauthnAllowed holds the string denoting the is_webauthn_allowed field in the database. FieldIsWebauthnAllowed = "is_webauthn_allowed" // FieldIsTfaEnabled holds the string denoting the is_tfa_enabled field in the database. FieldIsTfaEnabled = "is_tfa_enabled" // FieldPhoneNumber holds the string denoting the phone_number field in the database. FieldPhoneNumber = "phone_number" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeDefaultOrg holds the string denoting the default_org edge name in mutations. EdgeDefaultOrg = "default_org" // Table holds the table name of the usersetting in the database. Table = "user_settings" // UserTable is the table that holds the user relation/edge. UserTable = "user_settings" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // DefaultOrgTable is the table that holds the default_org relation/edge. DefaultOrgTable = "user_settings" // DefaultOrgInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. DefaultOrgInverseTable = "organizations" // DefaultOrgColumn is the table column denoting the default_org relation/edge. DefaultOrgColumn = "user_setting_default_org" )
const DefaultStatus enums.UserStatus = "ACTIVE"
Variables ¶
var ( Hooks [4]ent.Hook Interceptors [2]ent.Interceptor Policy ent.Policy // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultLocked holds the default value on creation for the "locked" field. DefaultLocked bool // DefaultEmailConfirmed holds the default value on creation for the "email_confirmed" field. DefaultEmailConfirmed bool // DefaultIsWebauthnAllowed holds the default value on creation for the "is_webauthn_allowed" field. DefaultIsWebauthnAllowed bool // DefaultIsTfaEnabled holds the default value on creation for the "is_tfa_enabled" field. DefaultIsTfaEnabled bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/datumforge/datum/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldTags, FieldDeletedAt, FieldDeletedBy, FieldUserID, FieldLocked, FieldSilencedAt, FieldSuspendedAt, FieldStatus, FieldEmailConfirmed, FieldIsWebauthnAllowed, FieldIsTfaEnabled, FieldPhoneNumber, }
Columns holds all SQL columns for usersetting fields.
var ForeignKeys = []string{
"user_setting_default_org",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "user_settings" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.UserSetting) predicate.UserSetting
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserSetting
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserSetting
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserSetting
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserSetting
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserSetting
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶ added in v0.3.4
func CreatedAtIsNil() predicate.UserSetting
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserSetting
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserSetting
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserSetting
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserSetting
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶ added in v0.3.4
func CreatedAtNotNil() predicate.UserSetting
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.UserSetting
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.UserSetting
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.UserSetting
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.UserSetting
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.UserSetting
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.UserSetting
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.UserSetting
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.UserSetting
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.UserSetting
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.UserSetting
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.UserSetting
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.UserSetting
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.UserSetting
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.UserSetting
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.UserSetting
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.UserSetting
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.UserSetting
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.UserSetting
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.UserSetting
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.UserSetting
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.UserSetting
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.UserSetting
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.UserSetting
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.UserSetting
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.UserSetting
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.UserSetting
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.UserSetting
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.UserSetting
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.UserSetting
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.UserSetting
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.UserSetting
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.UserSetting
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.UserSetting
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.UserSetting
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.UserSetting
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.UserSetting
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.UserSetting
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.UserSetting
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.UserSetting
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.UserSetting
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.UserSetting
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.UserSetting
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.UserSetting
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func EmailConfirmed ¶
func EmailConfirmed(v bool) predicate.UserSetting
EmailConfirmed applies equality check predicate on the "email_confirmed" field. It's identical to EmailConfirmedEQ.
func EmailConfirmedEQ ¶
func EmailConfirmedEQ(v bool) predicate.UserSetting
EmailConfirmedEQ applies the EQ predicate on the "email_confirmed" field.
func EmailConfirmedNEQ ¶
func EmailConfirmedNEQ(v bool) predicate.UserSetting
EmailConfirmedNEQ applies the NEQ predicate on the "email_confirmed" field.
func HasDefaultOrg ¶ added in v0.3.4
func HasDefaultOrg() predicate.UserSetting
HasDefaultOrg applies the HasEdge predicate on the "default_org" edge.
func HasDefaultOrgWith ¶ added in v0.3.4
func HasDefaultOrgWith(preds ...predicate.Organization) predicate.UserSetting
HasDefaultOrgWith applies the HasEdge predicate on the "default_org" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.UserSetting
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.UserSetting
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.UserSetting
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.UserSetting
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.UserSetting
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.UserSetting
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.UserSetting
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.UserSetting
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.UserSetting
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.UserSetting
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.UserSetting
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.UserSetting
IDNotIn applies the NotIn predicate on the ID field.
func IsTfaEnabled ¶ added in v0.3.6
func IsTfaEnabled(v bool) predicate.UserSetting
IsTfaEnabled applies equality check predicate on the "is_tfa_enabled" field. It's identical to IsTfaEnabledEQ.
func IsTfaEnabledEQ ¶ added in v0.3.6
func IsTfaEnabledEQ(v bool) predicate.UserSetting
IsTfaEnabledEQ applies the EQ predicate on the "is_tfa_enabled" field.
func IsTfaEnabledIsNil ¶ added in v0.3.6
func IsTfaEnabledIsNil() predicate.UserSetting
IsTfaEnabledIsNil applies the IsNil predicate on the "is_tfa_enabled" field.
func IsTfaEnabledNEQ ¶ added in v0.3.6
func IsTfaEnabledNEQ(v bool) predicate.UserSetting
IsTfaEnabledNEQ applies the NEQ predicate on the "is_tfa_enabled" field.
func IsTfaEnabledNotNil ¶ added in v0.3.6
func IsTfaEnabledNotNil() predicate.UserSetting
IsTfaEnabledNotNil applies the NotNil predicate on the "is_tfa_enabled" field.
func IsWebauthnAllowed ¶ added in v0.3.6
func IsWebauthnAllowed(v bool) predicate.UserSetting
IsWebauthnAllowed applies equality check predicate on the "is_webauthn_allowed" field. It's identical to IsWebauthnAllowedEQ.
func IsWebauthnAllowedEQ ¶ added in v0.3.6
func IsWebauthnAllowedEQ(v bool) predicate.UserSetting
IsWebauthnAllowedEQ applies the EQ predicate on the "is_webauthn_allowed" field.
func IsWebauthnAllowedIsNil ¶ added in v0.3.6
func IsWebauthnAllowedIsNil() predicate.UserSetting
IsWebauthnAllowedIsNil applies the IsNil predicate on the "is_webauthn_allowed" field.
func IsWebauthnAllowedNEQ ¶ added in v0.3.6
func IsWebauthnAllowedNEQ(v bool) predicate.UserSetting
IsWebauthnAllowedNEQ applies the NEQ predicate on the "is_webauthn_allowed" field.
func IsWebauthnAllowedNotNil ¶ added in v0.3.6
func IsWebauthnAllowedNotNil() predicate.UserSetting
IsWebauthnAllowedNotNil applies the NotNil predicate on the "is_webauthn_allowed" field.
func Locked ¶
func Locked(v bool) predicate.UserSetting
Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.
func LockedEQ ¶
func LockedEQ(v bool) predicate.UserSetting
LockedEQ applies the EQ predicate on the "locked" field.
func LockedNEQ ¶
func LockedNEQ(v bool) predicate.UserSetting
LockedNEQ applies the NEQ predicate on the "locked" field.
func MappingID ¶ added in v0.5.0
func MappingID(v string) predicate.UserSetting
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶ added in v0.5.0
func MappingIDContains(v string) predicate.UserSetting
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶ added in v0.5.0
func MappingIDContainsFold(v string) predicate.UserSetting
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶ added in v0.5.0
func MappingIDEQ(v string) predicate.UserSetting
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶ added in v0.5.0
func MappingIDEqualFold(v string) predicate.UserSetting
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶ added in v0.5.0
func MappingIDGT(v string) predicate.UserSetting
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶ added in v0.5.0
func MappingIDGTE(v string) predicate.UserSetting
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶ added in v0.5.0
func MappingIDHasPrefix(v string) predicate.UserSetting
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶ added in v0.5.0
func MappingIDHasSuffix(v string) predicate.UserSetting
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶ added in v0.5.0
func MappingIDIn(vs ...string) predicate.UserSetting
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶ added in v0.5.0
func MappingIDLT(v string) predicate.UserSetting
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶ added in v0.5.0
func MappingIDLTE(v string) predicate.UserSetting
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶ added in v0.5.0
func MappingIDNEQ(v string) predicate.UserSetting
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶ added in v0.5.0
func MappingIDNotIn(vs ...string) predicate.UserSetting
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.UserSetting) predicate.UserSetting
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserSetting) predicate.UserSetting
Or groups predicates with the OR operator between them.
func PhoneNumber ¶ added in v0.3.6
func PhoneNumber(v string) predicate.UserSetting
PhoneNumber applies equality check predicate on the "phone_number" field. It's identical to PhoneNumberEQ.
func PhoneNumberContains ¶ added in v0.3.6
func PhoneNumberContains(v string) predicate.UserSetting
PhoneNumberContains applies the Contains predicate on the "phone_number" field.
func PhoneNumberContainsFold ¶ added in v0.3.6
func PhoneNumberContainsFold(v string) predicate.UserSetting
PhoneNumberContainsFold applies the ContainsFold predicate on the "phone_number" field.
func PhoneNumberEQ ¶ added in v0.3.6
func PhoneNumberEQ(v string) predicate.UserSetting
PhoneNumberEQ applies the EQ predicate on the "phone_number" field.
func PhoneNumberEqualFold ¶ added in v0.3.6
func PhoneNumberEqualFold(v string) predicate.UserSetting
PhoneNumberEqualFold applies the EqualFold predicate on the "phone_number" field.
func PhoneNumberGT ¶ added in v0.3.6
func PhoneNumberGT(v string) predicate.UserSetting
PhoneNumberGT applies the GT predicate on the "phone_number" field.
func PhoneNumberGTE ¶ added in v0.3.6
func PhoneNumberGTE(v string) predicate.UserSetting
PhoneNumberGTE applies the GTE predicate on the "phone_number" field.
func PhoneNumberHasPrefix ¶ added in v0.3.6
func PhoneNumberHasPrefix(v string) predicate.UserSetting
PhoneNumberHasPrefix applies the HasPrefix predicate on the "phone_number" field.
func PhoneNumberHasSuffix ¶ added in v0.3.6
func PhoneNumberHasSuffix(v string) predicate.UserSetting
PhoneNumberHasSuffix applies the HasSuffix predicate on the "phone_number" field.
func PhoneNumberIn ¶ added in v0.3.6
func PhoneNumberIn(vs ...string) predicate.UserSetting
PhoneNumberIn applies the In predicate on the "phone_number" field.
func PhoneNumberIsNil ¶ added in v0.3.6
func PhoneNumberIsNil() predicate.UserSetting
PhoneNumberIsNil applies the IsNil predicate on the "phone_number" field.
func PhoneNumberLT ¶ added in v0.3.6
func PhoneNumberLT(v string) predicate.UserSetting
PhoneNumberLT applies the LT predicate on the "phone_number" field.
func PhoneNumberLTE ¶ added in v0.3.6
func PhoneNumberLTE(v string) predicate.UserSetting
PhoneNumberLTE applies the LTE predicate on the "phone_number" field.
func PhoneNumberNEQ ¶ added in v0.3.6
func PhoneNumberNEQ(v string) predicate.UserSetting
PhoneNumberNEQ applies the NEQ predicate on the "phone_number" field.
func PhoneNumberNotIn ¶ added in v0.3.6
func PhoneNumberNotIn(vs ...string) predicate.UserSetting
PhoneNumberNotIn applies the NotIn predicate on the "phone_number" field.
func PhoneNumberNotNil ¶ added in v0.3.6
func PhoneNumberNotNil() predicate.UserSetting
PhoneNumberNotNil applies the NotNil predicate on the "phone_number" field.
func SilencedAt ¶
func SilencedAt(v time.Time) predicate.UserSetting
SilencedAt applies equality check predicate on the "silenced_at" field. It's identical to SilencedAtEQ.
func SilencedAtEQ ¶
func SilencedAtEQ(v time.Time) predicate.UserSetting
SilencedAtEQ applies the EQ predicate on the "silenced_at" field.
func SilencedAtGT ¶
func SilencedAtGT(v time.Time) predicate.UserSetting
SilencedAtGT applies the GT predicate on the "silenced_at" field.
func SilencedAtGTE ¶
func SilencedAtGTE(v time.Time) predicate.UserSetting
SilencedAtGTE applies the GTE predicate on the "silenced_at" field.
func SilencedAtIn ¶
func SilencedAtIn(vs ...time.Time) predicate.UserSetting
SilencedAtIn applies the In predicate on the "silenced_at" field.
func SilencedAtIsNil ¶
func SilencedAtIsNil() predicate.UserSetting
SilencedAtIsNil applies the IsNil predicate on the "silenced_at" field.
func SilencedAtLT ¶
func SilencedAtLT(v time.Time) predicate.UserSetting
SilencedAtLT applies the LT predicate on the "silenced_at" field.
func SilencedAtLTE ¶
func SilencedAtLTE(v time.Time) predicate.UserSetting
SilencedAtLTE applies the LTE predicate on the "silenced_at" field.
func SilencedAtNEQ ¶
func SilencedAtNEQ(v time.Time) predicate.UserSetting
SilencedAtNEQ applies the NEQ predicate on the "silenced_at" field.
func SilencedAtNotIn ¶
func SilencedAtNotIn(vs ...time.Time) predicate.UserSetting
SilencedAtNotIn applies the NotIn predicate on the "silenced_at" field.
func SilencedAtNotNil ¶
func SilencedAtNotNil() predicate.UserSetting
SilencedAtNotNil applies the NotNil predicate on the "silenced_at" field.
func StatusEQ ¶
func StatusEQ(v enums.UserStatus) predicate.UserSetting
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.UserStatus) predicate.UserSetting
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.UserStatus) predicate.UserSetting
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.UserStatus) predicate.UserSetting
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.UserStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func SuspendedAt ¶
func SuspendedAt(v time.Time) predicate.UserSetting
SuspendedAt applies equality check predicate on the "suspended_at" field. It's identical to SuspendedAtEQ.
func SuspendedAtEQ ¶
func SuspendedAtEQ(v time.Time) predicate.UserSetting
SuspendedAtEQ applies the EQ predicate on the "suspended_at" field.
func SuspendedAtGT ¶
func SuspendedAtGT(v time.Time) predicate.UserSetting
SuspendedAtGT applies the GT predicate on the "suspended_at" field.
func SuspendedAtGTE ¶
func SuspendedAtGTE(v time.Time) predicate.UserSetting
SuspendedAtGTE applies the GTE predicate on the "suspended_at" field.
func SuspendedAtIn ¶
func SuspendedAtIn(vs ...time.Time) predicate.UserSetting
SuspendedAtIn applies the In predicate on the "suspended_at" field.
func SuspendedAtIsNil ¶
func SuspendedAtIsNil() predicate.UserSetting
SuspendedAtIsNil applies the IsNil predicate on the "suspended_at" field.
func SuspendedAtLT ¶
func SuspendedAtLT(v time.Time) predicate.UserSetting
SuspendedAtLT applies the LT predicate on the "suspended_at" field.
func SuspendedAtLTE ¶
func SuspendedAtLTE(v time.Time) predicate.UserSetting
SuspendedAtLTE applies the LTE predicate on the "suspended_at" field.
func SuspendedAtNEQ ¶
func SuspendedAtNEQ(v time.Time) predicate.UserSetting
SuspendedAtNEQ applies the NEQ predicate on the "suspended_at" field.
func SuspendedAtNotIn ¶
func SuspendedAtNotIn(vs ...time.Time) predicate.UserSetting
SuspendedAtNotIn applies the NotIn predicate on the "suspended_at" field.
func SuspendedAtNotNil ¶
func SuspendedAtNotNil() predicate.UserSetting
SuspendedAtNotNil applies the NotNil predicate on the "suspended_at" field.
func TagsIsNil ¶ added in v0.5.0
func TagsIsNil() predicate.UserSetting
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶ added in v0.5.0
func TagsNotNil() predicate.UserSetting
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserSetting
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserSetting
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserSetting
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserSetting
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserSetting
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶ added in v0.3.4
func UpdatedAtIsNil() predicate.UserSetting
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserSetting
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserSetting
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserSetting
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserSetting
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶ added in v0.3.4
func UpdatedAtNotNil() predicate.UserSetting
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.UserSetting
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.UserSetting
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.UserSetting
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.UserSetting
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.UserSetting
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.UserSetting
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.UserSetting
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.UserSetting
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.UserSetting
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.UserSetting
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.UserSetting
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.UserSetting
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.UserSetting
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.UserSetting
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.UserSetting
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.UserSetting
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶ added in v0.3.4
func UserID(v string) predicate.UserSetting
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶ added in v0.3.4
func UserIDContains(v string) predicate.UserSetting
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶ added in v0.3.4
func UserIDContainsFold(v string) predicate.UserSetting
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶ added in v0.3.4
func UserIDEQ(v string) predicate.UserSetting
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶ added in v0.3.4
func UserIDEqualFold(v string) predicate.UserSetting
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶ added in v0.3.4
func UserIDGT(v string) predicate.UserSetting
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶ added in v0.3.4
func UserIDGTE(v string) predicate.UserSetting
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶ added in v0.3.4
func UserIDHasPrefix(v string) predicate.UserSetting
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶ added in v0.3.4
func UserIDHasSuffix(v string) predicate.UserSetting
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶ added in v0.3.4
func UserIDIn(vs ...string) predicate.UserSetting
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶ added in v0.3.4
func UserIDIsNil() predicate.UserSetting
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDLT ¶ added in v0.3.4
func UserIDLT(v string) predicate.UserSetting
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶ added in v0.3.4
func UserIDLTE(v string) predicate.UserSetting
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶ added in v0.3.4
func UserIDNEQ(v string) predicate.UserSetting
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶ added in v0.3.4
func UserIDNotIn(vs ...string) predicate.UserSetting
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶ added in v0.3.4
func UserIDNotNil() predicate.UserSetting
UserIDNotNil applies the NotNil 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 UserSetting queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDefaultOrgField ¶ added in v0.3.4
func ByDefaultOrgField(field string, opts ...sql.OrderTermOption) OrderOption
ByDefaultOrgField orders the results by default_org field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByEmailConfirmed ¶
func ByEmailConfirmed(opts ...sql.OrderTermOption) OrderOption
ByEmailConfirmed orders the results by the email_confirmed field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsTfaEnabled ¶ added in v0.3.6
func ByIsTfaEnabled(opts ...sql.OrderTermOption) OrderOption
ByIsTfaEnabled orders the results by the is_tfa_enabled field.
func ByIsWebauthnAllowed ¶ added in v0.3.6
func ByIsWebauthnAllowed(opts ...sql.OrderTermOption) OrderOption
ByIsWebauthnAllowed orders the results by the is_webauthn_allowed field.
func ByLocked ¶
func ByLocked(opts ...sql.OrderTermOption) OrderOption
ByLocked orders the results by the locked field.
func ByMappingID ¶ added in v0.5.0
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByPhoneNumber ¶ added in v0.3.6
func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
ByPhoneNumber orders the results by the phone_number field.
func BySilencedAt ¶
func BySilencedAt(opts ...sql.OrderTermOption) OrderOption
BySilencedAt orders the results by the silenced_at field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySuspendedAt ¶
func BySuspendedAt(opts ...sql.OrderTermOption) OrderOption
BySuspendedAt orders the results by the suspended_at field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶ added in v0.3.4
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.