userhistory

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// 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"
	// 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"
)
View Source
const DefaultAuthProvider enums.AuthProvider = "CREDENTIALS"
View Source
const DefaultRole enums.Role = "USER"

Variables

View Source
var (
	// 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
	// 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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

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 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 added in v0.5.2

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 added in v0.5.2

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 ID

ID filters vertices based on their ID 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 added in v0.5.2

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 added in v0.5.2

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 added in v0.5.0

func MappingID(v string) predicate.UserHistory

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains added in v0.5.0

func MappingIDContains(v string) predicate.UserHistory

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold added in v0.5.0

func MappingIDContainsFold(v string) predicate.UserHistory

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ added in v0.5.0

func MappingIDEQ(v string) predicate.UserHistory

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold added in v0.5.0

func MappingIDEqualFold(v string) predicate.UserHistory

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT added in v0.5.0

func MappingIDGT(v string) predicate.UserHistory

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE added in v0.5.0

func MappingIDGTE(v string) predicate.UserHistory

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix added in v0.5.0

func MappingIDHasPrefix(v string) predicate.UserHistory

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix added in v0.5.0

func MappingIDHasSuffix(v string) predicate.UserHistory

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn added in v0.5.0

func MappingIDIn(vs ...string) predicate.UserHistory

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT added in v0.5.0

func MappingIDLT(v string) predicate.UserHistory

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE added in v0.5.0

func MappingIDLTE(v string) predicate.UserHistory

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ added in v0.5.0

func MappingIDNEQ(v string) predicate.UserHistory

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn added in v0.5.0

func MappingIDNotIn(vs ...string) predicate.UserHistory

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func OperationEQ

func OperationEQ(v enthistory.OpType) predicate.UserHistory

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

func OperationIn(vs ...enthistory.OpType) predicate.UserHistory

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

func OperationNEQ(v enthistory.OpType) predicate.UserHistory

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...enthistory.OpType) predicate.UserHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o enthistory.OpType) error

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

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 added in v0.5.0

func RoleEQ(v enums.Role) predicate.UserHistory

RoleEQ applies the EQ predicate on the "role" field.

func RoleIn added in v0.5.0

func RoleIn(vs ...enums.Role) predicate.UserHistory

RoleIn applies the In predicate on the "role" field.

func RoleIsNil added in v0.5.0

func RoleIsNil() predicate.UserHistory

RoleIsNil applies the IsNil predicate on the "role" field.

func RoleNEQ added in v0.5.0

func RoleNEQ(v enums.Role) predicate.UserHistory

RoleNEQ applies the NEQ predicate on the "role" field.

func RoleNotIn added in v0.5.0

func RoleNotIn(vs ...enums.Role) predicate.UserHistory

RoleNotIn applies the NotIn predicate on the "role" field.

func RoleNotNil added in v0.5.0

func RoleNotNil() predicate.UserHistory

RoleNotNil applies the NotNil predicate on the "role" field.

func RoleValidator added in v0.5.0

func RoleValidator(r enums.Role) error

RoleValidator is a validator for the "role" field enum values. It is called by the builders before save.

func Sub

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 added in v0.5.2

func TagsIsNil() predicate.UserHistory

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil added in v0.5.2

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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 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 added in v0.5.0

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 added in v0.5.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL