user_info

package
v0.0.0-...-b3d1480 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user_info type in the database.
	Label = "user_info"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUserName holds the string denoting the user_name field in the database.
	FieldUserName = "user_name"
	// FieldSalt holds the string denoting the salt field in the database.
	FieldSalt = "salt"
	// FieldPasswdHash holds the string denoting the passwd_hash field in the database.
	FieldPasswdHash = "passwd_hash"
	// Table holds the table name of the user_info in the database.
	Table = "user_infos"
)

Variables

View Source
var (
	// UserNameValidator is a validator for the "user_name" field. It is called by the builders before save.
	UserNameValidator func(string) error
	// SaltValidator is a validator for the "salt" field. It is called by the builders before save.
	SaltValidator func(string) error
	// PasswdHashValidator is a validator for the "passwd_hash" field. It is called by the builders before save.
	PasswdHashValidator func(string) error
)

Columns holds all SQL columns for user_info fields.

Functions

func And

func And(predicates ...predicate.User_info) predicate.User_info

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.User_info

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.User_info

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.User_info

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.User_info

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.User_info

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.User_info

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.User_info

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.User_info

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.User_info

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.User_info) predicate.User_info

Or groups predicates with the OR operator between them.

func PasswdHash

func PasswdHash(v string) predicate.User_info

PasswdHash applies equality check predicate on the "passwd_hash" field. It's identical to PasswdHashEQ.

func PasswdHashContains

func PasswdHashContains(v string) predicate.User_info

PasswdHashContains applies the Contains predicate on the "passwd_hash" field.

func PasswdHashContainsFold

func PasswdHashContainsFold(v string) predicate.User_info

PasswdHashContainsFold applies the ContainsFold predicate on the "passwd_hash" field.

func PasswdHashEQ

func PasswdHashEQ(v string) predicate.User_info

PasswdHashEQ applies the EQ predicate on the "passwd_hash" field.

func PasswdHashEqualFold

func PasswdHashEqualFold(v string) predicate.User_info

PasswdHashEqualFold applies the EqualFold predicate on the "passwd_hash" field.

func PasswdHashGT

func PasswdHashGT(v string) predicate.User_info

PasswdHashGT applies the GT predicate on the "passwd_hash" field.

func PasswdHashGTE

func PasswdHashGTE(v string) predicate.User_info

PasswdHashGTE applies the GTE predicate on the "passwd_hash" field.

func PasswdHashHasPrefix

func PasswdHashHasPrefix(v string) predicate.User_info

PasswdHashHasPrefix applies the HasPrefix predicate on the "passwd_hash" field.

func PasswdHashHasSuffix

func PasswdHashHasSuffix(v string) predicate.User_info

PasswdHashHasSuffix applies the HasSuffix predicate on the "passwd_hash" field.

func PasswdHashIn

func PasswdHashIn(vs ...string) predicate.User_info

PasswdHashIn applies the In predicate on the "passwd_hash" field.

func PasswdHashLT

func PasswdHashLT(v string) predicate.User_info

PasswdHashLT applies the LT predicate on the "passwd_hash" field.

func PasswdHashLTE

func PasswdHashLTE(v string) predicate.User_info

PasswdHashLTE applies the LTE predicate on the "passwd_hash" field.

func PasswdHashNEQ

func PasswdHashNEQ(v string) predicate.User_info

PasswdHashNEQ applies the NEQ predicate on the "passwd_hash" field.

func PasswdHashNotIn

func PasswdHashNotIn(vs ...string) predicate.User_info

PasswdHashNotIn applies the NotIn predicate on the "passwd_hash" field.

func Salt

func Salt(v string) predicate.User_info

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

func SaltContains

func SaltContains(v string) predicate.User_info

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

func SaltContainsFold

func SaltContainsFold(v string) predicate.User_info

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

func SaltEQ

func SaltEQ(v string) predicate.User_info

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

func SaltEqualFold

func SaltEqualFold(v string) predicate.User_info

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

func SaltGT

func SaltGT(v string) predicate.User_info

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

func SaltGTE

func SaltGTE(v string) predicate.User_info

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

func SaltHasPrefix

func SaltHasPrefix(v string) predicate.User_info

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

func SaltHasSuffix

func SaltHasSuffix(v string) predicate.User_info

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

func SaltIn

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

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

func SaltLT

func SaltLT(v string) predicate.User_info

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

func SaltLTE

func SaltLTE(v string) predicate.User_info

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

func SaltNEQ

func SaltNEQ(v string) predicate.User_info

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

func SaltNotIn

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

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

func UserName

func UserName(v string) predicate.User_info

UserName applies equality check predicate on the "user_name" field. It's identical to UserNameEQ.

func UserNameContains

func UserNameContains(v string) predicate.User_info

UserNameContains applies the Contains predicate on the "user_name" field.

func UserNameContainsFold

func UserNameContainsFold(v string) predicate.User_info

UserNameContainsFold applies the ContainsFold predicate on the "user_name" field.

func UserNameEQ

func UserNameEQ(v string) predicate.User_info

UserNameEQ applies the EQ predicate on the "user_name" field.

func UserNameEqualFold

func UserNameEqualFold(v string) predicate.User_info

UserNameEqualFold applies the EqualFold predicate on the "user_name" field.

func UserNameGT

func UserNameGT(v string) predicate.User_info

UserNameGT applies the GT predicate on the "user_name" field.

func UserNameGTE

func UserNameGTE(v string) predicate.User_info

UserNameGTE applies the GTE predicate on the "user_name" field.

func UserNameHasPrefix

func UserNameHasPrefix(v string) predicate.User_info

UserNameHasPrefix applies the HasPrefix predicate on the "user_name" field.

func UserNameHasSuffix

func UserNameHasSuffix(v string) predicate.User_info

UserNameHasSuffix applies the HasSuffix predicate on the "user_name" field.

func UserNameIn

func UserNameIn(vs ...string) predicate.User_info

UserNameIn applies the In predicate on the "user_name" field.

func UserNameLT

func UserNameLT(v string) predicate.User_info

UserNameLT applies the LT predicate on the "user_name" field.

func UserNameLTE

func UserNameLTE(v string) predicate.User_info

UserNameLTE applies the LTE predicate on the "user_name" field.

func UserNameNEQ

func UserNameNEQ(v string) predicate.User_info

UserNameNEQ applies the NEQ predicate on the "user_name" field.

func UserNameNotIn

func UserNameNotIn(vs ...string) predicate.User_info

UserNameNotIn applies the NotIn predicate on the "user_name" 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