userinfo

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 userinfo type in the database.
	Label = "user_info"
	// 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"
	// FieldChannel holds the string denoting the channel field in the database.
	FieldChannel = "channel"
	// FieldForm holds the string denoting the form field in the database.
	FieldForm = "form"
	// 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 userinfo in the database.
	Table = "user_info"
)

Variables

View Source
var (
	// DefaultChannel holds the default value on creation for the channel field.
	DefaultChannel int32
	// DefaultForm holds the default value on creation for the form field.
	DefaultForm int32
)

Columns holds all SQL columns for userinfo fields.

Functions

func And

func And(predicates ...predicate.UserInfo) predicate.UserInfo

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

func Channel

func Channel(v int32) predicate.UserInfo

Channel applies equality check predicate on the "channel" field. It's identical to ChannelEQ.

func ChannelEQ

func ChannelEQ(v int32) predicate.UserInfo

ChannelEQ applies the EQ predicate on the "channel" field.

func ChannelGT

func ChannelGT(v int32) predicate.UserInfo

ChannelGT applies the GT predicate on the "channel" field.

func ChannelGTE

func ChannelGTE(v int32) predicate.UserInfo

ChannelGTE applies the GTE predicate on the "channel" field.

func ChannelIn

func ChannelIn(vs ...int32) predicate.UserInfo

ChannelIn applies the In predicate on the "channel" field.

func ChannelLT

func ChannelLT(v int32) predicate.UserInfo

ChannelLT applies the LT predicate on the "channel" field.

func ChannelLTE

func ChannelLTE(v int32) predicate.UserInfo

ChannelLTE applies the LTE predicate on the "channel" field.

func ChannelNEQ

func ChannelNEQ(v int32) predicate.UserInfo

ChannelNEQ applies the NEQ predicate on the "channel" field.

func ChannelNotIn

func ChannelNotIn(vs ...int32) predicate.UserInfo

ChannelNotIn applies the NotIn predicate on the "channel" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.UserInfo

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.UserInfo

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.UserInfo

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.UserInfo

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.UserInfo

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.UserInfo

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.UserInfo

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.UserInfo

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.UserInfo

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

func DeletedAt

func DeletedAt(v time.Time) predicate.UserInfo

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.UserInfo

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.UserInfo

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.UserInfo

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.UserInfo

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.UserInfo

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.UserInfo

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.UserInfo

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.UserInfo

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

func Form

func Form(v int32) predicate.UserInfo

Form applies equality check predicate on the "form" field. It's identical to FormEQ.

func FormEQ

func FormEQ(v int32) predicate.UserInfo

FormEQ applies the EQ predicate on the "form" field.

func FormGT

func FormGT(v int32) predicate.UserInfo

FormGT applies the GT predicate on the "form" field.

func FormGTE

func FormGTE(v int32) predicate.UserInfo

FormGTE applies the GTE predicate on the "form" field.

func FormIn

func FormIn(vs ...int32) predicate.UserInfo

FormIn applies the In predicate on the "form" field.

func FormLT

func FormLT(v int32) predicate.UserInfo

FormLT applies the LT predicate on the "form" field.

func FormLTE

func FormLTE(v int32) predicate.UserInfo

FormLTE applies the LTE predicate on the "form" field.

func FormNEQ

func FormNEQ(v int32) predicate.UserInfo

FormNEQ applies the NEQ predicate on the "form" field.

func FormNotIn

func FormNotIn(vs ...int32) predicate.UserInfo

FormNotIn applies the NotIn predicate on the "form" field.

func ID

func ID(id int64) predicate.UserInfo

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int64) predicate.UserInfo

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.UserInfo

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.UserInfo

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.UserInfo

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.UserInfo

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.UserInfo

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.UserInfo

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.UserInfo

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.UserInfo

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.UserInfo

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.UserInfo

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.UserInfo

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.UserInfo

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.UserInfo

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.UserInfo

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

func UserIdentity

func UserIdentity(v string) predicate.UserInfo

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

func UserIdentityContains

func UserIdentityContains(v string) predicate.UserInfo

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

func UserIdentityContainsFold

func UserIdentityContainsFold(v string) predicate.UserInfo

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

func UserIdentityEQ

func UserIdentityEQ(v string) predicate.UserInfo

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

func UserIdentityEqualFold

func UserIdentityEqualFold(v string) predicate.UserInfo

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

func UserIdentityGT

func UserIdentityGT(v string) predicate.UserInfo

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

func UserIdentityGTE

func UserIdentityGTE(v string) predicate.UserInfo

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

func UserIdentityHasPrefix

func UserIdentityHasPrefix(v string) predicate.UserInfo

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

func UserIdentityHasSuffix

func UserIdentityHasSuffix(v string) predicate.UserInfo

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

func UserIdentityIn

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

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

func UserIdentityIsNil

func UserIdentityIsNil() predicate.UserInfo

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

func UserIdentityLT

func UserIdentityLT(v string) predicate.UserInfo

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

func UserIdentityLTE

func UserIdentityLTE(v string) predicate.UserInfo

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

func UserIdentityNEQ

func UserIdentityNEQ(v string) predicate.UserInfo

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

func UserIdentityNotIn

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

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

func UserIdentityNotNil

func UserIdentityNotNil() predicate.UserInfo

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