Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserHistory) 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 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 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 FirstNameLT(v string) predicate.UserHistory
- func FirstNameLTE(v string) predicate.UserHistory
- func FirstNameNEQ(v string) predicate.UserHistory
- func FirstNameNotIn(vs ...string) 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 int) predicate.UserHistory
- func IDEQ(id int) predicate.UserHistory
- func IDGT(id int) predicate.UserHistory
- func IDGTE(id int) predicate.UserHistory
- func IDIn(ids ...int) predicate.UserHistory
- func IDLT(id int) predicate.UserHistory
- func IDLTE(id int) predicate.UserHistory
- func IDNEQ(id int) predicate.UserHistory
- func IDNotIn(ids ...int) predicate.UserHistory
- func IsAdmin(v bool) predicate.UserHistory
- func IsAdminEQ(v bool) predicate.UserHistory
- func IsAdminIsNil() predicate.UserHistory
- func IsAdminNEQ(v bool) predicate.UserHistory
- func IsAdminNotNil() 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 LastNameLT(v string) predicate.UserHistory
- func LastNameLTE(v string) predicate.UserHistory
- func LastNameNEQ(v string) predicate.UserHistory
- func LastNameNotIn(vs ...string) predicate.UserHistory
- func Not(p predicate.UserHistory) predicate.UserHistory
- func OperationEQ(v enthistory.OpType) predicate.UserHistory
- func OperationIn(vs ...enthistory.OpType) predicate.UserHistory
- func OperationNEQ(v enthistory.OpType) predicate.UserHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.UserHistory
- func OperationValidator(o enthistory.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 PasswordLT(v string) predicate.UserHistory
- func PasswordLTE(v string) predicate.UserHistory
- func PasswordNEQ(v string) predicate.UserHistory
- func PasswordNotIn(vs ...string) predicate.UserHistory
- func Ref(v int) predicate.UserHistory
- func RefEQ(v int) predicate.UserHistory
- func RefGT(v int) predicate.UserHistory
- func RefGTE(v int) predicate.UserHistory
- func RefIn(vs ...int) predicate.UserHistory
- func RefIsNil() predicate.UserHistory
- func RefLT(v int) predicate.UserHistory
- func RefLTE(v int) predicate.UserHistory
- func RefNEQ(v int) predicate.UserHistory
- func RefNotIn(vs ...int) predicate.UserHistory
- func RefNotNil() predicate.UserHistory
- func UUID(v uuid.UUID) predicate.UserHistory
- func UUIDEQ(v uuid.UUID) predicate.UserHistory
- func UUIDGT(v uuid.UUID) predicate.UserHistory
- func UUIDGTE(v uuid.UUID) predicate.UserHistory
- func UUIDIn(vs ...uuid.UUID) predicate.UserHistory
- func UUIDLT(v uuid.UUID) predicate.UserHistory
- func UUIDLTE(v uuid.UUID) predicate.UserHistory
- func UUIDNEQ(v uuid.UUID) predicate.UserHistory
- func UUIDNotIn(vs ...uuid.UUID) 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 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 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 Username(v string) predicate.UserHistory
- func UsernameContains(v string) predicate.UserHistory
- func UsernameContainsFold(v string) predicate.UserHistory
- func UsernameEQ(v string) predicate.UserHistory
- func UsernameEqualFold(v string) predicate.UserHistory
- func UsernameGT(v string) predicate.UserHistory
- func UsernameGTE(v string) predicate.UserHistory
- func UsernameHasPrefix(v string) predicate.UserHistory
- func UsernameHasSuffix(v string) predicate.UserHistory
- func UsernameIn(vs ...string) predicate.UserHistory
- func UsernameLT(v string) predicate.UserHistory
- func UsernameLTE(v string) predicate.UserHistory
- func UsernameNEQ(v string) predicate.UserHistory
- func UsernameNotIn(vs ...string) predicate.UserHistory
- func ValidColumn(column string) bool
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" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // 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" // 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" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldIsAdmin holds the string denoting the is_admin field in the database. FieldIsAdmin = "is_admin" // Table holds the table name of the userhistory in the database. Table = "user_history" )
Variables ¶
var ( // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // DefaultUUID holds the default value on creation for the "uuid" field. DefaultUUID func() uuid.UUID // 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 // UsernameValidator is a validator for the "username" field. It is called by the builders before save. UsernameValidator func(string) error // DefaultIsAdmin holds the default value on creation for the "is_admin" field. DefaultIsAdmin bool )
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldUpdatedBy, FieldUUID, FieldCreatedAt, FieldUpdatedAt, FieldFirstName, FieldLastName, FieldUsername, FieldEmail, FieldPassword, FieldIsAdmin, }
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 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 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 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 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 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 IDGTE ¶
func IDGTE(id int) predicate.UserHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserHistory
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserHistory
IDNotIn applies the NotIn predicate on the ID field.
func IsAdmin ¶
func IsAdmin(v bool) predicate.UserHistory
IsAdmin applies equality check predicate on the "is_admin" field. It's identical to IsAdminEQ.
func IsAdminEQ ¶
func IsAdminEQ(v bool) predicate.UserHistory
IsAdminEQ applies the EQ predicate on the "is_admin" field.
func IsAdminIsNil ¶
func IsAdminIsNil() predicate.UserHistory
IsAdminIsNil applies the IsNil predicate on the "is_admin" field.
func IsAdminNEQ ¶
func IsAdminNEQ(v bool) predicate.UserHistory
IsAdminNEQ applies the NEQ predicate on the "is_admin" field.
func IsAdminNotNil ¶
func IsAdminNotNil() predicate.UserHistory
IsAdminNotNil applies the NotNil predicate on the "is_admin" 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 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 Not ¶
func Not(p predicate.UserHistory) predicate.UserHistory
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 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 Ref ¶
func Ref(v int) predicate.UserHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefEQ ¶
func RefEQ(v int) predicate.UserHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefGT ¶
func RefGT(v int) predicate.UserHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v int) predicate.UserHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...int) 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 int) predicate.UserHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v int) predicate.UserHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v int) predicate.UserHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...int) 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 UUID ¶
func UUID(v uuid.UUID) predicate.UserHistory
UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.
func UUIDEQ ¶
func UUIDEQ(v uuid.UUID) predicate.UserHistory
UUIDEQ applies the EQ predicate on the "uuid" field.
func UUIDGT ¶
func UUIDGT(v uuid.UUID) predicate.UserHistory
UUIDGT applies the GT predicate on the "uuid" field.
func UUIDGTE ¶
func UUIDGTE(v uuid.UUID) predicate.UserHistory
UUIDGTE applies the GTE predicate on the "uuid" field.
func UUIDIn ¶
func UUIDIn(vs ...uuid.UUID) predicate.UserHistory
UUIDIn applies the In predicate on the "uuid" field.
func UUIDLT ¶
func UUIDLT(v uuid.UUID) predicate.UserHistory
UUIDLT applies the LT predicate on the "uuid" field.
func UUIDLTE ¶
func UUIDLTE(v uuid.UUID) predicate.UserHistory
UUIDLTE applies the LTE predicate on the "uuid" field.
func UUIDNEQ ¶
func UUIDNEQ(v uuid.UUID) predicate.UserHistory
UUIDNEQ applies the NEQ predicate on the "uuid" field.
func UUIDNotIn ¶
func UUIDNotIn(vs ...uuid.UUID) predicate.UserHistory
UUIDNotIn applies the NotIn predicate on the "uuid" 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 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 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 Username ¶
func Username(v string) predicate.UserHistory
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
func UsernameContains(v string) predicate.UserHistory
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
func UsernameContainsFold(v string) predicate.UserHistory
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
func UsernameEQ(v string) predicate.UserHistory
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
func UsernameEqualFold(v string) predicate.UserHistory
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
func UsernameGT(v string) predicate.UserHistory
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
func UsernameGTE(v string) predicate.UserHistory
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
func UsernameHasPrefix(v string) predicate.UserHistory
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
func UsernameHasSuffix(v string) predicate.UserHistory
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
func UsernameIn(vs ...string) predicate.UserHistory
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
func UsernameLT(v string) predicate.UserHistory
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
func UsernameLTE(v string) predicate.UserHistory
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
func UsernameNEQ(v string) predicate.UserHistory
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
func UsernameNotIn(vs ...string) predicate.UserHistory
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.