Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserHistory) predicate.UserHistory
- func AuthProviderEQ(v enums.AuthProvider) predicate.UserHistory
- func AuthProviderIn(vs ...enums.AuthProvider) predicate.UserHistory
- func AuthProviderNEQ(v enums.AuthProvider) predicate.UserHistory
- func AuthProviderNotIn(vs ...enums.AuthProvider) predicate.UserHistory
- func AuthProviderValidator(ap enums.AuthProvider) error
- func AvatarLocalFile(v string) predicate.UserHistory
- func AvatarLocalFileContains(v string) predicate.UserHistory
- func AvatarLocalFileContainsFold(v string) predicate.UserHistory
- func AvatarLocalFileEQ(v string) predicate.UserHistory
- func AvatarLocalFileEqualFold(v string) predicate.UserHistory
- func AvatarLocalFileGT(v string) predicate.UserHistory
- func AvatarLocalFileGTE(v string) predicate.UserHistory
- func AvatarLocalFileHasPrefix(v string) predicate.UserHistory
- func AvatarLocalFileHasSuffix(v string) predicate.UserHistory
- func AvatarLocalFileID(v string) predicate.UserHistory
- func AvatarLocalFileIDContains(v string) predicate.UserHistory
- func AvatarLocalFileIDContainsFold(v string) predicate.UserHistory
- func AvatarLocalFileIDEQ(v string) predicate.UserHistory
- func AvatarLocalFileIDEqualFold(v string) predicate.UserHistory
- func AvatarLocalFileIDGT(v string) predicate.UserHistory
- func AvatarLocalFileIDGTE(v string) predicate.UserHistory
- func AvatarLocalFileIDHasPrefix(v string) predicate.UserHistory
- func AvatarLocalFileIDHasSuffix(v string) predicate.UserHistory
- func AvatarLocalFileIDIn(vs ...string) predicate.UserHistory
- func AvatarLocalFileIDIsNil() predicate.UserHistory
- func AvatarLocalFileIDLT(v string) predicate.UserHistory
- func AvatarLocalFileIDLTE(v string) predicate.UserHistory
- func AvatarLocalFileIDNEQ(v string) predicate.UserHistory
- func AvatarLocalFileIDNotIn(vs ...string) predicate.UserHistory
- func AvatarLocalFileIDNotNil() predicate.UserHistory
- func AvatarLocalFileIn(vs ...string) predicate.UserHistory
- func AvatarLocalFileIsNil() predicate.UserHistory
- func AvatarLocalFileLT(v string) predicate.UserHistory
- func AvatarLocalFileLTE(v string) predicate.UserHistory
- func AvatarLocalFileNEQ(v string) predicate.UserHistory
- func AvatarLocalFileNotIn(vs ...string) predicate.UserHistory
- func AvatarLocalFileNotNil() predicate.UserHistory
- func AvatarRemoteURL(v string) predicate.UserHistory
- func AvatarRemoteURLContains(v string) predicate.UserHistory
- func AvatarRemoteURLContainsFold(v string) predicate.UserHistory
- func AvatarRemoteURLEQ(v string) predicate.UserHistory
- func AvatarRemoteURLEqualFold(v string) predicate.UserHistory
- func AvatarRemoteURLGT(v string) predicate.UserHistory
- func AvatarRemoteURLGTE(v string) predicate.UserHistory
- func AvatarRemoteURLHasPrefix(v string) predicate.UserHistory
- func AvatarRemoteURLHasSuffix(v string) predicate.UserHistory
- func AvatarRemoteURLIn(vs ...string) predicate.UserHistory
- func AvatarRemoteURLIsNil() predicate.UserHistory
- func AvatarRemoteURLLT(v string) predicate.UserHistory
- func AvatarRemoteURLLTE(v string) predicate.UserHistory
- func AvatarRemoteURLNEQ(v string) predicate.UserHistory
- func AvatarRemoteURLNotIn(vs ...string) predicate.UserHistory
- func AvatarRemoteURLNotNil() predicate.UserHistory
- func AvatarUpdatedAt(v time.Time) predicate.UserHistory
- func AvatarUpdatedAtEQ(v time.Time) predicate.UserHistory
- func AvatarUpdatedAtGT(v time.Time) predicate.UserHistory
- func AvatarUpdatedAtGTE(v time.Time) predicate.UserHistory
- func AvatarUpdatedAtIn(vs ...time.Time) predicate.UserHistory
- func AvatarUpdatedAtIsNil() predicate.UserHistory
- func AvatarUpdatedAtLT(v time.Time) predicate.UserHistory
- func AvatarUpdatedAtLTE(v time.Time) predicate.UserHistory
- func AvatarUpdatedAtNEQ(v time.Time) predicate.UserHistory
- func AvatarUpdatedAtNotIn(vs ...time.Time) predicate.UserHistory
- func AvatarUpdatedAtNotNil() predicate.UserHistory
- func CreatedAt(v time.Time) predicate.UserHistory
- func CreatedAtEQ(v time.Time) predicate.UserHistory
- func CreatedAtGT(v time.Time) predicate.UserHistory
- func CreatedAtGTE(v time.Time) predicate.UserHistory
- func CreatedAtIn(vs ...time.Time) predicate.UserHistory
- func CreatedAtIsNil() predicate.UserHistory
- func CreatedAtLT(v time.Time) predicate.UserHistory
- func CreatedAtLTE(v time.Time) predicate.UserHistory
- func CreatedAtNEQ(v time.Time) predicate.UserHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.UserHistory
- func CreatedAtNotNil() predicate.UserHistory
- func CreatedBy(v string) predicate.UserHistory
- func CreatedByContains(v string) predicate.UserHistory
- func CreatedByContainsFold(v string) predicate.UserHistory
- func CreatedByEQ(v string) predicate.UserHistory
- func CreatedByEqualFold(v string) predicate.UserHistory
- func CreatedByGT(v string) predicate.UserHistory
- func CreatedByGTE(v string) predicate.UserHistory
- func CreatedByHasPrefix(v string) predicate.UserHistory
- func CreatedByHasSuffix(v string) predicate.UserHistory
- func CreatedByIn(vs ...string) predicate.UserHistory
- func CreatedByIsNil() predicate.UserHistory
- func CreatedByLT(v string) predicate.UserHistory
- func CreatedByLTE(v string) predicate.UserHistory
- func CreatedByNEQ(v string) predicate.UserHistory
- func CreatedByNotIn(vs ...string) predicate.UserHistory
- func CreatedByNotNil() predicate.UserHistory
- func DeletedAt(v time.Time) predicate.UserHistory
- func DeletedAtEQ(v time.Time) predicate.UserHistory
- func DeletedAtGT(v time.Time) predicate.UserHistory
- func DeletedAtGTE(v time.Time) predicate.UserHistory
- func DeletedAtIn(vs ...time.Time) predicate.UserHistory
- func DeletedAtIsNil() predicate.UserHistory
- func DeletedAtLT(v time.Time) predicate.UserHistory
- func DeletedAtLTE(v time.Time) predicate.UserHistory
- func DeletedAtNEQ(v time.Time) predicate.UserHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.UserHistory
- func DeletedAtNotNil() predicate.UserHistory
- func DeletedBy(v string) predicate.UserHistory
- func DeletedByContains(v string) predicate.UserHistory
- func DeletedByContainsFold(v string) predicate.UserHistory
- func DeletedByEQ(v string) predicate.UserHistory
- func DeletedByEqualFold(v string) predicate.UserHistory
- func DeletedByGT(v string) predicate.UserHistory
- func DeletedByGTE(v string) predicate.UserHistory
- func DeletedByHasPrefix(v string) predicate.UserHistory
- func DeletedByHasSuffix(v string) predicate.UserHistory
- func DeletedByIn(vs ...string) predicate.UserHistory
- func DeletedByIsNil() predicate.UserHistory
- func DeletedByLT(v string) predicate.UserHistory
- func DeletedByLTE(v string) predicate.UserHistory
- func DeletedByNEQ(v string) predicate.UserHistory
- func DeletedByNotIn(vs ...string) predicate.UserHistory
- func DeletedByNotNil() predicate.UserHistory
- func DisplayName(v string) predicate.UserHistory
- func DisplayNameContains(v string) predicate.UserHistory
- func DisplayNameContainsFold(v string) predicate.UserHistory
- func DisplayNameEQ(v string) predicate.UserHistory
- func DisplayNameEqualFold(v string) predicate.UserHistory
- func DisplayNameGT(v string) predicate.UserHistory
- func DisplayNameGTE(v string) predicate.UserHistory
- func DisplayNameHasPrefix(v string) predicate.UserHistory
- func DisplayNameHasSuffix(v string) predicate.UserHistory
- func DisplayNameIn(vs ...string) predicate.UserHistory
- func DisplayNameLT(v string) predicate.UserHistory
- func DisplayNameLTE(v string) predicate.UserHistory
- func DisplayNameNEQ(v string) predicate.UserHistory
- func DisplayNameNotIn(vs ...string) predicate.UserHistory
- func Email(v string) predicate.UserHistory
- func EmailContains(v string) predicate.UserHistory
- func EmailContainsFold(v string) predicate.UserHistory
- func EmailEQ(v string) predicate.UserHistory
- func EmailEqualFold(v string) predicate.UserHistory
- func EmailGT(v string) predicate.UserHistory
- func EmailGTE(v string) predicate.UserHistory
- func EmailHasPrefix(v string) predicate.UserHistory
- func EmailHasSuffix(v string) predicate.UserHistory
- func EmailIn(vs ...string) predicate.UserHistory
- func EmailLT(v string) predicate.UserHistory
- func EmailLTE(v string) predicate.UserHistory
- func EmailNEQ(v string) predicate.UserHistory
- func EmailNotIn(vs ...string) predicate.UserHistory
- func FirstName(v string) predicate.UserHistory
- func FirstNameContains(v string) predicate.UserHistory
- func FirstNameContainsFold(v string) predicate.UserHistory
- func FirstNameEQ(v string) predicate.UserHistory
- func FirstNameEqualFold(v string) predicate.UserHistory
- func FirstNameGT(v string) predicate.UserHistory
- func FirstNameGTE(v string) predicate.UserHistory
- func FirstNameHasPrefix(v string) predicate.UserHistory
- func FirstNameHasSuffix(v string) predicate.UserHistory
- func FirstNameIn(vs ...string) predicate.UserHistory
- func FirstNameIsNil() predicate.UserHistory
- func FirstNameLT(v string) predicate.UserHistory
- func FirstNameLTE(v string) predicate.UserHistory
- func FirstNameNEQ(v string) predicate.UserHistory
- func FirstNameNotIn(vs ...string) predicate.UserHistory
- func FirstNameNotNil() predicate.UserHistory
- func HistoryTime(v time.Time) predicate.UserHistory
- func HistoryTimeEQ(v time.Time) predicate.UserHistory
- func HistoryTimeGT(v time.Time) predicate.UserHistory
- func HistoryTimeGTE(v time.Time) predicate.UserHistory
- func HistoryTimeIn(vs ...time.Time) predicate.UserHistory
- func HistoryTimeLT(v time.Time) predicate.UserHistory
- func HistoryTimeLTE(v time.Time) predicate.UserHistory
- func HistoryTimeNEQ(v time.Time) predicate.UserHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.UserHistory
- func ID(id string) predicate.UserHistory
- func IDContainsFold(id string) predicate.UserHistory
- func IDEQ(id string) predicate.UserHistory
- func IDEqualFold(id string) predicate.UserHistory
- func IDGT(id string) predicate.UserHistory
- func IDGTE(id string) predicate.UserHistory
- func IDIn(ids ...string) predicate.UserHistory
- func IDLT(id string) predicate.UserHistory
- func IDLTE(id string) predicate.UserHistory
- func IDNEQ(id string) predicate.UserHistory
- func IDNotIn(ids ...string) predicate.UserHistory
- func LastName(v string) predicate.UserHistory
- func LastNameContains(v string) predicate.UserHistory
- func LastNameContainsFold(v string) predicate.UserHistory
- func LastNameEQ(v string) predicate.UserHistory
- func LastNameEqualFold(v string) predicate.UserHistory
- func LastNameGT(v string) predicate.UserHistory
- func LastNameGTE(v string) predicate.UserHistory
- func LastNameHasPrefix(v string) predicate.UserHistory
- func LastNameHasSuffix(v string) predicate.UserHistory
- func LastNameIn(vs ...string) predicate.UserHistory
- func LastNameIsNil() predicate.UserHistory
- func LastNameLT(v string) predicate.UserHistory
- func LastNameLTE(v string) predicate.UserHistory
- func LastNameNEQ(v string) predicate.UserHistory
- func LastNameNotIn(vs ...string) predicate.UserHistory
- func LastNameNotNil() predicate.UserHistory
- func LastSeen(v time.Time) predicate.UserHistory
- func LastSeenEQ(v time.Time) predicate.UserHistory
- func LastSeenGT(v time.Time) predicate.UserHistory
- func LastSeenGTE(v time.Time) predicate.UserHistory
- func LastSeenIn(vs ...time.Time) predicate.UserHistory
- func LastSeenIsNil() predicate.UserHistory
- func LastSeenLT(v time.Time) predicate.UserHistory
- func LastSeenLTE(v time.Time) predicate.UserHistory
- func LastSeenNEQ(v time.Time) predicate.UserHistory
- func LastSeenNotIn(vs ...time.Time) predicate.UserHistory
- func LastSeenNotNil() predicate.UserHistory
- func MappingID(v string) predicate.UserHistory
- func MappingIDContains(v string) predicate.UserHistory
- func MappingIDContainsFold(v string) predicate.UserHistory
- func MappingIDEQ(v string) predicate.UserHistory
- func MappingIDEqualFold(v string) predicate.UserHistory
- func MappingIDGT(v string) predicate.UserHistory
- func MappingIDGTE(v string) predicate.UserHistory
- func MappingIDHasPrefix(v string) predicate.UserHistory
- func MappingIDHasSuffix(v string) predicate.UserHistory
- func MappingIDIn(vs ...string) predicate.UserHistory
- func MappingIDLT(v string) predicate.UserHistory
- func MappingIDLTE(v string) predicate.UserHistory
- func MappingIDNEQ(v string) predicate.UserHistory
- func MappingIDNotIn(vs ...string) predicate.UserHistory
- func Not(p predicate.UserHistory) predicate.UserHistory
- func OperationEQ(v history.OpType) predicate.UserHistory
- func OperationIn(vs ...history.OpType) predicate.UserHistory
- func OperationNEQ(v history.OpType) predicate.UserHistory
- func OperationNotIn(vs ...history.OpType) predicate.UserHistory
- func OperationValidator(o history.OpType) error
- func Or(predicates ...predicate.UserHistory) predicate.UserHistory
- func Password(v string) predicate.UserHistory
- func PasswordContains(v string) predicate.UserHistory
- func PasswordContainsFold(v string) predicate.UserHistory
- func PasswordEQ(v string) predicate.UserHistory
- func PasswordEqualFold(v string) predicate.UserHistory
- func PasswordGT(v string) predicate.UserHistory
- func PasswordGTE(v string) predicate.UserHistory
- func PasswordHasPrefix(v string) predicate.UserHistory
- func PasswordHasSuffix(v string) predicate.UserHistory
- func PasswordIn(vs ...string) predicate.UserHistory
- func PasswordIsNil() predicate.UserHistory
- func PasswordLT(v string) predicate.UserHistory
- func PasswordLTE(v string) predicate.UserHistory
- func PasswordNEQ(v string) predicate.UserHistory
- func PasswordNotIn(vs ...string) predicate.UserHistory
- func PasswordNotNil() predicate.UserHistory
- func Ref(v string) predicate.UserHistory
- func RefContains(v string) predicate.UserHistory
- func RefContainsFold(v string) predicate.UserHistory
- func RefEQ(v string) predicate.UserHistory
- func RefEqualFold(v string) predicate.UserHistory
- func RefGT(v string) predicate.UserHistory
- func RefGTE(v string) predicate.UserHistory
- func RefHasPrefix(v string) predicate.UserHistory
- func RefHasSuffix(v string) predicate.UserHistory
- func RefIn(vs ...string) predicate.UserHistory
- func RefIsNil() predicate.UserHistory
- func RefLT(v string) predicate.UserHistory
- func RefLTE(v string) predicate.UserHistory
- func RefNEQ(v string) predicate.UserHistory
- func RefNotIn(vs ...string) predicate.UserHistory
- func RefNotNil() predicate.UserHistory
- func RoleEQ(v enums.Role) predicate.UserHistory
- func RoleIn(vs ...enums.Role) predicate.UserHistory
- func RoleIsNil() predicate.UserHistory
- func RoleNEQ(v enums.Role) predicate.UserHistory
- func RoleNotIn(vs ...enums.Role) predicate.UserHistory
- func RoleNotNil() predicate.UserHistory
- func RoleValidator(r enums.Role) error
- func Sub(v string) predicate.UserHistory
- func SubContains(v string) predicate.UserHistory
- func SubContainsFold(v string) predicate.UserHistory
- func SubEQ(v string) predicate.UserHistory
- func SubEqualFold(v string) predicate.UserHistory
- func SubGT(v string) predicate.UserHistory
- func SubGTE(v string) predicate.UserHistory
- func SubHasPrefix(v string) predicate.UserHistory
- func SubHasSuffix(v string) predicate.UserHistory
- func SubIn(vs ...string) predicate.UserHistory
- func SubIsNil() predicate.UserHistory
- func SubLT(v string) predicate.UserHistory
- func SubLTE(v string) predicate.UserHistory
- func SubNEQ(v string) predicate.UserHistory
- func SubNotIn(vs ...string) predicate.UserHistory
- func SubNotNil() predicate.UserHistory
- func TagsIsNil() predicate.UserHistory
- func TagsNotNil() predicate.UserHistory
- func UpdatedAt(v time.Time) predicate.UserHistory
- func UpdatedAtEQ(v time.Time) predicate.UserHistory
- func UpdatedAtGT(v time.Time) predicate.UserHistory
- func UpdatedAtGTE(v time.Time) predicate.UserHistory
- func UpdatedAtIn(vs ...time.Time) predicate.UserHistory
- func UpdatedAtIsNil() predicate.UserHistory
- func UpdatedAtLT(v time.Time) predicate.UserHistory
- func UpdatedAtLTE(v time.Time) predicate.UserHistory
- func UpdatedAtNEQ(v time.Time) predicate.UserHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserHistory
- func UpdatedAtNotNil() predicate.UserHistory
- func UpdatedBy(v string) predicate.UserHistory
- func UpdatedByContains(v string) predicate.UserHistory
- func UpdatedByContainsFold(v string) predicate.UserHistory
- func UpdatedByEQ(v string) predicate.UserHistory
- func UpdatedByEqualFold(v string) predicate.UserHistory
- func UpdatedByGT(v string) predicate.UserHistory
- func UpdatedByGTE(v string) predicate.UserHistory
- func UpdatedByHasPrefix(v string) predicate.UserHistory
- func UpdatedByHasSuffix(v string) predicate.UserHistory
- func UpdatedByIn(vs ...string) predicate.UserHistory
- func UpdatedByIsNil() predicate.UserHistory
- func UpdatedByLT(v string) predicate.UserHistory
- func UpdatedByLTE(v string) predicate.UserHistory
- func UpdatedByNEQ(v string) predicate.UserHistory
- func UpdatedByNotIn(vs ...string) predicate.UserHistory
- func UpdatedByNotNil() predicate.UserHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByAuthProvider(opts ...sql.OrderTermOption) OrderOption
- func ByAvatarLocalFile(opts ...sql.OrderTermOption) OrderOption
- func ByAvatarLocalFileID(opts ...sql.OrderTermOption) OrderOption
- func ByAvatarRemoteURL(opts ...sql.OrderTermOption) OrderOption
- func ByAvatarUpdatedAt(opts ...sql.OrderTermOption) 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 ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByFirstName(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastName(opts ...sql.OrderTermOption) OrderOption
- func ByLastSeen(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByRole(opts ...sql.OrderTermOption) OrderOption
- func BySub(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the userhistory type in the database. Label = "user_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" // 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" // 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" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldFirstName holds the string denoting the first_name field in the database. FieldFirstName = "first_name" // FieldLastName holds the string denoting the last_name field in the database. FieldLastName = "last_name" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // FieldAvatarRemoteURL holds the string denoting the avatar_remote_url field in the database. FieldAvatarRemoteURL = "avatar_remote_url" // FieldAvatarLocalFile holds the string denoting the avatar_local_file field in the database. FieldAvatarLocalFile = "avatar_local_file" // FieldAvatarLocalFileID holds the string denoting the avatar_local_file_id field in the database. FieldAvatarLocalFileID = "avatar_local_file_id" // FieldAvatarUpdatedAt holds the string denoting the avatar_updated_at field in the database. FieldAvatarUpdatedAt = "avatar_updated_at" // FieldLastSeen holds the string denoting the last_seen field in the database. FieldLastSeen = "last_seen" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldSub holds the string denoting the sub field in the database. FieldSub = "sub" // FieldAuthProvider holds the string denoting the auth_provider field in the database. FieldAuthProvider = "auth_provider" // FieldRole holds the string denoting the role field in the database. FieldRole = "role" // Table holds the table name of the userhistory in the database. Table = "user_history" )
const DefaultAuthProvider enums.AuthProvider = "CREDENTIALS"
const DefaultRole enums.Role = "USER"
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 // UpdateDefaultAvatarUpdatedAt holds the default value on update for the "avatar_updated_at" field. UpdateDefaultAvatarUpdatedAt func() time.Time // UpdateDefaultLastSeen holds the default value on update for the "last_seen" field. UpdateDefaultLastSeen func() time.Time // 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, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldEmail, FieldFirstName, FieldLastName, FieldDisplayName, FieldAvatarRemoteURL, FieldAvatarLocalFile, FieldAvatarLocalFileID, FieldAvatarUpdatedAt, FieldLastSeen, FieldPassword, FieldSub, FieldAuthProvider, FieldRole, }
Columns holds all SQL columns for userhistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserHistory) predicate.UserHistory
And groups predicates with the AND operator between them.
func AuthProviderEQ ¶
func AuthProviderEQ(v enums.AuthProvider) predicate.UserHistory
AuthProviderEQ applies the EQ predicate on the "auth_provider" field.
func AuthProviderIn ¶
func AuthProviderIn(vs ...enums.AuthProvider) predicate.UserHistory
AuthProviderIn applies the In predicate on the "auth_provider" field.
func AuthProviderNEQ ¶
func AuthProviderNEQ(v enums.AuthProvider) predicate.UserHistory
AuthProviderNEQ applies the NEQ predicate on the "auth_provider" field.
func AuthProviderNotIn ¶
func AuthProviderNotIn(vs ...enums.AuthProvider) predicate.UserHistory
AuthProviderNotIn applies the NotIn predicate on the "auth_provider" field.
func AuthProviderValidator ¶
func AuthProviderValidator(ap enums.AuthProvider) error
AuthProviderValidator is a validator for the "auth_provider" field enum values. It is called by the builders before save.
func AvatarLocalFile ¶
func AvatarLocalFile(v string) predicate.UserHistory
AvatarLocalFile applies equality check predicate on the "avatar_local_file" field. It's identical to AvatarLocalFileEQ.
func AvatarLocalFileContains ¶
func AvatarLocalFileContains(v string) predicate.UserHistory
AvatarLocalFileContains applies the Contains predicate on the "avatar_local_file" field.
func AvatarLocalFileContainsFold ¶
func AvatarLocalFileContainsFold(v string) predicate.UserHistory
AvatarLocalFileContainsFold applies the ContainsFold predicate on the "avatar_local_file" field.
func AvatarLocalFileEQ ¶
func AvatarLocalFileEQ(v string) predicate.UserHistory
AvatarLocalFileEQ applies the EQ predicate on the "avatar_local_file" field.
func AvatarLocalFileEqualFold ¶
func AvatarLocalFileEqualFold(v string) predicate.UserHistory
AvatarLocalFileEqualFold applies the EqualFold predicate on the "avatar_local_file" field.
func AvatarLocalFileGT ¶
func AvatarLocalFileGT(v string) predicate.UserHistory
AvatarLocalFileGT applies the GT predicate on the "avatar_local_file" field.
func AvatarLocalFileGTE ¶
func AvatarLocalFileGTE(v string) predicate.UserHistory
AvatarLocalFileGTE applies the GTE predicate on the "avatar_local_file" field.
func AvatarLocalFileHasPrefix ¶
func AvatarLocalFileHasPrefix(v string) predicate.UserHistory
AvatarLocalFileHasPrefix applies the HasPrefix predicate on the "avatar_local_file" field.
func AvatarLocalFileHasSuffix ¶
func AvatarLocalFileHasSuffix(v string) predicate.UserHistory
AvatarLocalFileHasSuffix applies the HasSuffix predicate on the "avatar_local_file" field.
func AvatarLocalFileID ¶ added in v0.3.0
func AvatarLocalFileID(v string) predicate.UserHistory
AvatarLocalFileID applies equality check predicate on the "avatar_local_file_id" field. It's identical to AvatarLocalFileIDEQ.
func AvatarLocalFileIDContains ¶ added in v0.3.0
func AvatarLocalFileIDContains(v string) predicate.UserHistory
AvatarLocalFileIDContains applies the Contains predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDContainsFold ¶ added in v0.3.0
func AvatarLocalFileIDContainsFold(v string) predicate.UserHistory
AvatarLocalFileIDContainsFold applies the ContainsFold predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDEQ ¶ added in v0.3.0
func AvatarLocalFileIDEQ(v string) predicate.UserHistory
AvatarLocalFileIDEQ applies the EQ predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDEqualFold ¶ added in v0.3.0
func AvatarLocalFileIDEqualFold(v string) predicate.UserHistory
AvatarLocalFileIDEqualFold applies the EqualFold predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDGT ¶ added in v0.3.0
func AvatarLocalFileIDGT(v string) predicate.UserHistory
AvatarLocalFileIDGT applies the GT predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDGTE ¶ added in v0.3.0
func AvatarLocalFileIDGTE(v string) predicate.UserHistory
AvatarLocalFileIDGTE applies the GTE predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDHasPrefix ¶ added in v0.3.0
func AvatarLocalFileIDHasPrefix(v string) predicate.UserHistory
AvatarLocalFileIDHasPrefix applies the HasPrefix predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDHasSuffix ¶ added in v0.3.0
func AvatarLocalFileIDHasSuffix(v string) predicate.UserHistory
AvatarLocalFileIDHasSuffix applies the HasSuffix predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDIn ¶ added in v0.3.0
func AvatarLocalFileIDIn(vs ...string) predicate.UserHistory
AvatarLocalFileIDIn applies the In predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDIsNil ¶ added in v0.3.0
func AvatarLocalFileIDIsNil() predicate.UserHistory
AvatarLocalFileIDIsNil applies the IsNil predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDLT ¶ added in v0.3.0
func AvatarLocalFileIDLT(v string) predicate.UserHistory
AvatarLocalFileIDLT applies the LT predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDLTE ¶ added in v0.3.0
func AvatarLocalFileIDLTE(v string) predicate.UserHistory
AvatarLocalFileIDLTE applies the LTE predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDNEQ ¶ added in v0.3.0
func AvatarLocalFileIDNEQ(v string) predicate.UserHistory
AvatarLocalFileIDNEQ applies the NEQ predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDNotIn ¶ added in v0.3.0
func AvatarLocalFileIDNotIn(vs ...string) predicate.UserHistory
AvatarLocalFileIDNotIn applies the NotIn predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIDNotNil ¶ added in v0.3.0
func AvatarLocalFileIDNotNil() predicate.UserHistory
AvatarLocalFileIDNotNil applies the NotNil predicate on the "avatar_local_file_id" field.
func AvatarLocalFileIn ¶
func AvatarLocalFileIn(vs ...string) predicate.UserHistory
AvatarLocalFileIn applies the In predicate on the "avatar_local_file" field.
func AvatarLocalFileIsNil ¶
func AvatarLocalFileIsNil() predicate.UserHistory
AvatarLocalFileIsNil applies the IsNil predicate on the "avatar_local_file" field.
func AvatarLocalFileLT ¶
func AvatarLocalFileLT(v string) predicate.UserHistory
AvatarLocalFileLT applies the LT predicate on the "avatar_local_file" field.
func AvatarLocalFileLTE ¶
func AvatarLocalFileLTE(v string) predicate.UserHistory
AvatarLocalFileLTE applies the LTE predicate on the "avatar_local_file" field.
func AvatarLocalFileNEQ ¶
func AvatarLocalFileNEQ(v string) predicate.UserHistory
AvatarLocalFileNEQ applies the NEQ predicate on the "avatar_local_file" field.
func AvatarLocalFileNotIn ¶
func AvatarLocalFileNotIn(vs ...string) predicate.UserHistory
AvatarLocalFileNotIn applies the NotIn predicate on the "avatar_local_file" field.
func AvatarLocalFileNotNil ¶
func AvatarLocalFileNotNil() predicate.UserHistory
AvatarLocalFileNotNil applies the NotNil predicate on the "avatar_local_file" field.
func AvatarRemoteURL ¶
func AvatarRemoteURL(v string) predicate.UserHistory
AvatarRemoteURL applies equality check predicate on the "avatar_remote_url" field. It's identical to AvatarRemoteURLEQ.
func AvatarRemoteURLContains ¶
func AvatarRemoteURLContains(v string) predicate.UserHistory
AvatarRemoteURLContains applies the Contains predicate on the "avatar_remote_url" field.
func AvatarRemoteURLContainsFold ¶
func AvatarRemoteURLContainsFold(v string) predicate.UserHistory
AvatarRemoteURLContainsFold applies the ContainsFold predicate on the "avatar_remote_url" field.
func AvatarRemoteURLEQ ¶
func AvatarRemoteURLEQ(v string) predicate.UserHistory
AvatarRemoteURLEQ applies the EQ predicate on the "avatar_remote_url" field.
func AvatarRemoteURLEqualFold ¶
func AvatarRemoteURLEqualFold(v string) predicate.UserHistory
AvatarRemoteURLEqualFold applies the EqualFold predicate on the "avatar_remote_url" field.
func AvatarRemoteURLGT ¶
func AvatarRemoteURLGT(v string) predicate.UserHistory
AvatarRemoteURLGT applies the GT predicate on the "avatar_remote_url" field.
func AvatarRemoteURLGTE ¶
func AvatarRemoteURLGTE(v string) predicate.UserHistory
AvatarRemoteURLGTE applies the GTE predicate on the "avatar_remote_url" field.
func AvatarRemoteURLHasPrefix ¶
func AvatarRemoteURLHasPrefix(v string) predicate.UserHistory
AvatarRemoteURLHasPrefix applies the HasPrefix predicate on the "avatar_remote_url" field.
func AvatarRemoteURLHasSuffix ¶
func AvatarRemoteURLHasSuffix(v string) predicate.UserHistory
AvatarRemoteURLHasSuffix applies the HasSuffix predicate on the "avatar_remote_url" field.
func AvatarRemoteURLIn ¶
func AvatarRemoteURLIn(vs ...string) predicate.UserHistory
AvatarRemoteURLIn applies the In predicate on the "avatar_remote_url" field.
func AvatarRemoteURLIsNil ¶
func AvatarRemoteURLIsNil() predicate.UserHistory
AvatarRemoteURLIsNil applies the IsNil predicate on the "avatar_remote_url" field.
func AvatarRemoteURLLT ¶
func AvatarRemoteURLLT(v string) predicate.UserHistory
AvatarRemoteURLLT applies the LT predicate on the "avatar_remote_url" field.
func AvatarRemoteURLLTE ¶
func AvatarRemoteURLLTE(v string) predicate.UserHistory
AvatarRemoteURLLTE applies the LTE predicate on the "avatar_remote_url" field.
func AvatarRemoteURLNEQ ¶
func AvatarRemoteURLNEQ(v string) predicate.UserHistory
AvatarRemoteURLNEQ applies the NEQ predicate on the "avatar_remote_url" field.
func AvatarRemoteURLNotIn ¶
func AvatarRemoteURLNotIn(vs ...string) predicate.UserHistory
AvatarRemoteURLNotIn applies the NotIn predicate on the "avatar_remote_url" field.
func AvatarRemoteURLNotNil ¶
func AvatarRemoteURLNotNil() predicate.UserHistory
AvatarRemoteURLNotNil applies the NotNil predicate on the "avatar_remote_url" field.
func AvatarUpdatedAt ¶
func AvatarUpdatedAt(v time.Time) predicate.UserHistory
AvatarUpdatedAt applies equality check predicate on the "avatar_updated_at" field. It's identical to AvatarUpdatedAtEQ.
func AvatarUpdatedAtEQ ¶
func AvatarUpdatedAtEQ(v time.Time) predicate.UserHistory
AvatarUpdatedAtEQ applies the EQ predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtGT ¶
func AvatarUpdatedAtGT(v time.Time) predicate.UserHistory
AvatarUpdatedAtGT applies the GT predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtGTE ¶
func AvatarUpdatedAtGTE(v time.Time) predicate.UserHistory
AvatarUpdatedAtGTE applies the GTE predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtIn ¶
func AvatarUpdatedAtIn(vs ...time.Time) predicate.UserHistory
AvatarUpdatedAtIn applies the In predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtIsNil ¶
func AvatarUpdatedAtIsNil() predicate.UserHistory
AvatarUpdatedAtIsNil applies the IsNil predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtLT ¶
func AvatarUpdatedAtLT(v time.Time) predicate.UserHistory
AvatarUpdatedAtLT applies the LT predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtLTE ¶
func AvatarUpdatedAtLTE(v time.Time) predicate.UserHistory
AvatarUpdatedAtLTE applies the LTE predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtNEQ ¶
func AvatarUpdatedAtNEQ(v time.Time) predicate.UserHistory
AvatarUpdatedAtNEQ applies the NEQ predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtNotIn ¶
func AvatarUpdatedAtNotIn(vs ...time.Time) predicate.UserHistory
AvatarUpdatedAtNotIn applies the NotIn predicate on the "avatar_updated_at" field.
func AvatarUpdatedAtNotNil ¶
func AvatarUpdatedAtNotNil() predicate.UserHistory
AvatarUpdatedAtNotNil applies the NotNil predicate on the "avatar_updated_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.UserHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.UserHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.UserHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.UserHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.UserHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.UserHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.UserHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.UserHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.UserHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.UserHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.UserHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.UserHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.UserHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.UserHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.UserHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.UserHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.UserHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.UserHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.UserHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.UserHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.UserHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.UserHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.UserHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.UserHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.UserHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.UserHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.UserHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.UserHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.UserHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.UserHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.UserHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.UserHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.UserHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.UserHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.UserHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.UserHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.UserHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.UserHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.UserHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.UserHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.UserHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.UserHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.UserHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.UserHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.UserHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func DisplayName ¶
func DisplayName(v string) predicate.UserHistory
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
func DisplayNameContains(v string) predicate.UserHistory
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
func DisplayNameContainsFold(v string) predicate.UserHistory
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
func DisplayNameEQ(v string) predicate.UserHistory
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
func DisplayNameEqualFold(v string) predicate.UserHistory
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
func DisplayNameGT(v string) predicate.UserHistory
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
func DisplayNameGTE(v string) predicate.UserHistory
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
func DisplayNameHasPrefix(v string) predicate.UserHistory
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
func DisplayNameHasSuffix(v string) predicate.UserHistory
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
func DisplayNameIn(vs ...string) predicate.UserHistory
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
func DisplayNameLT(v string) predicate.UserHistory
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
func DisplayNameLTE(v string) predicate.UserHistory
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
func DisplayNameNEQ(v string) predicate.UserHistory
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
func DisplayNameNotIn(vs ...string) predicate.UserHistory
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func Email ¶
func Email(v string) predicate.UserHistory
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.UserHistory
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.UserHistory
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.UserHistory
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.UserHistory
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.UserHistory
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.UserHistory
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.UserHistory
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.UserHistory
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.UserHistory
EmailIn applies the In predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.UserHistory
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.UserHistory
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.UserHistory
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.UserHistory
EmailNotIn applies the NotIn predicate on the "email" field.
func FirstName ¶
func FirstName(v string) predicate.UserHistory
FirstName applies equality check predicate on the "first_name" field. It's identical to FirstNameEQ.
func FirstNameContains ¶
func FirstNameContains(v string) predicate.UserHistory
FirstNameContains applies the Contains predicate on the "first_name" field.
func FirstNameContainsFold ¶
func FirstNameContainsFold(v string) predicate.UserHistory
FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.
func FirstNameEQ ¶
func FirstNameEQ(v string) predicate.UserHistory
FirstNameEQ applies the EQ predicate on the "first_name" field.
func FirstNameEqualFold ¶
func FirstNameEqualFold(v string) predicate.UserHistory
FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.
func FirstNameGT ¶
func FirstNameGT(v string) predicate.UserHistory
FirstNameGT applies the GT predicate on the "first_name" field.
func FirstNameGTE ¶
func FirstNameGTE(v string) predicate.UserHistory
FirstNameGTE applies the GTE predicate on the "first_name" field.
func FirstNameHasPrefix ¶
func FirstNameHasPrefix(v string) predicate.UserHistory
FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.
func FirstNameHasSuffix ¶
func FirstNameHasSuffix(v string) predicate.UserHistory
FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.
func FirstNameIn ¶
func FirstNameIn(vs ...string) predicate.UserHistory
FirstNameIn applies the In predicate on the "first_name" field.
func FirstNameIsNil ¶
func FirstNameIsNil() predicate.UserHistory
FirstNameIsNil applies the IsNil predicate on the "first_name" field.
func FirstNameLT ¶
func FirstNameLT(v string) predicate.UserHistory
FirstNameLT applies the LT predicate on the "first_name" field.
func FirstNameLTE ¶
func FirstNameLTE(v string) predicate.UserHistory
FirstNameLTE applies the LTE predicate on the "first_name" field.
func FirstNameNEQ ¶
func FirstNameNEQ(v string) predicate.UserHistory
FirstNameNEQ applies the NEQ predicate on the "first_name" field.
func FirstNameNotIn ¶
func FirstNameNotIn(vs ...string) predicate.UserHistory
FirstNameNotIn applies the NotIn predicate on the "first_name" field.
func FirstNameNotNil ¶
func FirstNameNotNil() predicate.UserHistory
FirstNameNotNil applies the NotNil predicate on the "first_name" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.UserHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.UserHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.UserHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.UserHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.UserHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.UserHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.UserHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.UserHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.UserHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.UserHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.UserHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.UserHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.UserHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.UserHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.UserHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.UserHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.UserHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.UserHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.UserHistory
IDNotIn applies the NotIn predicate on the ID field.
func LastName ¶
func LastName(v string) predicate.UserHistory
LastName applies equality check predicate on the "last_name" field. It's identical to LastNameEQ.
func LastNameContains ¶
func LastNameContains(v string) predicate.UserHistory
LastNameContains applies the Contains predicate on the "last_name" field.
func LastNameContainsFold ¶
func LastNameContainsFold(v string) predicate.UserHistory
LastNameContainsFold applies the ContainsFold predicate on the "last_name" field.
func LastNameEQ ¶
func LastNameEQ(v string) predicate.UserHistory
LastNameEQ applies the EQ predicate on the "last_name" field.
func LastNameEqualFold ¶
func LastNameEqualFold(v string) predicate.UserHistory
LastNameEqualFold applies the EqualFold predicate on the "last_name" field.
func LastNameGT ¶
func LastNameGT(v string) predicate.UserHistory
LastNameGT applies the GT predicate on the "last_name" field.
func LastNameGTE ¶
func LastNameGTE(v string) predicate.UserHistory
LastNameGTE applies the GTE predicate on the "last_name" field.
func LastNameHasPrefix ¶
func LastNameHasPrefix(v string) predicate.UserHistory
LastNameHasPrefix applies the HasPrefix predicate on the "last_name" field.
func LastNameHasSuffix ¶
func LastNameHasSuffix(v string) predicate.UserHistory
LastNameHasSuffix applies the HasSuffix predicate on the "last_name" field.
func LastNameIn ¶
func LastNameIn(vs ...string) predicate.UserHistory
LastNameIn applies the In predicate on the "last_name" field.
func LastNameIsNil ¶
func LastNameIsNil() predicate.UserHistory
LastNameIsNil applies the IsNil predicate on the "last_name" field.
func LastNameLT ¶
func LastNameLT(v string) predicate.UserHistory
LastNameLT applies the LT predicate on the "last_name" field.
func LastNameLTE ¶
func LastNameLTE(v string) predicate.UserHistory
LastNameLTE applies the LTE predicate on the "last_name" field.
func LastNameNEQ ¶
func LastNameNEQ(v string) predicate.UserHistory
LastNameNEQ applies the NEQ predicate on the "last_name" field.
func LastNameNotIn ¶
func LastNameNotIn(vs ...string) predicate.UserHistory
LastNameNotIn applies the NotIn predicate on the "last_name" field.
func LastNameNotNil ¶
func LastNameNotNil() predicate.UserHistory
LastNameNotNil applies the NotNil predicate on the "last_name" field.
func LastSeen ¶
func LastSeen(v time.Time) predicate.UserHistory
LastSeen applies equality check predicate on the "last_seen" field. It's identical to LastSeenEQ.
func LastSeenEQ ¶
func LastSeenEQ(v time.Time) predicate.UserHistory
LastSeenEQ applies the EQ predicate on the "last_seen" field.
func LastSeenGT ¶
func LastSeenGT(v time.Time) predicate.UserHistory
LastSeenGT applies the GT predicate on the "last_seen" field.
func LastSeenGTE ¶
func LastSeenGTE(v time.Time) predicate.UserHistory
LastSeenGTE applies the GTE predicate on the "last_seen" field.
func LastSeenIn ¶
func LastSeenIn(vs ...time.Time) predicate.UserHistory
LastSeenIn applies the In predicate on the "last_seen" field.
func LastSeenIsNil ¶
func LastSeenIsNil() predicate.UserHistory
LastSeenIsNil applies the IsNil predicate on the "last_seen" field.
func LastSeenLT ¶
func LastSeenLT(v time.Time) predicate.UserHistory
LastSeenLT applies the LT predicate on the "last_seen" field.
func LastSeenLTE ¶
func LastSeenLTE(v time.Time) predicate.UserHistory
LastSeenLTE applies the LTE predicate on the "last_seen" field.
func LastSeenNEQ ¶
func LastSeenNEQ(v time.Time) predicate.UserHistory
LastSeenNEQ applies the NEQ predicate on the "last_seen" field.
func LastSeenNotIn ¶
func LastSeenNotIn(vs ...time.Time) predicate.UserHistory
LastSeenNotIn applies the NotIn predicate on the "last_seen" field.
func LastSeenNotNil ¶
func LastSeenNotNil() predicate.UserHistory
LastSeenNotNil applies the NotNil predicate on the "last_seen" field.
func MappingID ¶
func MappingID(v string) predicate.UserHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.UserHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.UserHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.UserHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.UserHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.UserHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.UserHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.UserHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.UserHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.UserHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.UserHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.UserHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.UserHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.UserHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.UserHistory) predicate.UserHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v history.OpType) predicate.UserHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...history.OpType) predicate.UserHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v history.OpType) predicate.UserHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...history.OpType) predicate.UserHistory
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.UserHistory) predicate.UserHistory
Or groups predicates with the OR operator between them.
func Password ¶
func Password(v string) predicate.UserHistory
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
func PasswordContains(v string) predicate.UserHistory
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
func PasswordContainsFold(v string) predicate.UserHistory
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
func PasswordEQ(v string) predicate.UserHistory
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
func PasswordEqualFold(v string) predicate.UserHistory
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
func PasswordGT(v string) predicate.UserHistory
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
func PasswordGTE(v string) predicate.UserHistory
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
func PasswordHasPrefix(v string) predicate.UserHistory
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
func PasswordHasSuffix(v string) predicate.UserHistory
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
func PasswordIn(vs ...string) predicate.UserHistory
PasswordIn applies the In predicate on the "password" field.
func PasswordIsNil ¶
func PasswordIsNil() predicate.UserHistory
PasswordIsNil applies the IsNil predicate on the "password" field.
func PasswordLT ¶
func PasswordLT(v string) predicate.UserHistory
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
func PasswordLTE(v string) predicate.UserHistory
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
func PasswordNEQ(v string) predicate.UserHistory
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
func PasswordNotIn(vs ...string) predicate.UserHistory
PasswordNotIn applies the NotIn predicate on the "password" field.
func PasswordNotNil ¶
func PasswordNotNil() predicate.UserHistory
PasswordNotNil applies the NotNil predicate on the "password" field.
func Ref ¶
func Ref(v string) predicate.UserHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.UserHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.UserHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.UserHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.UserHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.UserHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.UserHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.UserHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.UserHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.UserHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.UserHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.UserHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.UserHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.UserHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.UserHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.UserHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func RoleEQ ¶
func RoleEQ(v enums.Role) predicate.UserHistory
RoleEQ applies the EQ predicate on the "role" field.
func RoleIn ¶
func RoleIn(vs ...enums.Role) predicate.UserHistory
RoleIn applies the In predicate on the "role" field.
func RoleIsNil ¶
func RoleIsNil() predicate.UserHistory
RoleIsNil applies the IsNil predicate on the "role" field.
func RoleNEQ ¶
func RoleNEQ(v enums.Role) predicate.UserHistory
RoleNEQ applies the NEQ predicate on the "role" field.
func RoleNotIn ¶
func RoleNotIn(vs ...enums.Role) predicate.UserHistory
RoleNotIn applies the NotIn predicate on the "role" field.
func RoleNotNil ¶
func RoleNotNil() predicate.UserHistory
RoleNotNil applies the NotNil predicate on the "role" field.
func RoleValidator ¶
RoleValidator is a validator for the "role" field enum values. It is called by the builders before save.
func Sub ¶
func Sub(v string) predicate.UserHistory
Sub applies equality check predicate on the "sub" field. It's identical to SubEQ.
func SubContains ¶
func SubContains(v string) predicate.UserHistory
SubContains applies the Contains predicate on the "sub" field.
func SubContainsFold ¶
func SubContainsFold(v string) predicate.UserHistory
SubContainsFold applies the ContainsFold predicate on the "sub" field.
func SubEQ ¶
func SubEQ(v string) predicate.UserHistory
SubEQ applies the EQ predicate on the "sub" field.
func SubEqualFold ¶
func SubEqualFold(v string) predicate.UserHistory
SubEqualFold applies the EqualFold predicate on the "sub" field.
func SubGT ¶
func SubGT(v string) predicate.UserHistory
SubGT applies the GT predicate on the "sub" field.
func SubGTE ¶
func SubGTE(v string) predicate.UserHistory
SubGTE applies the GTE predicate on the "sub" field.
func SubHasPrefix ¶
func SubHasPrefix(v string) predicate.UserHistory
SubHasPrefix applies the HasPrefix predicate on the "sub" field.
func SubHasSuffix ¶
func SubHasSuffix(v string) predicate.UserHistory
SubHasSuffix applies the HasSuffix predicate on the "sub" field.
func SubIn ¶
func SubIn(vs ...string) predicate.UserHistory
SubIn applies the In predicate on the "sub" field.
func SubIsNil ¶
func SubIsNil() predicate.UserHistory
SubIsNil applies the IsNil predicate on the "sub" field.
func SubLT ¶
func SubLT(v string) predicate.UserHistory
SubLT applies the LT predicate on the "sub" field.
func SubLTE ¶
func SubLTE(v string) predicate.UserHistory
SubLTE applies the LTE predicate on the "sub" field.
func SubNEQ ¶
func SubNEQ(v string) predicate.UserHistory
SubNEQ applies the NEQ predicate on the "sub" field.
func SubNotIn ¶
func SubNotIn(vs ...string) predicate.UserHistory
SubNotIn applies the NotIn predicate on the "sub" field.
func SubNotNil ¶
func SubNotNil() predicate.UserHistory
SubNotNil applies the NotNil predicate on the "sub" field.
func TagsIsNil ¶
func TagsIsNil() predicate.UserHistory
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.UserHistory
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.UserHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.UserHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.UserHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.UserHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.UserHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.UserHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.UserHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.UserHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.UserHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.UserHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.UserHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.UserHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.UserHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.UserHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.UserHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.UserHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.UserHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.UserHistory
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 UserHistory queries.
func ByAuthProvider ¶
func ByAuthProvider(opts ...sql.OrderTermOption) OrderOption
ByAuthProvider orders the results by the auth_provider field.
func ByAvatarLocalFile ¶
func ByAvatarLocalFile(opts ...sql.OrderTermOption) OrderOption
ByAvatarLocalFile orders the results by the avatar_local_file field.
func ByAvatarLocalFileID ¶ added in v0.3.0
func ByAvatarLocalFileID(opts ...sql.OrderTermOption) OrderOption
ByAvatarLocalFileID orders the results by the avatar_local_file_id field.
func ByAvatarRemoteURL ¶
func ByAvatarRemoteURL(opts ...sql.OrderTermOption) OrderOption
ByAvatarRemoteURL orders the results by the avatar_remote_url field.
func ByAvatarUpdatedAt ¶
func ByAvatarUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByAvatarUpdatedAt orders the results by the avatar_updated_at field.
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 ByDisplayName ¶
func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
ByDisplayName orders the results by the display_name field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByFirstName ¶
func ByFirstName(opts ...sql.OrderTermOption) OrderOption
ByFirstName orders the results by the first_name 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 ByLastName ¶
func ByLastName(opts ...sql.OrderTermOption) OrderOption
ByLastName orders the results by the last_name field.
func ByLastSeen ¶
func ByLastSeen(opts ...sql.OrderTermOption) OrderOption
ByLastSeen orders the results by the last_seen 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 ByPassword ¶
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func ByRole ¶
func ByRole(opts ...sql.OrderTermOption) OrderOption
ByRole orders the results by the role field.
func BySub ¶
func BySub(opts ...sql.OrderTermOption) OrderOption
BySub orders the results by the sub 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.