Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserSettingHistory) predicate.UserSettingHistory
- func CreatedAt(v time.Time) predicate.UserSettingHistory
- func CreatedAtEQ(v time.Time) predicate.UserSettingHistory
- func CreatedAtGT(v time.Time) predicate.UserSettingHistory
- func CreatedAtGTE(v time.Time) predicate.UserSettingHistory
- func CreatedAtIn(vs ...time.Time) predicate.UserSettingHistory
- func CreatedAtIsNil() predicate.UserSettingHistory
- func CreatedAtLT(v time.Time) predicate.UserSettingHistory
- func CreatedAtLTE(v time.Time) predicate.UserSettingHistory
- func CreatedAtNEQ(v time.Time) predicate.UserSettingHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
- func CreatedAtNotNil() predicate.UserSettingHistory
- func CreatedBy(v string) predicate.UserSettingHistory
- func CreatedByContains(v string) predicate.UserSettingHistory
- func CreatedByContainsFold(v string) predicate.UserSettingHistory
- func CreatedByEQ(v string) predicate.UserSettingHistory
- func CreatedByEqualFold(v string) predicate.UserSettingHistory
- func CreatedByGT(v string) predicate.UserSettingHistory
- func CreatedByGTE(v string) predicate.UserSettingHistory
- func CreatedByHasPrefix(v string) predicate.UserSettingHistory
- func CreatedByHasSuffix(v string) predicate.UserSettingHistory
- func CreatedByIn(vs ...string) predicate.UserSettingHistory
- func CreatedByIsNil() predicate.UserSettingHistory
- func CreatedByLT(v string) predicate.UserSettingHistory
- func CreatedByLTE(v string) predicate.UserSettingHistory
- func CreatedByNEQ(v string) predicate.UserSettingHistory
- func CreatedByNotIn(vs ...string) predicate.UserSettingHistory
- func CreatedByNotNil() predicate.UserSettingHistory
- func DeletedAt(v time.Time) predicate.UserSettingHistory
- func DeletedAtEQ(v time.Time) predicate.UserSettingHistory
- func DeletedAtGT(v time.Time) predicate.UserSettingHistory
- func DeletedAtGTE(v time.Time) predicate.UserSettingHistory
- func DeletedAtIn(vs ...time.Time) predicate.UserSettingHistory
- func DeletedAtIsNil() predicate.UserSettingHistory
- func DeletedAtLT(v time.Time) predicate.UserSettingHistory
- func DeletedAtLTE(v time.Time) predicate.UserSettingHistory
- func DeletedAtNEQ(v time.Time) predicate.UserSettingHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
- func DeletedAtNotNil() predicate.UserSettingHistory
- func DeletedBy(v string) predicate.UserSettingHistory
- func DeletedByContains(v string) predicate.UserSettingHistory
- func DeletedByContainsFold(v string) predicate.UserSettingHistory
- func DeletedByEQ(v string) predicate.UserSettingHistory
- func DeletedByEqualFold(v string) predicate.UserSettingHistory
- func DeletedByGT(v string) predicate.UserSettingHistory
- func DeletedByGTE(v string) predicate.UserSettingHistory
- func DeletedByHasPrefix(v string) predicate.UserSettingHistory
- func DeletedByHasSuffix(v string) predicate.UserSettingHistory
- func DeletedByIn(vs ...string) predicate.UserSettingHistory
- func DeletedByIsNil() predicate.UserSettingHistory
- func DeletedByLT(v string) predicate.UserSettingHistory
- func DeletedByLTE(v string) predicate.UserSettingHistory
- func DeletedByNEQ(v string) predicate.UserSettingHistory
- func DeletedByNotIn(vs ...string) predicate.UserSettingHistory
- func DeletedByNotNil() predicate.UserSettingHistory
- func EmailConfirmed(v bool) predicate.UserSettingHistory
- func EmailConfirmedEQ(v bool) predicate.UserSettingHistory
- func EmailConfirmedNEQ(v bool) predicate.UserSettingHistory
- func HistoryTime(v time.Time) predicate.UserSettingHistory
- func HistoryTimeEQ(v time.Time) predicate.UserSettingHistory
- func HistoryTimeGT(v time.Time) predicate.UserSettingHistory
- func HistoryTimeGTE(v time.Time) predicate.UserSettingHistory
- func HistoryTimeIn(vs ...time.Time) predicate.UserSettingHistory
- func HistoryTimeLT(v time.Time) predicate.UserSettingHistory
- func HistoryTimeLTE(v time.Time) predicate.UserSettingHistory
- func HistoryTimeNEQ(v time.Time) predicate.UserSettingHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.UserSettingHistory
- func ID(id string) predicate.UserSettingHistory
- func IDContainsFold(id string) predicate.UserSettingHistory
- func IDEQ(id string) predicate.UserSettingHistory
- func IDEqualFold(id string) predicate.UserSettingHistory
- func IDGT(id string) predicate.UserSettingHistory
- func IDGTE(id string) predicate.UserSettingHistory
- func IDIn(ids ...string) predicate.UserSettingHistory
- func IDLT(id string) predicate.UserSettingHistory
- func IDLTE(id string) predicate.UserSettingHistory
- func IDNEQ(id string) predicate.UserSettingHistory
- func IDNotIn(ids ...string) predicate.UserSettingHistory
- func IsTfaEnabled(v bool) predicate.UserSettingHistory
- func IsTfaEnabledEQ(v bool) predicate.UserSettingHistory
- func IsTfaEnabledIsNil() predicate.UserSettingHistory
- func IsTfaEnabledNEQ(v bool) predicate.UserSettingHistory
- func IsTfaEnabledNotNil() predicate.UserSettingHistory
- func IsWebauthnAllowed(v bool) predicate.UserSettingHistory
- func IsWebauthnAllowedEQ(v bool) predicate.UserSettingHistory
- func IsWebauthnAllowedIsNil() predicate.UserSettingHistory
- func IsWebauthnAllowedNEQ(v bool) predicate.UserSettingHistory
- func IsWebauthnAllowedNotNil() predicate.UserSettingHistory
- func Locked(v bool) predicate.UserSettingHistory
- func LockedEQ(v bool) predicate.UserSettingHistory
- func LockedNEQ(v bool) predicate.UserSettingHistory
- func MappingID(v string) predicate.UserSettingHistory
- func MappingIDContains(v string) predicate.UserSettingHistory
- func MappingIDContainsFold(v string) predicate.UserSettingHistory
- func MappingIDEQ(v string) predicate.UserSettingHistory
- func MappingIDEqualFold(v string) predicate.UserSettingHistory
- func MappingIDGT(v string) predicate.UserSettingHistory
- func MappingIDGTE(v string) predicate.UserSettingHistory
- func MappingIDHasPrefix(v string) predicate.UserSettingHistory
- func MappingIDHasSuffix(v string) predicate.UserSettingHistory
- func MappingIDIn(vs ...string) predicate.UserSettingHistory
- func MappingIDLT(v string) predicate.UserSettingHistory
- func MappingIDLTE(v string) predicate.UserSettingHistory
- func MappingIDNEQ(v string) predicate.UserSettingHistory
- func MappingIDNotIn(vs ...string) predicate.UserSettingHistory
- func Not(p predicate.UserSettingHistory) predicate.UserSettingHistory
- func OperationEQ(v history.OpType) predicate.UserSettingHistory
- func OperationIn(vs ...history.OpType) predicate.UserSettingHistory
- func OperationNEQ(v history.OpType) predicate.UserSettingHistory
- func OperationNotIn(vs ...history.OpType) predicate.UserSettingHistory
- func OperationValidator(o history.OpType) error
- func Or(predicates ...predicate.UserSettingHistory) predicate.UserSettingHistory
- func PhoneNumber(v string) predicate.UserSettingHistory
- func PhoneNumberContains(v string) predicate.UserSettingHistory
- func PhoneNumberContainsFold(v string) predicate.UserSettingHistory
- func PhoneNumberEQ(v string) predicate.UserSettingHistory
- func PhoneNumberEqualFold(v string) predicate.UserSettingHistory
- func PhoneNumberGT(v string) predicate.UserSettingHistory
- func PhoneNumberGTE(v string) predicate.UserSettingHistory
- func PhoneNumberHasPrefix(v string) predicate.UserSettingHistory
- func PhoneNumberHasSuffix(v string) predicate.UserSettingHistory
- func PhoneNumberIn(vs ...string) predicate.UserSettingHistory
- func PhoneNumberIsNil() predicate.UserSettingHistory
- func PhoneNumberLT(v string) predicate.UserSettingHistory
- func PhoneNumberLTE(v string) predicate.UserSettingHistory
- func PhoneNumberNEQ(v string) predicate.UserSettingHistory
- func PhoneNumberNotIn(vs ...string) predicate.UserSettingHistory
- func PhoneNumberNotNil() predicate.UserSettingHistory
- func Ref(v string) predicate.UserSettingHistory
- func RefContains(v string) predicate.UserSettingHistory
- func RefContainsFold(v string) predicate.UserSettingHistory
- func RefEQ(v string) predicate.UserSettingHistory
- func RefEqualFold(v string) predicate.UserSettingHistory
- func RefGT(v string) predicate.UserSettingHistory
- func RefGTE(v string) predicate.UserSettingHistory
- func RefHasPrefix(v string) predicate.UserSettingHistory
- func RefHasSuffix(v string) predicate.UserSettingHistory
- func RefIn(vs ...string) predicate.UserSettingHistory
- func RefIsNil() predicate.UserSettingHistory
- func RefLT(v string) predicate.UserSettingHistory
- func RefLTE(v string) predicate.UserSettingHistory
- func RefNEQ(v string) predicate.UserSettingHistory
- func RefNotIn(vs ...string) predicate.UserSettingHistory
- func RefNotNil() predicate.UserSettingHistory
- func SilencedAt(v time.Time) predicate.UserSettingHistory
- func SilencedAtEQ(v time.Time) predicate.UserSettingHistory
- func SilencedAtGT(v time.Time) predicate.UserSettingHistory
- func SilencedAtGTE(v time.Time) predicate.UserSettingHistory
- func SilencedAtIn(vs ...time.Time) predicate.UserSettingHistory
- func SilencedAtIsNil() predicate.UserSettingHistory
- func SilencedAtLT(v time.Time) predicate.UserSettingHistory
- func SilencedAtLTE(v time.Time) predicate.UserSettingHistory
- func SilencedAtNEQ(v time.Time) predicate.UserSettingHistory
- func SilencedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
- func SilencedAtNotNil() predicate.UserSettingHistory
- func StatusEQ(v enums.UserStatus) predicate.UserSettingHistory
- func StatusIn(vs ...enums.UserStatus) predicate.UserSettingHistory
- func StatusNEQ(v enums.UserStatus) predicate.UserSettingHistory
- func StatusNotIn(vs ...enums.UserStatus) predicate.UserSettingHistory
- func StatusValidator(s enums.UserStatus) error
- func SuspendedAt(v time.Time) predicate.UserSettingHistory
- func SuspendedAtEQ(v time.Time) predicate.UserSettingHistory
- func SuspendedAtGT(v time.Time) predicate.UserSettingHistory
- func SuspendedAtGTE(v time.Time) predicate.UserSettingHistory
- func SuspendedAtIn(vs ...time.Time) predicate.UserSettingHistory
- func SuspendedAtIsNil() predicate.UserSettingHistory
- func SuspendedAtLT(v time.Time) predicate.UserSettingHistory
- func SuspendedAtLTE(v time.Time) predicate.UserSettingHistory
- func SuspendedAtNEQ(v time.Time) predicate.UserSettingHistory
- func SuspendedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
- func SuspendedAtNotNil() predicate.UserSettingHistory
- func TagsIsNil() predicate.UserSettingHistory
- func TagsNotNil() predicate.UserSettingHistory
- func UpdatedAt(v time.Time) predicate.UserSettingHistory
- func UpdatedAtEQ(v time.Time) predicate.UserSettingHistory
- func UpdatedAtGT(v time.Time) predicate.UserSettingHistory
- func UpdatedAtGTE(v time.Time) predicate.UserSettingHistory
- func UpdatedAtIn(vs ...time.Time) predicate.UserSettingHistory
- func UpdatedAtIsNil() predicate.UserSettingHistory
- func UpdatedAtLT(v time.Time) predicate.UserSettingHistory
- func UpdatedAtLTE(v time.Time) predicate.UserSettingHistory
- func UpdatedAtNEQ(v time.Time) predicate.UserSettingHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
- func UpdatedAtNotNil() predicate.UserSettingHistory
- func UpdatedBy(v string) predicate.UserSettingHistory
- func UpdatedByContains(v string) predicate.UserSettingHistory
- func UpdatedByContainsFold(v string) predicate.UserSettingHistory
- func UpdatedByEQ(v string) predicate.UserSettingHistory
- func UpdatedByEqualFold(v string) predicate.UserSettingHistory
- func UpdatedByGT(v string) predicate.UserSettingHistory
- func UpdatedByGTE(v string) predicate.UserSettingHistory
- func UpdatedByHasPrefix(v string) predicate.UserSettingHistory
- func UpdatedByHasSuffix(v string) predicate.UserSettingHistory
- func UpdatedByIn(vs ...string) predicate.UserSettingHistory
- func UpdatedByIsNil() predicate.UserSettingHistory
- func UpdatedByLT(v string) predicate.UserSettingHistory
- func UpdatedByLTE(v string) predicate.UserSettingHistory
- func UpdatedByNEQ(v string) predicate.UserSettingHistory
- func UpdatedByNotIn(vs ...string) predicate.UserSettingHistory
- func UpdatedByNotNil() predicate.UserSettingHistory
- func UserID(v string) predicate.UserSettingHistory
- func UserIDContains(v string) predicate.UserSettingHistory
- func UserIDContainsFold(v string) predicate.UserSettingHistory
- func UserIDEQ(v string) predicate.UserSettingHistory
- func UserIDEqualFold(v string) predicate.UserSettingHistory
- func UserIDGT(v string) predicate.UserSettingHistory
- func UserIDGTE(v string) predicate.UserSettingHistory
- func UserIDHasPrefix(v string) predicate.UserSettingHistory
- func UserIDHasSuffix(v string) predicate.UserSettingHistory
- func UserIDIn(vs ...string) predicate.UserSettingHistory
- func UserIDIsNil() predicate.UserSettingHistory
- func UserIDLT(v string) predicate.UserSettingHistory
- func UserIDLTE(v string) predicate.UserSettingHistory
- func UserIDNEQ(v string) predicate.UserSettingHistory
- func UserIDNotIn(vs ...string) predicate.UserSettingHistory
- func UserIDNotNil() predicate.UserSettingHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEmailConfirmed(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(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 ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
- func ByRef(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 ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the usersettinghistory type in the database. Label = "user_setting_history" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHistoryTime holds the string denoting the history_time field in the database. FieldHistoryTime = "history_time" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldOperation holds the string denoting the operation field in the database. FieldOperation = "operation" // 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" // Table holds the table name of the usersettinghistory in the database. Table = "user_setting_history" )
const DefaultStatus enums.UserStatus = "ACTIVE"
Variables ¶
var ( Interceptors [1]ent.Interceptor // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // 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/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldTags, FieldDeletedAt, FieldDeletedBy, FieldUserID, FieldLocked, FieldSilencedAt, FieldSuspendedAt, FieldStatus, FieldEmailConfirmed, FieldIsWebauthnAllowed, FieldIsTfaEnabled, FieldPhoneNumber, }
Columns holds all SQL columns for usersettinghistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserSettingHistory) predicate.UserSettingHistory
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserSettingHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserSettingHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserSettingHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserSettingHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserSettingHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.UserSettingHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserSettingHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserSettingHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserSettingHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.UserSettingHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.UserSettingHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.UserSettingHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.UserSettingHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.UserSettingHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.UserSettingHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.UserSettingHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.UserSettingHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.UserSettingHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.UserSettingHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.UserSettingHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.UserSettingHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.UserSettingHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.UserSettingHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.UserSettingHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.UserSettingHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.UserSettingHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.UserSettingHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.UserSettingHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.UserSettingHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.UserSettingHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.UserSettingHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.UserSettingHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.UserSettingHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.UserSettingHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.UserSettingHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.UserSettingHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.UserSettingHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.UserSettingHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.UserSettingHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.UserSettingHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.UserSettingHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.UserSettingHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.UserSettingHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.UserSettingHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.UserSettingHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.UserSettingHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.UserSettingHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.UserSettingHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.UserSettingHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.UserSettingHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.UserSettingHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.UserSettingHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func EmailConfirmed ¶
func EmailConfirmed(v bool) predicate.UserSettingHistory
EmailConfirmed applies equality check predicate on the "email_confirmed" field. It's identical to EmailConfirmedEQ.
func EmailConfirmedEQ ¶
func EmailConfirmedEQ(v bool) predicate.UserSettingHistory
EmailConfirmedEQ applies the EQ predicate on the "email_confirmed" field.
func EmailConfirmedNEQ ¶
func EmailConfirmedNEQ(v bool) predicate.UserSettingHistory
EmailConfirmedNEQ applies the NEQ predicate on the "email_confirmed" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.UserSettingHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.UserSettingHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.UserSettingHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.UserSettingHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.UserSettingHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.UserSettingHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.UserSettingHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.UserSettingHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.UserSettingHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func ID ¶
func ID(id string) predicate.UserSettingHistory
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.UserSettingHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.UserSettingHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.UserSettingHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.UserSettingHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.UserSettingHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.UserSettingHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.UserSettingHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.UserSettingHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.UserSettingHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.UserSettingHistory
IDNotIn applies the NotIn predicate on the ID field.
func IsTfaEnabled ¶
func IsTfaEnabled(v bool) predicate.UserSettingHistory
IsTfaEnabled applies equality check predicate on the "is_tfa_enabled" field. It's identical to IsTfaEnabledEQ.
func IsTfaEnabledEQ ¶
func IsTfaEnabledEQ(v bool) predicate.UserSettingHistory
IsTfaEnabledEQ applies the EQ predicate on the "is_tfa_enabled" field.
func IsTfaEnabledIsNil ¶
func IsTfaEnabledIsNil() predicate.UserSettingHistory
IsTfaEnabledIsNil applies the IsNil predicate on the "is_tfa_enabled" field.
func IsTfaEnabledNEQ ¶
func IsTfaEnabledNEQ(v bool) predicate.UserSettingHistory
IsTfaEnabledNEQ applies the NEQ predicate on the "is_tfa_enabled" field.
func IsTfaEnabledNotNil ¶
func IsTfaEnabledNotNil() predicate.UserSettingHistory
IsTfaEnabledNotNil applies the NotNil predicate on the "is_tfa_enabled" field.
func IsWebauthnAllowed ¶
func IsWebauthnAllowed(v bool) predicate.UserSettingHistory
IsWebauthnAllowed applies equality check predicate on the "is_webauthn_allowed" field. It's identical to IsWebauthnAllowedEQ.
func IsWebauthnAllowedEQ ¶
func IsWebauthnAllowedEQ(v bool) predicate.UserSettingHistory
IsWebauthnAllowedEQ applies the EQ predicate on the "is_webauthn_allowed" field.
func IsWebauthnAllowedIsNil ¶
func IsWebauthnAllowedIsNil() predicate.UserSettingHistory
IsWebauthnAllowedIsNil applies the IsNil predicate on the "is_webauthn_allowed" field.
func IsWebauthnAllowedNEQ ¶
func IsWebauthnAllowedNEQ(v bool) predicate.UserSettingHistory
IsWebauthnAllowedNEQ applies the NEQ predicate on the "is_webauthn_allowed" field.
func IsWebauthnAllowedNotNil ¶
func IsWebauthnAllowedNotNil() predicate.UserSettingHistory
IsWebauthnAllowedNotNil applies the NotNil predicate on the "is_webauthn_allowed" field.
func Locked ¶
func Locked(v bool) predicate.UserSettingHistory
Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.
func LockedEQ ¶
func LockedEQ(v bool) predicate.UserSettingHistory
LockedEQ applies the EQ predicate on the "locked" field.
func LockedNEQ ¶
func LockedNEQ(v bool) predicate.UserSettingHistory
LockedNEQ applies the NEQ predicate on the "locked" field.
func MappingID ¶
func MappingID(v string) predicate.UserSettingHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.UserSettingHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.UserSettingHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.UserSettingHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.UserSettingHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.UserSettingHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.UserSettingHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.UserSettingHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.UserSettingHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.UserSettingHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.UserSettingHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.UserSettingHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.UserSettingHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.UserSettingHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.UserSettingHistory) predicate.UserSettingHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v history.OpType) predicate.UserSettingHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...history.OpType) predicate.UserSettingHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v history.OpType) predicate.UserSettingHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...history.OpType) predicate.UserSettingHistory
OperationNotIn applies the NotIn predicate on the "operation" field.
func OperationValidator ¶
OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.UserSettingHistory) predicate.UserSettingHistory
Or groups predicates with the OR operator between them.
func PhoneNumber ¶
func PhoneNumber(v string) predicate.UserSettingHistory
PhoneNumber applies equality check predicate on the "phone_number" field. It's identical to PhoneNumberEQ.
func PhoneNumberContains ¶
func PhoneNumberContains(v string) predicate.UserSettingHistory
PhoneNumberContains applies the Contains predicate on the "phone_number" field.
func PhoneNumberContainsFold ¶
func PhoneNumberContainsFold(v string) predicate.UserSettingHistory
PhoneNumberContainsFold applies the ContainsFold predicate on the "phone_number" field.
func PhoneNumberEQ ¶
func PhoneNumberEQ(v string) predicate.UserSettingHistory
PhoneNumberEQ applies the EQ predicate on the "phone_number" field.
func PhoneNumberEqualFold ¶
func PhoneNumberEqualFold(v string) predicate.UserSettingHistory
PhoneNumberEqualFold applies the EqualFold predicate on the "phone_number" field.
func PhoneNumberGT ¶
func PhoneNumberGT(v string) predicate.UserSettingHistory
PhoneNumberGT applies the GT predicate on the "phone_number" field.
func PhoneNumberGTE ¶
func PhoneNumberGTE(v string) predicate.UserSettingHistory
PhoneNumberGTE applies the GTE predicate on the "phone_number" field.
func PhoneNumberHasPrefix ¶
func PhoneNumberHasPrefix(v string) predicate.UserSettingHistory
PhoneNumberHasPrefix applies the HasPrefix predicate on the "phone_number" field.
func PhoneNumberHasSuffix ¶
func PhoneNumberHasSuffix(v string) predicate.UserSettingHistory
PhoneNumberHasSuffix applies the HasSuffix predicate on the "phone_number" field.
func PhoneNumberIn ¶
func PhoneNumberIn(vs ...string) predicate.UserSettingHistory
PhoneNumberIn applies the In predicate on the "phone_number" field.
func PhoneNumberIsNil ¶
func PhoneNumberIsNil() predicate.UserSettingHistory
PhoneNumberIsNil applies the IsNil predicate on the "phone_number" field.
func PhoneNumberLT ¶
func PhoneNumberLT(v string) predicate.UserSettingHistory
PhoneNumberLT applies the LT predicate on the "phone_number" field.
func PhoneNumberLTE ¶
func PhoneNumberLTE(v string) predicate.UserSettingHistory
PhoneNumberLTE applies the LTE predicate on the "phone_number" field.
func PhoneNumberNEQ ¶
func PhoneNumberNEQ(v string) predicate.UserSettingHistory
PhoneNumberNEQ applies the NEQ predicate on the "phone_number" field.
func PhoneNumberNotIn ¶
func PhoneNumberNotIn(vs ...string) predicate.UserSettingHistory
PhoneNumberNotIn applies the NotIn predicate on the "phone_number" field.
func PhoneNumberNotNil ¶
func PhoneNumberNotNil() predicate.UserSettingHistory
PhoneNumberNotNil applies the NotNil predicate on the "phone_number" field.
func Ref ¶
func Ref(v string) predicate.UserSettingHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.UserSettingHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.UserSettingHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.UserSettingHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.UserSettingHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.UserSettingHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.UserSettingHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.UserSettingHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.UserSettingHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.UserSettingHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.UserSettingHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.UserSettingHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.UserSettingHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.UserSettingHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.UserSettingHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.UserSettingHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func SilencedAt ¶
func SilencedAt(v time.Time) predicate.UserSettingHistory
SilencedAt applies equality check predicate on the "silenced_at" field. It's identical to SilencedAtEQ.
func SilencedAtEQ ¶
func SilencedAtEQ(v time.Time) predicate.UserSettingHistory
SilencedAtEQ applies the EQ predicate on the "silenced_at" field.
func SilencedAtGT ¶
func SilencedAtGT(v time.Time) predicate.UserSettingHistory
SilencedAtGT applies the GT predicate on the "silenced_at" field.
func SilencedAtGTE ¶
func SilencedAtGTE(v time.Time) predicate.UserSettingHistory
SilencedAtGTE applies the GTE predicate on the "silenced_at" field.
func SilencedAtIn ¶
func SilencedAtIn(vs ...time.Time) predicate.UserSettingHistory
SilencedAtIn applies the In predicate on the "silenced_at" field.
func SilencedAtIsNil ¶
func SilencedAtIsNil() predicate.UserSettingHistory
SilencedAtIsNil applies the IsNil predicate on the "silenced_at" field.
func SilencedAtLT ¶
func SilencedAtLT(v time.Time) predicate.UserSettingHistory
SilencedAtLT applies the LT predicate on the "silenced_at" field.
func SilencedAtLTE ¶
func SilencedAtLTE(v time.Time) predicate.UserSettingHistory
SilencedAtLTE applies the LTE predicate on the "silenced_at" field.
func SilencedAtNEQ ¶
func SilencedAtNEQ(v time.Time) predicate.UserSettingHistory
SilencedAtNEQ applies the NEQ predicate on the "silenced_at" field.
func SilencedAtNotIn ¶
func SilencedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
SilencedAtNotIn applies the NotIn predicate on the "silenced_at" field.
func SilencedAtNotNil ¶
func SilencedAtNotNil() predicate.UserSettingHistory
SilencedAtNotNil applies the NotNil predicate on the "silenced_at" field.
func StatusEQ ¶
func StatusEQ(v enums.UserStatus) predicate.UserSettingHistory
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.UserStatus) predicate.UserSettingHistory
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.UserStatus) predicate.UserSettingHistory
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.UserStatus) predicate.UserSettingHistory
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.UserSettingHistory
SuspendedAt applies equality check predicate on the "suspended_at" field. It's identical to SuspendedAtEQ.
func SuspendedAtEQ ¶
func SuspendedAtEQ(v time.Time) predicate.UserSettingHistory
SuspendedAtEQ applies the EQ predicate on the "suspended_at" field.
func SuspendedAtGT ¶
func SuspendedAtGT(v time.Time) predicate.UserSettingHistory
SuspendedAtGT applies the GT predicate on the "suspended_at" field.
func SuspendedAtGTE ¶
func SuspendedAtGTE(v time.Time) predicate.UserSettingHistory
SuspendedAtGTE applies the GTE predicate on the "suspended_at" field.
func SuspendedAtIn ¶
func SuspendedAtIn(vs ...time.Time) predicate.UserSettingHistory
SuspendedAtIn applies the In predicate on the "suspended_at" field.
func SuspendedAtIsNil ¶
func SuspendedAtIsNil() predicate.UserSettingHistory
SuspendedAtIsNil applies the IsNil predicate on the "suspended_at" field.
func SuspendedAtLT ¶
func SuspendedAtLT(v time.Time) predicate.UserSettingHistory
SuspendedAtLT applies the LT predicate on the "suspended_at" field.
func SuspendedAtLTE ¶
func SuspendedAtLTE(v time.Time) predicate.UserSettingHistory
SuspendedAtLTE applies the LTE predicate on the "suspended_at" field.
func SuspendedAtNEQ ¶
func SuspendedAtNEQ(v time.Time) predicate.UserSettingHistory
SuspendedAtNEQ applies the NEQ predicate on the "suspended_at" field.
func SuspendedAtNotIn ¶
func SuspendedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
SuspendedAtNotIn applies the NotIn predicate on the "suspended_at" field.
func SuspendedAtNotNil ¶
func SuspendedAtNotNil() predicate.UserSettingHistory
SuspendedAtNotNil applies the NotNil predicate on the "suspended_at" field.
func TagsIsNil ¶
func TagsIsNil() predicate.UserSettingHistory
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.UserSettingHistory
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserSettingHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserSettingHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserSettingHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserSettingHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserSettingHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.UserSettingHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserSettingHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserSettingHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserSettingHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserSettingHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.UserSettingHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.UserSettingHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.UserSettingHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.UserSettingHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.UserSettingHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.UserSettingHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.UserSettingHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.UserSettingHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.UserSettingHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.UserSettingHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.UserSettingHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.UserSettingHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.UserSettingHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.UserSettingHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.UserSettingHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.UserSettingHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.UserSettingHistory
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v string) predicate.UserSettingHistory
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
func UserIDContains(v string) predicate.UserSettingHistory
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
func UserIDContainsFold(v string) predicate.UserSettingHistory
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶
func UserIDEQ(v string) predicate.UserSettingHistory
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶
func UserIDEqualFold(v string) predicate.UserSettingHistory
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v string) predicate.UserSettingHistory
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v string) predicate.UserSettingHistory
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶
func UserIDHasPrefix(v string) predicate.UserSettingHistory
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
func UserIDHasSuffix(v string) predicate.UserSettingHistory
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...string) predicate.UserSettingHistory
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.UserSettingHistory
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v string) predicate.UserSettingHistory
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v string) predicate.UserSettingHistory
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v string) predicate.UserSettingHistory
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...string) predicate.UserSettingHistory
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.UserSettingHistory
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 UserSettingHistory 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 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 ByHistoryTime ¶
func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
ByHistoryTime orders the results by the history_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsTfaEnabled ¶
func ByIsTfaEnabled(opts ...sql.OrderTermOption) OrderOption
ByIsTfaEnabled orders the results by the is_tfa_enabled field.
func ByIsWebauthnAllowed ¶
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 ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByPhoneNumber ¶
func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
ByPhoneNumber orders the results by the phone_number field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref 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 ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.