user

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user type in the database.
	Label = "user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldBloopyId holds the string denoting the bloopyid field in the database.
	FieldBloopyId = "bloopy_id"
	// FieldDiscordid holds the string denoting the discordid field in the database.
	FieldDiscordid = "discordid"
	// FieldPlexid holds the string denoting the plexid field in the database.
	FieldPlexid = "plexid"
	// FieldBloopnetid holds the string denoting the bloopnetid field in the database.
	FieldBloopnetid = "bloopnetid"
	// FieldAuthentikpkid holds the string denoting the authentikpkid field in the database.
	FieldAuthentikpkid = "authentikpkid"
	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"
	// EdgeMediaRequest holds the string denoting the mediarequest edge name in mutations.
	EdgeMediaRequest = "mediaRequest"
	// Table holds the table name of the user in the database.
	Table = "users"
	// GroupsTable is the table that holds the groups relation/edge. The primary key declared below.
	GroupsTable = "group_users"
	// GroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupsInverseTable = "groups"
	// MediaRequestTable is the table that holds the mediaRequest relation/edge.
	MediaRequestTable = "media_requests"
	// MediaRequestInverseTable is the table name for the MediaRequest entity.
	// It exists in this package in order to avoid circular dependency with the "mediarequest" package.
	MediaRequestInverseTable = "media_requests"
	// MediaRequestColumn is the table column denoting the mediaRequest relation/edge.
	MediaRequestColumn = "user_media_request"
)

Variables

View Source
var (
	// DefaultDiscordid holds the default value on creation for the "discordid" field.
	DefaultDiscordid string
	// DefaultPlexid holds the default value on creation for the "Plexid" field.
	DefaultPlexid string
)

Columns holds all SQL columns for user fields.

View Source
var (
	// GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the
	// primary key for the groups relation (M2M).
	GroupsPrimaryKey = []string{"group_id", "user_id"}
)

Functions

func And

func And(predicates ...predicate.User) predicate.User

And groups predicates with the AND operator between them.

func Authentikpkid

func Authentikpkid(v string) predicate.User

Authentikpkid applies equality check predicate on the "authentikpkid" field. It's identical to AuthentikpkidEQ.

func AuthentikpkidContains

func AuthentikpkidContains(v string) predicate.User

AuthentikpkidContains applies the Contains predicate on the "authentikpkid" field.

func AuthentikpkidContainsFold

func AuthentikpkidContainsFold(v string) predicate.User

AuthentikpkidContainsFold applies the ContainsFold predicate on the "authentikpkid" field.

func AuthentikpkidEQ

func AuthentikpkidEQ(v string) predicate.User

AuthentikpkidEQ applies the EQ predicate on the "authentikpkid" field.

func AuthentikpkidEqualFold

func AuthentikpkidEqualFold(v string) predicate.User

AuthentikpkidEqualFold applies the EqualFold predicate on the "authentikpkid" field.

func AuthentikpkidGT

func AuthentikpkidGT(v string) predicate.User

AuthentikpkidGT applies the GT predicate on the "authentikpkid" field.

func AuthentikpkidGTE

func AuthentikpkidGTE(v string) predicate.User

AuthentikpkidGTE applies the GTE predicate on the "authentikpkid" field.

func AuthentikpkidHasPrefix

func AuthentikpkidHasPrefix(v string) predicate.User

AuthentikpkidHasPrefix applies the HasPrefix predicate on the "authentikpkid" field.

func AuthentikpkidHasSuffix

func AuthentikpkidHasSuffix(v string) predicate.User

AuthentikpkidHasSuffix applies the HasSuffix predicate on the "authentikpkid" field.

func AuthentikpkidIn

func AuthentikpkidIn(vs ...string) predicate.User

AuthentikpkidIn applies the In predicate on the "authentikpkid" field.

func AuthentikpkidLT

func AuthentikpkidLT(v string) predicate.User

AuthentikpkidLT applies the LT predicate on the "authentikpkid" field.

func AuthentikpkidLTE

func AuthentikpkidLTE(v string) predicate.User

AuthentikpkidLTE applies the LTE predicate on the "authentikpkid" field.

func AuthentikpkidNEQ

func AuthentikpkidNEQ(v string) predicate.User

AuthentikpkidNEQ applies the NEQ predicate on the "authentikpkid" field.

func AuthentikpkidNotIn

func AuthentikpkidNotIn(vs ...string) predicate.User

AuthentikpkidNotIn applies the NotIn predicate on the "authentikpkid" field.

func Bloopnetid

func Bloopnetid(v string) predicate.User

Bloopnetid applies equality check predicate on the "bloopnetid" field. It's identical to BloopnetidEQ.

func BloopnetidContains

func BloopnetidContains(v string) predicate.User

BloopnetidContains applies the Contains predicate on the "bloopnetid" field.

func BloopnetidContainsFold

func BloopnetidContainsFold(v string) predicate.User

BloopnetidContainsFold applies the ContainsFold predicate on the "bloopnetid" field.

func BloopnetidEQ

func BloopnetidEQ(v string) predicate.User

BloopnetidEQ applies the EQ predicate on the "bloopnetid" field.

func BloopnetidEqualFold

func BloopnetidEqualFold(v string) predicate.User

BloopnetidEqualFold applies the EqualFold predicate on the "bloopnetid" field.

func BloopnetidGT

func BloopnetidGT(v string) predicate.User

BloopnetidGT applies the GT predicate on the "bloopnetid" field.

func BloopnetidGTE

func BloopnetidGTE(v string) predicate.User

BloopnetidGTE applies the GTE predicate on the "bloopnetid" field.

func BloopnetidHasPrefix

func BloopnetidHasPrefix(v string) predicate.User

BloopnetidHasPrefix applies the HasPrefix predicate on the "bloopnetid" field.

func BloopnetidHasSuffix

func BloopnetidHasSuffix(v string) predicate.User

BloopnetidHasSuffix applies the HasSuffix predicate on the "bloopnetid" field.

func BloopnetidIn

func BloopnetidIn(vs ...string) predicate.User

BloopnetidIn applies the In predicate on the "bloopnetid" field.

func BloopnetidLT

func BloopnetidLT(v string) predicate.User

BloopnetidLT applies the LT predicate on the "bloopnetid" field.

func BloopnetidLTE

func BloopnetidLTE(v string) predicate.User

BloopnetidLTE applies the LTE predicate on the "bloopnetid" field.

func BloopnetidNEQ

func BloopnetidNEQ(v string) predicate.User

BloopnetidNEQ applies the NEQ predicate on the "bloopnetid" field.

func BloopnetidNotIn

func BloopnetidNotIn(vs ...string) predicate.User

BloopnetidNotIn applies the NotIn predicate on the "bloopnetid" field.

func BloopyId

func BloopyId(v uuid.UUID) predicate.User

BloopyId applies equality check predicate on the "bloopyId" field. It's identical to BloopyIdEQ.

func BloopyIdEQ

func BloopyIdEQ(v uuid.UUID) predicate.User

BloopyIdEQ applies the EQ predicate on the "bloopyId" field.

func BloopyIdGT

func BloopyIdGT(v uuid.UUID) predicate.User

BloopyIdGT applies the GT predicate on the "bloopyId" field.

func BloopyIdGTE

func BloopyIdGTE(v uuid.UUID) predicate.User

BloopyIdGTE applies the GTE predicate on the "bloopyId" field.

func BloopyIdIn

func BloopyIdIn(vs ...uuid.UUID) predicate.User

BloopyIdIn applies the In predicate on the "bloopyId" field.

func BloopyIdLT

func BloopyIdLT(v uuid.UUID) predicate.User

BloopyIdLT applies the LT predicate on the "bloopyId" field.

func BloopyIdLTE

func BloopyIdLTE(v uuid.UUID) predicate.User

BloopyIdLTE applies the LTE predicate on the "bloopyId" field.

func BloopyIdNEQ

func BloopyIdNEQ(v uuid.UUID) predicate.User

BloopyIdNEQ applies the NEQ predicate on the "bloopyId" field.

func BloopyIdNotIn

func BloopyIdNotIn(vs ...uuid.UUID) predicate.User

BloopyIdNotIn applies the NotIn predicate on the "bloopyId" field.

func Discordid

func Discordid(v string) predicate.User

Discordid applies equality check predicate on the "discordid" field. It's identical to DiscordidEQ.

func DiscordidContains

func DiscordidContains(v string) predicate.User

DiscordidContains applies the Contains predicate on the "discordid" field.

func DiscordidContainsFold

func DiscordidContainsFold(v string) predicate.User

DiscordidContainsFold applies the ContainsFold predicate on the "discordid" field.

func DiscordidEQ

func DiscordidEQ(v string) predicate.User

DiscordidEQ applies the EQ predicate on the "discordid" field.

func DiscordidEqualFold

func DiscordidEqualFold(v string) predicate.User

DiscordidEqualFold applies the EqualFold predicate on the "discordid" field.

func DiscordidGT

func DiscordidGT(v string) predicate.User

DiscordidGT applies the GT predicate on the "discordid" field.

func DiscordidGTE

func DiscordidGTE(v string) predicate.User

DiscordidGTE applies the GTE predicate on the "discordid" field.

func DiscordidHasPrefix

func DiscordidHasPrefix(v string) predicate.User

DiscordidHasPrefix applies the HasPrefix predicate on the "discordid" field.

func DiscordidHasSuffix

func DiscordidHasSuffix(v string) predicate.User

DiscordidHasSuffix applies the HasSuffix predicate on the "discordid" field.

func DiscordidIn

func DiscordidIn(vs ...string) predicate.User

DiscordidIn applies the In predicate on the "discordid" field.

func DiscordidLT

func DiscordidLT(v string) predicate.User

DiscordidLT applies the LT predicate on the "discordid" field.

func DiscordidLTE

func DiscordidLTE(v string) predicate.User

DiscordidLTE applies the LTE predicate on the "discordid" field.

func DiscordidNEQ

func DiscordidNEQ(v string) predicate.User

DiscordidNEQ applies the NEQ predicate on the "discordid" field.

func DiscordidNotIn

func DiscordidNotIn(vs ...string) predicate.User

DiscordidNotIn applies the NotIn predicate on the "discordid" field.

func HasGroups

func HasGroups() predicate.User

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith

func HasGroupsWith(preds ...predicate.Group) predicate.User

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

func HasMediaRequest

func HasMediaRequest() predicate.User

HasMediaRequest applies the HasEdge predicate on the "mediaRequest" edge.

func HasMediaRequestWith

func HasMediaRequestWith(preds ...predicate.MediaRequest) predicate.User

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

func ID

func ID(id int) predicate.User

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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

Or groups predicates with the OR operator between them.

func Plexid

func Plexid(v string) predicate.User

Plexid applies equality check predicate on the "Plexid" field. It's identical to PlexidEQ.

func PlexidContains

func PlexidContains(v string) predicate.User

PlexidContains applies the Contains predicate on the "Plexid" field.

func PlexidContainsFold

func PlexidContainsFold(v string) predicate.User

PlexidContainsFold applies the ContainsFold predicate on the "Plexid" field.

func PlexidEQ

func PlexidEQ(v string) predicate.User

PlexidEQ applies the EQ predicate on the "Plexid" field.

func PlexidEqualFold

func PlexidEqualFold(v string) predicate.User

PlexidEqualFold applies the EqualFold predicate on the "Plexid" field.

func PlexidGT

func PlexidGT(v string) predicate.User

PlexidGT applies the GT predicate on the "Plexid" field.

func PlexidGTE

func PlexidGTE(v string) predicate.User

PlexidGTE applies the GTE predicate on the "Plexid" field.

func PlexidHasPrefix

func PlexidHasPrefix(v string) predicate.User

PlexidHasPrefix applies the HasPrefix predicate on the "Plexid" field.

func PlexidHasSuffix

func PlexidHasSuffix(v string) predicate.User

PlexidHasSuffix applies the HasSuffix predicate on the "Plexid" field.

func PlexidIn

func PlexidIn(vs ...string) predicate.User

PlexidIn applies the In predicate on the "Plexid" field.

func PlexidLT

func PlexidLT(v string) predicate.User

PlexidLT applies the LT predicate on the "Plexid" field.

func PlexidLTE

func PlexidLTE(v string) predicate.User

PlexidLTE applies the LTE predicate on the "Plexid" field.

func PlexidNEQ

func PlexidNEQ(v string) predicate.User

PlexidNEQ applies the NEQ predicate on the "Plexid" field.

func PlexidNotIn

func PlexidNotIn(vs ...string) predicate.User

PlexidNotIn applies the NotIn predicate on the "Plexid" 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