invitationtoken

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the invitationtoken type in the database.
	Label = "invitation_token"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedByID holds the string denoting the created_by_id field in the database.
	FieldCreatedByID = "created_by_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedByID holds the string denoting the updated_by_id field in the database.
	FieldUpdatedByID = "updated_by_id"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedByID holds the string denoting the deleted_by_id field in the database.
	FieldDeletedByID = "deleted_by_id"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldPublishedAt holds the string denoting the published_at field in the database.
	FieldPublishedAt = "published_at"
	// FieldArchivedAt holds the string denoting the archived_at field in the database.
	FieldArchivedAt = "archived_at"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldJti holds the string denoting the jti field in the database.
	FieldJti = "jti"
	// FieldToken holds the string denoting the token field in the database.
	FieldToken = "token"
	// FieldTokenHash holds the string denoting the token_hash field in the database.
	FieldTokenHash = "token_hash"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldDomainType holds the string denoting the domain_type field in the database.
	FieldDomainType = "domain_type"
	// FieldDomainKey holds the string denoting the domain_key field in the database.
	FieldDomainKey = "domain_key"
	// FieldRoleIds holds the string denoting the role_ids field in the database.
	FieldRoleIds = "role_ids"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldUsedAt holds the string denoting the used_at field in the database.
	FieldUsedAt = "used_at"
	// FieldIsUsed holds the string denoting the is_used field in the database.
	FieldIsUsed = "is_used"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// Table holds the table name of the invitationtoken in the database.
	Table = "invitation_tokens"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "invitation_tokens"
	// 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 = "invitation_token_user"
)

Variables

View Source
var (
	// 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
	// JtiValidator is a validator for the "jti" field. It is called by the builders before save.
	JtiValidator func(string) error
	// TokenValidator is a validator for the "token" field. It is called by the builders before save.
	TokenValidator func(string) error
	// TokenHashValidator is a validator for the "token_hash" field. It is called by the builders before save.
	TokenHashValidator func(string) error
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// DomainTypeValidator is a validator for the "domain_type" field. It is called by the builders before save.
	DomainTypeValidator func(string) error
	// DomainKeyValidator is a validator for the "domain_key" field. It is called by the builders before save.
	DomainKeyValidator func(string) error
	// DefaultIsUsed holds the default value on creation for the "is_used" field.
	DefaultIsUsed bool
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for invitationtoken fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func ArchivedAt

func ArchivedAt(v time.Time) predicate.InvitationToken

ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.

func ArchivedAtEQ

func ArchivedAtEQ(v time.Time) predicate.InvitationToken

ArchivedAtEQ applies the EQ predicate on the "archived_at" field.

func ArchivedAtGT

func ArchivedAtGT(v time.Time) predicate.InvitationToken

ArchivedAtGT applies the GT predicate on the "archived_at" field.

func ArchivedAtGTE

func ArchivedAtGTE(v time.Time) predicate.InvitationToken

ArchivedAtGTE applies the GTE predicate on the "archived_at" field.

func ArchivedAtIn

func ArchivedAtIn(vs ...time.Time) predicate.InvitationToken

ArchivedAtIn applies the In predicate on the "archived_at" field.

func ArchivedAtIsNil

func ArchivedAtIsNil() predicate.InvitationToken

ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.

func ArchivedAtLT

func ArchivedAtLT(v time.Time) predicate.InvitationToken

ArchivedAtLT applies the LT predicate on the "archived_at" field.

func ArchivedAtLTE

func ArchivedAtLTE(v time.Time) predicate.InvitationToken

ArchivedAtLTE applies the LTE predicate on the "archived_at" field.

func ArchivedAtNEQ

func ArchivedAtNEQ(v time.Time) predicate.InvitationToken

ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.

func ArchivedAtNotIn

func ArchivedAtNotIn(vs ...time.Time) predicate.InvitationToken

ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.

func ArchivedAtNotNil

func ArchivedAtNotNil() predicate.InvitationToken

ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.InvitationToken

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.InvitationToken

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.InvitationToken

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.InvitationToken

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.InvitationToken

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.InvitationToken

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.InvitationToken

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.InvitationToken

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.InvitationToken

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

func CreatedByID

func CreatedByID(v uuid.UUID) predicate.InvitationToken

CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.

func CreatedByIDEQ

func CreatedByIDEQ(v uuid.UUID) predicate.InvitationToken

CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.

func CreatedByIDGT

func CreatedByIDGT(v uuid.UUID) predicate.InvitationToken

CreatedByIDGT applies the GT predicate on the "created_by_id" field.

func CreatedByIDGTE

func CreatedByIDGTE(v uuid.UUID) predicate.InvitationToken

CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.

func CreatedByIDIn

func CreatedByIDIn(vs ...uuid.UUID) predicate.InvitationToken

CreatedByIDIn applies the In predicate on the "created_by_id" field.

func CreatedByIDIsNil

func CreatedByIDIsNil() predicate.InvitationToken

CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.

func CreatedByIDLT

func CreatedByIDLT(v uuid.UUID) predicate.InvitationToken

CreatedByIDLT applies the LT predicate on the "created_by_id" field.

func CreatedByIDLTE

func CreatedByIDLTE(v uuid.UUID) predicate.InvitationToken

CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.

func CreatedByIDNEQ

func CreatedByIDNEQ(v uuid.UUID) predicate.InvitationToken

CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.

func CreatedByIDNotIn

func CreatedByIDNotIn(vs ...uuid.UUID) predicate.InvitationToken

CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.

func CreatedByIDNotNil

func CreatedByIDNotNil() predicate.InvitationToken

CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.InvitationToken

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.InvitationToken

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.InvitationToken

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.InvitationToken

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.InvitationToken

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.InvitationToken

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.InvitationToken

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.InvitationToken

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.InvitationToken

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

func DeletedByID

func DeletedByID(v uuid.UUID) predicate.InvitationToken

DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.

func DeletedByIDEQ

func DeletedByIDEQ(v uuid.UUID) predicate.InvitationToken

DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.

func DeletedByIDGT

func DeletedByIDGT(v uuid.UUID) predicate.InvitationToken

DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.

func DeletedByIDGTE

func DeletedByIDGTE(v uuid.UUID) predicate.InvitationToken

DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.

func DeletedByIDIn

func DeletedByIDIn(vs ...uuid.UUID) predicate.InvitationToken

DeletedByIDIn applies the In predicate on the "deleted_by_id" field.

func DeletedByIDIsNil

func DeletedByIDIsNil() predicate.InvitationToken

DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.

func DeletedByIDLT

func DeletedByIDLT(v uuid.UUID) predicate.InvitationToken

DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.

func DeletedByIDLTE

func DeletedByIDLTE(v uuid.UUID) predicate.InvitationToken

DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.

func DeletedByIDNEQ

func DeletedByIDNEQ(v uuid.UUID) predicate.InvitationToken

DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.

func DeletedByIDNotIn

func DeletedByIDNotIn(vs ...uuid.UUID) predicate.InvitationToken

DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.

func DeletedByIDNotNil

func DeletedByIDNotNil() predicate.InvitationToken

DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.

func DomainKey

func DomainKey(v string) predicate.InvitationToken

DomainKey applies equality check predicate on the "domain_key" field. It's identical to DomainKeyEQ.

func DomainKeyContains

func DomainKeyContains(v string) predicate.InvitationToken

DomainKeyContains applies the Contains predicate on the "domain_key" field.

func DomainKeyContainsFold

func DomainKeyContainsFold(v string) predicate.InvitationToken

DomainKeyContainsFold applies the ContainsFold predicate on the "domain_key" field.

func DomainKeyEQ

func DomainKeyEQ(v string) predicate.InvitationToken

DomainKeyEQ applies the EQ predicate on the "domain_key" field.

func DomainKeyEqualFold

func DomainKeyEqualFold(v string) predicate.InvitationToken

DomainKeyEqualFold applies the EqualFold predicate on the "domain_key" field.

func DomainKeyGT

func DomainKeyGT(v string) predicate.InvitationToken

DomainKeyGT applies the GT predicate on the "domain_key" field.

func DomainKeyGTE

func DomainKeyGTE(v string) predicate.InvitationToken

DomainKeyGTE applies the GTE predicate on the "domain_key" field.

func DomainKeyHasPrefix

func DomainKeyHasPrefix(v string) predicate.InvitationToken

DomainKeyHasPrefix applies the HasPrefix predicate on the "domain_key" field.

func DomainKeyHasSuffix

func DomainKeyHasSuffix(v string) predicate.InvitationToken

DomainKeyHasSuffix applies the HasSuffix predicate on the "domain_key" field.

func DomainKeyIn

func DomainKeyIn(vs ...string) predicate.InvitationToken

DomainKeyIn applies the In predicate on the "domain_key" field.

func DomainKeyLT

func DomainKeyLT(v string) predicate.InvitationToken

DomainKeyLT applies the LT predicate on the "domain_key" field.

func DomainKeyLTE

func DomainKeyLTE(v string) predicate.InvitationToken

DomainKeyLTE applies the LTE predicate on the "domain_key" field.

func DomainKeyNEQ

func DomainKeyNEQ(v string) predicate.InvitationToken

DomainKeyNEQ applies the NEQ predicate on the "domain_key" field.

func DomainKeyNotIn

func DomainKeyNotIn(vs ...string) predicate.InvitationToken

DomainKeyNotIn applies the NotIn predicate on the "domain_key" field.

func DomainType

func DomainType(v string) predicate.InvitationToken

DomainType applies equality check predicate on the "domain_type" field. It's identical to DomainTypeEQ.

func DomainTypeContains

func DomainTypeContains(v string) predicate.InvitationToken

DomainTypeContains applies the Contains predicate on the "domain_type" field.

func DomainTypeContainsFold

func DomainTypeContainsFold(v string) predicate.InvitationToken

DomainTypeContainsFold applies the ContainsFold predicate on the "domain_type" field.

func DomainTypeEQ

func DomainTypeEQ(v string) predicate.InvitationToken

DomainTypeEQ applies the EQ predicate on the "domain_type" field.

func DomainTypeEqualFold

func DomainTypeEqualFold(v string) predicate.InvitationToken

DomainTypeEqualFold applies the EqualFold predicate on the "domain_type" field.

func DomainTypeGT

func DomainTypeGT(v string) predicate.InvitationToken

DomainTypeGT applies the GT predicate on the "domain_type" field.

func DomainTypeGTE

func DomainTypeGTE(v string) predicate.InvitationToken

DomainTypeGTE applies the GTE predicate on the "domain_type" field.

func DomainTypeHasPrefix

func DomainTypeHasPrefix(v string) predicate.InvitationToken

DomainTypeHasPrefix applies the HasPrefix predicate on the "domain_type" field.

func DomainTypeHasSuffix

func DomainTypeHasSuffix(v string) predicate.InvitationToken

DomainTypeHasSuffix applies the HasSuffix predicate on the "domain_type" field.

func DomainTypeIn

func DomainTypeIn(vs ...string) predicate.InvitationToken

DomainTypeIn applies the In predicate on the "domain_type" field.

func DomainTypeLT

func DomainTypeLT(v string) predicate.InvitationToken

DomainTypeLT applies the LT predicate on the "domain_type" field.

func DomainTypeLTE

func DomainTypeLTE(v string) predicate.InvitationToken

DomainTypeLTE applies the LTE predicate on the "domain_type" field.

func DomainTypeNEQ

func DomainTypeNEQ(v string) predicate.InvitationToken

DomainTypeNEQ applies the NEQ predicate on the "domain_type" field.

func DomainTypeNotIn

func DomainTypeNotIn(vs ...string) predicate.InvitationToken

DomainTypeNotIn applies the NotIn predicate on the "domain_type" field.

func Email

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.InvitationToken

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.InvitationToken

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.InvitationToken

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.InvitationToken

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.InvitationToken

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.InvitationToken

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.InvitationToken

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.InvitationToken

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.InvitationToken

EmailIn applies the In predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.InvitationToken

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.InvitationToken

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.InvitationToken

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.InvitationToken

EmailNotIn applies the NotIn predicate on the "email" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.InvitationToken

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.InvitationToken

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.InvitationToken

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.InvitationToken

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.InvitationToken

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.InvitationToken

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.InvitationToken

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.InvitationToken

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.InvitationToken

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func HasUser

func HasUser() predicate.InvitationToken

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

func HasUserWith

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

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 ...uuid.UUID) predicate.InvitationToken

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 ...uuid.UUID) predicate.InvitationToken

IDNotIn applies the NotIn predicate on the ID field.

func IsUsed

func IsUsed(v bool) predicate.InvitationToken

IsUsed applies equality check predicate on the "is_used" field. It's identical to IsUsedEQ.

func IsUsedEQ

func IsUsedEQ(v bool) predicate.InvitationToken

IsUsedEQ applies the EQ predicate on the "is_used" field.

func IsUsedNEQ

func IsUsedNEQ(v bool) predicate.InvitationToken

IsUsedNEQ applies the NEQ predicate on the "is_used" field.

func Jti

Jti applies equality check predicate on the "jti" field. It's identical to JtiEQ.

func JtiContains

func JtiContains(v string) predicate.InvitationToken

JtiContains applies the Contains predicate on the "jti" field.

func JtiContainsFold

func JtiContainsFold(v string) predicate.InvitationToken

JtiContainsFold applies the ContainsFold predicate on the "jti" field.

func JtiEQ

JtiEQ applies the EQ predicate on the "jti" field.

func JtiEqualFold

func JtiEqualFold(v string) predicate.InvitationToken

JtiEqualFold applies the EqualFold predicate on the "jti" field.

func JtiGT

JtiGT applies the GT predicate on the "jti" field.

func JtiGTE

JtiGTE applies the GTE predicate on the "jti" field.

func JtiHasPrefix

func JtiHasPrefix(v string) predicate.InvitationToken

JtiHasPrefix applies the HasPrefix predicate on the "jti" field.

func JtiHasSuffix

func JtiHasSuffix(v string) predicate.InvitationToken

JtiHasSuffix applies the HasSuffix predicate on the "jti" field.

func JtiIn

func JtiIn(vs ...string) predicate.InvitationToken

JtiIn applies the In predicate on the "jti" field.

func JtiLT

JtiLT applies the LT predicate on the "jti" field.

func JtiLTE

JtiLTE applies the LTE predicate on the "jti" field.

func JtiNEQ

JtiNEQ applies the NEQ predicate on the "jti" field.

func JtiNotIn

func JtiNotIn(vs ...string) predicate.InvitationToken

JtiNotIn applies the NotIn predicate on the "jti" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PublishedAt

func PublishedAt(v time.Time) predicate.InvitationToken

PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.

func PublishedAtEQ

func PublishedAtEQ(v time.Time) predicate.InvitationToken

PublishedAtEQ applies the EQ predicate on the "published_at" field.

func PublishedAtGT

func PublishedAtGT(v time.Time) predicate.InvitationToken

PublishedAtGT applies the GT predicate on the "published_at" field.

func PublishedAtGTE

func PublishedAtGTE(v time.Time) predicate.InvitationToken

PublishedAtGTE applies the GTE predicate on the "published_at" field.

func PublishedAtIn

func PublishedAtIn(vs ...time.Time) predicate.InvitationToken

PublishedAtIn applies the In predicate on the "published_at" field.

func PublishedAtIsNil

func PublishedAtIsNil() predicate.InvitationToken

PublishedAtIsNil applies the IsNil predicate on the "published_at" field.

func PublishedAtLT

func PublishedAtLT(v time.Time) predicate.InvitationToken

PublishedAtLT applies the LT predicate on the "published_at" field.

func PublishedAtLTE

func PublishedAtLTE(v time.Time) predicate.InvitationToken

PublishedAtLTE applies the LTE predicate on the "published_at" field.

func PublishedAtNEQ

func PublishedAtNEQ(v time.Time) predicate.InvitationToken

PublishedAtNEQ applies the NEQ predicate on the "published_at" field.

func PublishedAtNotIn

func PublishedAtNotIn(vs ...time.Time) predicate.InvitationToken

PublishedAtNotIn applies the NotIn predicate on the "published_at" field.

func PublishedAtNotNil

func PublishedAtNotNil() predicate.InvitationToken

PublishedAtNotNil applies the NotNil predicate on the "published_at" field.

func RoleIdsIsNil

func RoleIdsIsNil() predicate.InvitationToken

RoleIdsIsNil applies the IsNil predicate on the "role_ids" field.

func RoleIdsNotNil

func RoleIdsNotNil() predicate.InvitationToken

RoleIdsNotNil applies the NotNil predicate on the "role_ids" field.

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.InvitationToken

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.InvitationToken

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.InvitationToken

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.InvitationToken

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.InvitationToken

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.InvitationToken

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.InvitationToken

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.InvitationToken

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.InvitationToken

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.InvitationToken

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.InvitationToken

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.InvitationToken

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.InvitationToken

StatusNotIn applies the NotIn predicate on the "status" field.

func TenantID

func TenantID(v uuid.UUID) predicate.InvitationToken

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDEQ

func TenantIDEQ(v uuid.UUID) predicate.InvitationToken

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v uuid.UUID) predicate.InvitationToken

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v uuid.UUID) predicate.InvitationToken

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...uuid.UUID) predicate.InvitationToken

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v uuid.UUID) predicate.InvitationToken

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v uuid.UUID) predicate.InvitationToken

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v uuid.UUID) predicate.InvitationToken

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...uuid.UUID) predicate.InvitationToken

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func Token

Token applies equality check predicate on the "token" field. It's identical to TokenEQ.

func TokenContains

func TokenContains(v string) predicate.InvitationToken

TokenContains applies the Contains predicate on the "token" field.

func TokenContainsFold

func TokenContainsFold(v string) predicate.InvitationToken

TokenContainsFold applies the ContainsFold predicate on the "token" field.

func TokenEQ

func TokenEQ(v string) predicate.InvitationToken

TokenEQ applies the EQ predicate on the "token" field.

func TokenEqualFold

func TokenEqualFold(v string) predicate.InvitationToken

TokenEqualFold applies the EqualFold predicate on the "token" field.

func TokenGT

func TokenGT(v string) predicate.InvitationToken

TokenGT applies the GT predicate on the "token" field.

func TokenGTE

func TokenGTE(v string) predicate.InvitationToken

TokenGTE applies the GTE predicate on the "token" field.

func TokenHasPrefix

func TokenHasPrefix(v string) predicate.InvitationToken

TokenHasPrefix applies the HasPrefix predicate on the "token" field.

func TokenHasSuffix

func TokenHasSuffix(v string) predicate.InvitationToken

TokenHasSuffix applies the HasSuffix predicate on the "token" field.

func TokenHash

func TokenHash(v string) predicate.InvitationToken

TokenHash applies equality check predicate on the "token_hash" field. It's identical to TokenHashEQ.

func TokenHashContains

func TokenHashContains(v string) predicate.InvitationToken

TokenHashContains applies the Contains predicate on the "token_hash" field.

func TokenHashContainsFold

func TokenHashContainsFold(v string) predicate.InvitationToken

TokenHashContainsFold applies the ContainsFold predicate on the "token_hash" field.

func TokenHashEQ

func TokenHashEQ(v string) predicate.InvitationToken

TokenHashEQ applies the EQ predicate on the "token_hash" field.

func TokenHashEqualFold

func TokenHashEqualFold(v string) predicate.InvitationToken

TokenHashEqualFold applies the EqualFold predicate on the "token_hash" field.

func TokenHashGT

func TokenHashGT(v string) predicate.InvitationToken

TokenHashGT applies the GT predicate on the "token_hash" field.

func TokenHashGTE

func TokenHashGTE(v string) predicate.InvitationToken

TokenHashGTE applies the GTE predicate on the "token_hash" field.

func TokenHashHasPrefix

func TokenHashHasPrefix(v string) predicate.InvitationToken

TokenHashHasPrefix applies the HasPrefix predicate on the "token_hash" field.

func TokenHashHasSuffix

func TokenHashHasSuffix(v string) predicate.InvitationToken

TokenHashHasSuffix applies the HasSuffix predicate on the "token_hash" field.

func TokenHashIn

func TokenHashIn(vs ...string) predicate.InvitationToken

TokenHashIn applies the In predicate on the "token_hash" field.

func TokenHashLT

func TokenHashLT(v string) predicate.InvitationToken

TokenHashLT applies the LT predicate on the "token_hash" field.

func TokenHashLTE

func TokenHashLTE(v string) predicate.InvitationToken

TokenHashLTE applies the LTE predicate on the "token_hash" field.

func TokenHashNEQ

func TokenHashNEQ(v string) predicate.InvitationToken

TokenHashNEQ applies the NEQ predicate on the "token_hash" field.

func TokenHashNotIn

func TokenHashNotIn(vs ...string) predicate.InvitationToken

TokenHashNotIn applies the NotIn predicate on the "token_hash" field.

func TokenIn

func TokenIn(vs ...string) predicate.InvitationToken

TokenIn applies the In predicate on the "token" field.

func TokenLT

func TokenLT(v string) predicate.InvitationToken

TokenLT applies the LT predicate on the "token" field.

func TokenLTE

func TokenLTE(v string) predicate.InvitationToken

TokenLTE applies the LTE predicate on the "token" field.

func TokenNEQ

func TokenNEQ(v string) predicate.InvitationToken

TokenNEQ applies the NEQ predicate on the "token" field.

func TokenNotIn

func TokenNotIn(vs ...string) predicate.InvitationToken

TokenNotIn applies the NotIn predicate on the "token" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.InvitationToken

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.InvitationToken

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.InvitationToken

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.InvitationToken

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.InvitationToken

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.InvitationToken

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.InvitationToken

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.InvitationToken

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.InvitationToken

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

func UpdatedByID

func UpdatedByID(v uuid.UUID) predicate.InvitationToken

UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.

func UpdatedByIDEQ

func UpdatedByIDEQ(v uuid.UUID) predicate.InvitationToken

UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.

func UpdatedByIDGT

func UpdatedByIDGT(v uuid.UUID) predicate.InvitationToken

UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.

func UpdatedByIDGTE

func UpdatedByIDGTE(v uuid.UUID) predicate.InvitationToken

UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.

func UpdatedByIDIn

func UpdatedByIDIn(vs ...uuid.UUID) predicate.InvitationToken

UpdatedByIDIn applies the In predicate on the "updated_by_id" field.

func UpdatedByIDIsNil

func UpdatedByIDIsNil() predicate.InvitationToken

UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.

func UpdatedByIDLT

func UpdatedByIDLT(v uuid.UUID) predicate.InvitationToken

UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.

func UpdatedByIDLTE

func UpdatedByIDLTE(v uuid.UUID) predicate.InvitationToken

UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.

func UpdatedByIDNEQ

func UpdatedByIDNEQ(v uuid.UUID) predicate.InvitationToken

UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.

func UpdatedByIDNotIn

func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.InvitationToken

UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.

func UpdatedByIDNotNil

func UpdatedByIDNotNil() predicate.InvitationToken

UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.

func UsedAt

UsedAt applies equality check predicate on the "used_at" field. It's identical to UsedAtEQ.

func UsedAtEQ

func UsedAtEQ(v time.Time) predicate.InvitationToken

UsedAtEQ applies the EQ predicate on the "used_at" field.

func UsedAtGT

func UsedAtGT(v time.Time) predicate.InvitationToken

UsedAtGT applies the GT predicate on the "used_at" field.

func UsedAtGTE

func UsedAtGTE(v time.Time) predicate.InvitationToken

UsedAtGTE applies the GTE predicate on the "used_at" field.

func UsedAtIn

func UsedAtIn(vs ...time.Time) predicate.InvitationToken

UsedAtIn applies the In predicate on the "used_at" field.

func UsedAtIsNil

func UsedAtIsNil() predicate.InvitationToken

UsedAtIsNil applies the IsNil predicate on the "used_at" field.

func UsedAtLT

func UsedAtLT(v time.Time) predicate.InvitationToken

UsedAtLT applies the LT predicate on the "used_at" field.

func UsedAtLTE

func UsedAtLTE(v time.Time) predicate.InvitationToken

UsedAtLTE applies the LTE predicate on the "used_at" field.

func UsedAtNEQ

func UsedAtNEQ(v time.Time) predicate.InvitationToken

UsedAtNEQ applies the NEQ predicate on the "used_at" field.

func UsedAtNotIn

func UsedAtNotIn(vs ...time.Time) predicate.InvitationToken

UsedAtNotIn applies the NotIn predicate on the "used_at" field.

func UsedAtNotNil

func UsedAtNotNil() predicate.InvitationToken

UsedAtNotNil applies the NotNil predicate on the "used_at" 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 InvitationToken queries.

func ByArchivedAt

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

ByArchivedAt orders the results by the archived_at field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedByID

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

ByCreatedByID orders the results by the created_by_id field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedByID

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

ByDeletedByID orders the results by the deleted_by_id field.

func ByDomainKey

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

ByDomainKey orders the results by the domain_key field.

func ByDomainType

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

ByDomainType orders the results by the domain_type field.

func ByEmail

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

ByEmail orders the results by the email field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at field.

func ByID

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

ByID orders the results by the id field.

func ByIsUsed

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

ByIsUsed orders the results by the is_used field.

func ByJti

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

ByJti orders the results by the jti field.

func ByPublishedAt

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

ByPublishedAt orders the results by the published_at field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByToken

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

ByToken orders the results by the token field.

func ByTokenHash

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

ByTokenHash orders the results by the token_hash field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedByID

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

ByUpdatedByID orders the results by the updated_by_id field.

func ByUsedAt

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

ByUsedAt orders the results by the used_at 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