useraccount

package
v0.0.0-...-dfe096b Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the useraccount type in the database.
	Label = "user_account"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUserIdentity holds the string denoting the user_identity field in the database.
	FieldUserIdentity = "user_identity"
	// FieldAccount holds the string denoting the account field in the database.
	FieldAccount = "account"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldSalt holds the string denoting the salt field in the database.
	FieldSalt = "salt"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"

	// Table holds the table name of the useraccount in the database.
	Table = "user_account"
)

Variables

View Source
var (
	// DefaultPassword holds the default value on creation for the password field.
	DefaultPassword string
	// DefaultSalt holds the default value on creation for the salt field.
	DefaultSalt string
)

Columns holds all SQL columns for useraccount fields.

Functions

func Account

func Account(v int64) predicate.UserAccount

Account applies equality check predicate on the "account" field. It's identical to AccountEQ.

func AccountEQ

func AccountEQ(v int64) predicate.UserAccount

AccountEQ applies the EQ predicate on the "account" field.

func AccountGT

func AccountGT(v int64) predicate.UserAccount

AccountGT applies the GT predicate on the "account" field.

func AccountGTE

func AccountGTE(v int64) predicate.UserAccount

AccountGTE applies the GTE predicate on the "account" field.

func AccountIn

func AccountIn(vs ...int64) predicate.UserAccount

AccountIn applies the In predicate on the "account" field.

func AccountIsNil

func AccountIsNil() predicate.UserAccount

AccountIsNil applies the IsNil predicate on the "account" field.

func AccountLT

func AccountLT(v int64) predicate.UserAccount

AccountLT applies the LT predicate on the "account" field.

func AccountLTE

func AccountLTE(v int64) predicate.UserAccount

AccountLTE applies the LTE predicate on the "account" field.

func AccountNEQ

func AccountNEQ(v int64) predicate.UserAccount

AccountNEQ applies the NEQ predicate on the "account" field.

func AccountNotIn

func AccountNotIn(vs ...int64) predicate.UserAccount

AccountNotIn applies the NotIn predicate on the "account" field.

func AccountNotNil

func AccountNotNil() predicate.UserAccount

AccountNotNil applies the NotNil predicate on the "account" field.

func And

func And(predicates ...predicate.UserAccount) predicate.UserAccount

And groups list of predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.UserAccount

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.UserAccount

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.UserAccount

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.UserAccount

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.UserAccount

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.UserAccount

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.UserAccount

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.UserAccount

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.UserAccount

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.UserAccount

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.UserAccount

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.UserAccount

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.UserAccount

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.UserAccount

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.UserAccount

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.UserAccount

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.UserAccount

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.UserAccount

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.UserAccount

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.UserAccount

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.UserAccount

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.UserAccount

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func ID

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int64) predicate.UserAccount

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.UserAccount

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.UserAccount

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.UserAccount

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.UserAccount

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.UserAccount

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.UserAccount

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.UserAccount

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.UserAccount) predicate.UserAccount

Or groups list of predicates with the OR operator between them.

func Password

func Password(v string) predicate.UserAccount

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.UserAccount

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.UserAccount

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.UserAccount

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.UserAccount

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.UserAccount

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.UserAccount

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.UserAccount

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.UserAccount

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.UserAccount

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.UserAccount

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.UserAccount

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.UserAccount

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.UserAccount

PasswordNotIn applies the NotIn predicate on the "password" field.

func Salt

Salt applies equality check predicate on the "salt" field. It's identical to SaltEQ.

func SaltContains

func SaltContains(v string) predicate.UserAccount

SaltContains applies the Contains predicate on the "salt" field.

func SaltContainsFold

func SaltContainsFold(v string) predicate.UserAccount

SaltContainsFold applies the ContainsFold predicate on the "salt" field.

func SaltEQ

func SaltEQ(v string) predicate.UserAccount

SaltEQ applies the EQ predicate on the "salt" field.

func SaltEqualFold

func SaltEqualFold(v string) predicate.UserAccount

SaltEqualFold applies the EqualFold predicate on the "salt" field.

func SaltGT

func SaltGT(v string) predicate.UserAccount

SaltGT applies the GT predicate on the "salt" field.

func SaltGTE

func SaltGTE(v string) predicate.UserAccount

SaltGTE applies the GTE predicate on the "salt" field.

func SaltHasPrefix

func SaltHasPrefix(v string) predicate.UserAccount

SaltHasPrefix applies the HasPrefix predicate on the "salt" field.

func SaltHasSuffix

func SaltHasSuffix(v string) predicate.UserAccount

SaltHasSuffix applies the HasSuffix predicate on the "salt" field.

func SaltIn

func SaltIn(vs ...string) predicate.UserAccount

SaltIn applies the In predicate on the "salt" field.

func SaltLT

func SaltLT(v string) predicate.UserAccount

SaltLT applies the LT predicate on the "salt" field.

func SaltLTE

func SaltLTE(v string) predicate.UserAccount

SaltLTE applies the LTE predicate on the "salt" field.

func SaltNEQ

func SaltNEQ(v string) predicate.UserAccount

SaltNEQ applies the NEQ predicate on the "salt" field.

func SaltNotIn

func SaltNotIn(vs ...string) predicate.UserAccount

SaltNotIn applies the NotIn predicate on the "salt" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.UserAccount

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.UserAccount

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.UserAccount

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.UserAccount

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.UserAccount

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.UserAccount

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.UserAccount

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.UserAccount

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.UserAccount

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.UserAccount

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.UserAccount

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UserIdentity

func UserIdentity(v string) predicate.UserAccount

UserIdentity applies equality check predicate on the "user_identity" field. It's identical to UserIdentityEQ.

func UserIdentityContains

func UserIdentityContains(v string) predicate.UserAccount

UserIdentityContains applies the Contains predicate on the "user_identity" field.

func UserIdentityContainsFold

func UserIdentityContainsFold(v string) predicate.UserAccount

UserIdentityContainsFold applies the ContainsFold predicate on the "user_identity" field.

func UserIdentityEQ

func UserIdentityEQ(v string) predicate.UserAccount

UserIdentityEQ applies the EQ predicate on the "user_identity" field.

func UserIdentityEqualFold

func UserIdentityEqualFold(v string) predicate.UserAccount

UserIdentityEqualFold applies the EqualFold predicate on the "user_identity" field.

func UserIdentityGT

func UserIdentityGT(v string) predicate.UserAccount

UserIdentityGT applies the GT predicate on the "user_identity" field.

func UserIdentityGTE

func UserIdentityGTE(v string) predicate.UserAccount

UserIdentityGTE applies the GTE predicate on the "user_identity" field.

func UserIdentityHasPrefix

func UserIdentityHasPrefix(v string) predicate.UserAccount

UserIdentityHasPrefix applies the HasPrefix predicate on the "user_identity" field.

func UserIdentityHasSuffix

func UserIdentityHasSuffix(v string) predicate.UserAccount

UserIdentityHasSuffix applies the HasSuffix predicate on the "user_identity" field.

func UserIdentityIn

func UserIdentityIn(vs ...string) predicate.UserAccount

UserIdentityIn applies the In predicate on the "user_identity" field.

func UserIdentityIsNil

func UserIdentityIsNil() predicate.UserAccount

UserIdentityIsNil applies the IsNil predicate on the "user_identity" field.

func UserIdentityLT

func UserIdentityLT(v string) predicate.UserAccount

UserIdentityLT applies the LT predicate on the "user_identity" field.

func UserIdentityLTE

func UserIdentityLTE(v string) predicate.UserAccount

UserIdentityLTE applies the LTE predicate on the "user_identity" field.

func UserIdentityNEQ

func UserIdentityNEQ(v string) predicate.UserAccount

UserIdentityNEQ applies the NEQ predicate on the "user_identity" field.

func UserIdentityNotIn

func UserIdentityNotIn(vs ...string) predicate.UserAccount

UserIdentityNotIn applies the NotIn predicate on the "user_identity" field.

func UserIdentityNotNil

func UserIdentityNotNil() predicate.UserAccount

UserIdentityNotNil applies the NotNil predicate on the "user_identity" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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