userqualification

package
v0.0.0-...-f92d4cc Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the userqualification type in the database.
	Label = "user_qualification"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldOrganization holds the string denoting the organization field in the database.
	FieldOrganization = "organization"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldGotDate holds the string denoting the got_date field in the database.
	FieldGotDate = "got_date"
	// FieldMemo holds the string denoting the memo field in the database.
	FieldMemo = "memo"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// Table holds the table name of the userqualification in the database.
	Table = "user_qualifications"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "user_qualifications"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_id"
)

Variables

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// OrganizationValidator is a validator for the "organization" field. It is called by the builders before save.
	OrganizationValidator func(string) error
	// URLValidator is a validator for the "url" field. It is called by the builders before save.
	URLValidator func(string) error
	// GotDateValidator is a validator for the "got_date" field. It is called by the builders before save.
	GotDateValidator func(string) error
	// MemoValidator is a validator for the "memo" field. It is called by the builders before save.
	MemoValidator func(string) error
)

Columns holds all SQL columns for userqualification fields.

View Source
var ForeignKeys = []string{
	"user_id",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "user_qualifications" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.UserQualification

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.UserQualification

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.UserQualification

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.UserQualification

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.UserQualification

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.UserQualification

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.UserQualification

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.UserQualification

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.UserQualification

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func GotDate

GotDate applies equality check predicate on the "got_date" field. It's identical to GotDateEQ.

func GotDateContains

func GotDateContains(v string) predicate.UserQualification

GotDateContains applies the Contains predicate on the "got_date" field.

func GotDateContainsFold

func GotDateContainsFold(v string) predicate.UserQualification

GotDateContainsFold applies the ContainsFold predicate on the "got_date" field.

func GotDateEQ

func GotDateEQ(v string) predicate.UserQualification

GotDateEQ applies the EQ predicate on the "got_date" field.

func GotDateEqualFold

func GotDateEqualFold(v string) predicate.UserQualification

GotDateEqualFold applies the EqualFold predicate on the "got_date" field.

func GotDateGT

func GotDateGT(v string) predicate.UserQualification

GotDateGT applies the GT predicate on the "got_date" field.

func GotDateGTE

func GotDateGTE(v string) predicate.UserQualification

GotDateGTE applies the GTE predicate on the "got_date" field.

func GotDateHasPrefix

func GotDateHasPrefix(v string) predicate.UserQualification

GotDateHasPrefix applies the HasPrefix predicate on the "got_date" field.

func GotDateHasSuffix

func GotDateHasSuffix(v string) predicate.UserQualification

GotDateHasSuffix applies the HasSuffix predicate on the "got_date" field.

func GotDateIn

func GotDateIn(vs ...string) predicate.UserQualification

GotDateIn applies the In predicate on the "got_date" field.

func GotDateIsNil

func GotDateIsNil() predicate.UserQualification

GotDateIsNil applies the IsNil predicate on the "got_date" field.

func GotDateLT

func GotDateLT(v string) predicate.UserQualification

GotDateLT applies the LT predicate on the "got_date" field.

func GotDateLTE

func GotDateLTE(v string) predicate.UserQualification

GotDateLTE applies the LTE predicate on the "got_date" field.

func GotDateNEQ

func GotDateNEQ(v string) predicate.UserQualification

GotDateNEQ applies the NEQ predicate on the "got_date" field.

func GotDateNotIn

func GotDateNotIn(vs ...string) predicate.UserQualification

GotDateNotIn applies the NotIn predicate on the "got_date" field.

func GotDateNotNil

func GotDateNotNil() predicate.UserQualification

GotDateNotNil applies the NotNil predicate on the "got_date" field.

func HasUser

func HasUser() predicate.UserQualification

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.UserQualification

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Memo

Memo applies equality check predicate on the "memo" field. It's identical to MemoEQ.

func MemoContains

func MemoContains(v string) predicate.UserQualification

MemoContains applies the Contains predicate on the "memo" field.

func MemoContainsFold

func MemoContainsFold(v string) predicate.UserQualification

MemoContainsFold applies the ContainsFold predicate on the "memo" field.

func MemoEQ

MemoEQ applies the EQ predicate on the "memo" field.

func MemoEqualFold

func MemoEqualFold(v string) predicate.UserQualification

MemoEqualFold applies the EqualFold predicate on the "memo" field.

func MemoGT

MemoGT applies the GT predicate on the "memo" field.

func MemoGTE

MemoGTE applies the GTE predicate on the "memo" field.

func MemoHasPrefix

func MemoHasPrefix(v string) predicate.UserQualification

MemoHasPrefix applies the HasPrefix predicate on the "memo" field.

func MemoHasSuffix

func MemoHasSuffix(v string) predicate.UserQualification

MemoHasSuffix applies the HasSuffix predicate on the "memo" field.

func MemoIn

func MemoIn(vs ...string) predicate.UserQualification

MemoIn applies the In predicate on the "memo" field.

func MemoIsNil

func MemoIsNil() predicate.UserQualification

MemoIsNil applies the IsNil predicate on the "memo" field.

func MemoLT

MemoLT applies the LT predicate on the "memo" field.

func MemoLTE

MemoLTE applies the LTE predicate on the "memo" field.

func MemoNEQ

MemoNEQ applies the NEQ predicate on the "memo" field.

func MemoNotIn

func MemoNotIn(vs ...string) predicate.UserQualification

MemoNotIn applies the NotIn predicate on the "memo" field.

func MemoNotNil

func MemoNotNil() predicate.UserQualification

MemoNotNil applies the NotNil predicate on the "memo" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.UserQualification

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.UserQualification

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.UserQualification

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.UserQualification

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.UserQualification

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.UserQualification

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.UserQualification

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Organization

func Organization(v string) predicate.UserQualification

Organization applies equality check predicate on the "organization" field. It's identical to OrganizationEQ.

func OrganizationContains

func OrganizationContains(v string) predicate.UserQualification

OrganizationContains applies the Contains predicate on the "organization" field.

func OrganizationContainsFold

func OrganizationContainsFold(v string) predicate.UserQualification

OrganizationContainsFold applies the ContainsFold predicate on the "organization" field.

func OrganizationEQ

func OrganizationEQ(v string) predicate.UserQualification

OrganizationEQ applies the EQ predicate on the "organization" field.

func OrganizationEqualFold

func OrganizationEqualFold(v string) predicate.UserQualification

OrganizationEqualFold applies the EqualFold predicate on the "organization" field.

func OrganizationGT

func OrganizationGT(v string) predicate.UserQualification

OrganizationGT applies the GT predicate on the "organization" field.

func OrganizationGTE

func OrganizationGTE(v string) predicate.UserQualification

OrganizationGTE applies the GTE predicate on the "organization" field.

func OrganizationHasPrefix

func OrganizationHasPrefix(v string) predicate.UserQualification

OrganizationHasPrefix applies the HasPrefix predicate on the "organization" field.

func OrganizationHasSuffix

func OrganizationHasSuffix(v string) predicate.UserQualification

OrganizationHasSuffix applies the HasSuffix predicate on the "organization" field.

func OrganizationIn

func OrganizationIn(vs ...string) predicate.UserQualification

OrganizationIn applies the In predicate on the "organization" field.

func OrganizationIsNil

func OrganizationIsNil() predicate.UserQualification

OrganizationIsNil applies the IsNil predicate on the "organization" field.

func OrganizationLT

func OrganizationLT(v string) predicate.UserQualification

OrganizationLT applies the LT predicate on the "organization" field.

func OrganizationLTE

func OrganizationLTE(v string) predicate.UserQualification

OrganizationLTE applies the LTE predicate on the "organization" field.

func OrganizationNEQ

func OrganizationNEQ(v string) predicate.UserQualification

OrganizationNEQ applies the NEQ predicate on the "organization" field.

func OrganizationNotIn

func OrganizationNotIn(vs ...string) predicate.UserQualification

OrganizationNotIn applies the NotIn predicate on the "organization" field.

func OrganizationNotNil

func OrganizationNotNil() predicate.UserQualification

OrganizationNotNil applies the NotNil predicate on the "organization" field.

func URL

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.UserQualification

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.UserQualification

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.UserQualification

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

URLGT applies the GT predicate on the "url" field.

func URLGTE

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.UserQualification

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.UserQualification

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.UserQualification

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.UserQualification

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

URLLT applies the LT predicate on the "url" field.

func URLLTE

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.UserQualification

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.UserQualification

URLNotNil applies the NotNil predicate on the "url" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.UserQualification

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.UserQualification

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.UserQualification

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.UserQualification

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.UserQualification

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.UserQualification

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.UserQualification

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.UserQualification

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.UserQualification

UpdateTimeNotIn applies the NotIn predicate on the "update_time" 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 UserQualification queries.

func ByCreateTime

func ByCreateTime(opts ...sql.OrderTermOption) OrderOption

ByCreateTime orders the results by the create_time field.

func ByGotDate

func ByGotDate(opts ...sql.OrderTermOption) OrderOption

ByGotDate orders the results by the got_date field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMemo

func ByMemo(opts ...sql.OrderTermOption) OrderOption

ByMemo orders the results by the memo field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByOrganization

func ByOrganization(opts ...sql.OrderTermOption) OrderOption

ByOrganization orders the results by the organization field.

func ByURL

func ByURL(opts ...sql.OrderTermOption) OrderOption

ByURL orders the results by the url field.

func ByUpdateTime

func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption

ByUpdateTime orders the results by the update_time field.

func ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

Jump to

Keyboard shortcuts

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