clientserver

package
v0.0.0-...-7f4b9de Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the clientserver type in the database.
	Label = "client_server"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldClientName holds the string denoting the client_name field in the database.
	FieldClientName = "client_name"
	// FieldToken holds the string denoting the token field in the database.
	FieldToken = "token"
	// FieldLink holds the string denoting the link field in the database.
	FieldLink = "link"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldAvailable holds the string denoting the available field in the database.
	FieldAvailable = "available"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"

	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"

	// Table holds the table name of the clientserver in the database.
	Table = "client_servers"
	// EventsTable is the table the holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "event_clientserver"
	// OwnerTable is the table the holds the owner relation/edge. The primary key declared below.
	OwnerTable = "client_server_owner"
	// OwnerInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	OwnerInverseTable = "users"
)

Variables

Columns holds all SQL columns for clientserver fields.

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)
View Source
var (
	// OwnerPrimaryKey and OwnerColumn2 are the table columns denoting the
	// primary key for the owner relation (M2M).
	OwnerPrimaryKey = []string{"client_server_id", "user_id"}
)

Functions

func And

func And(predicates ...predicate.ClientServer) predicate.ClientServer

And groups predicates with the AND operator between them.

func Available

func Available(v bool) predicate.ClientServer

Available applies equality check predicate on the "available" field. It's identical to AvailableEQ.

func AvailableEQ

func AvailableEQ(v bool) predicate.ClientServer

AvailableEQ applies the EQ predicate on the "available" field.

func AvailableNEQ

func AvailableNEQ(v bool) predicate.ClientServer

AvailableNEQ applies the NEQ predicate on the "available" field.

func ClientName

func ClientName(v string) predicate.ClientServer

ClientName applies equality check predicate on the "client_name" field. It's identical to ClientNameEQ.

func ClientNameContains

func ClientNameContains(v string) predicate.ClientServer

ClientNameContains applies the Contains predicate on the "client_name" field.

func ClientNameContainsFold

func ClientNameContainsFold(v string) predicate.ClientServer

ClientNameContainsFold applies the ContainsFold predicate on the "client_name" field.

func ClientNameEQ

func ClientNameEQ(v string) predicate.ClientServer

ClientNameEQ applies the EQ predicate on the "client_name" field.

func ClientNameEqualFold

func ClientNameEqualFold(v string) predicate.ClientServer

ClientNameEqualFold applies the EqualFold predicate on the "client_name" field.

func ClientNameGT

func ClientNameGT(v string) predicate.ClientServer

ClientNameGT applies the GT predicate on the "client_name" field.

func ClientNameGTE

func ClientNameGTE(v string) predicate.ClientServer

ClientNameGTE applies the GTE predicate on the "client_name" field.

func ClientNameHasPrefix

func ClientNameHasPrefix(v string) predicate.ClientServer

ClientNameHasPrefix applies the HasPrefix predicate on the "client_name" field.

func ClientNameHasSuffix

func ClientNameHasSuffix(v string) predicate.ClientServer

ClientNameHasSuffix applies the HasSuffix predicate on the "client_name" field.

func ClientNameIn

func ClientNameIn(vs ...string) predicate.ClientServer

ClientNameIn applies the In predicate on the "client_name" field.

func ClientNameLT

func ClientNameLT(v string) predicate.ClientServer

ClientNameLT applies the LT predicate on the "client_name" field.

func ClientNameLTE

func ClientNameLTE(v string) predicate.ClientServer

ClientNameLTE applies the LTE predicate on the "client_name" field.

func ClientNameNEQ

func ClientNameNEQ(v string) predicate.ClientServer

ClientNameNEQ applies the NEQ predicate on the "client_name" field.

func ClientNameNotIn

func ClientNameNotIn(vs ...string) predicate.ClientServer

ClientNameNotIn applies the NotIn predicate on the "client_name" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ClientServer

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ClientServer

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ClientServer

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ClientServer

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ClientServer

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ClientServer

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ClientServer

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

func CreatedAtNotIn

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

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

func Description

func Description(v string) predicate.ClientServer

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.ClientServer

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ClientServer

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.ClientServer

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ClientServer

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.ClientServer

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.ClientServer

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ClientServer

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ClientServer

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.ClientServer

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.ClientServer

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.ClientServer

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ClientServer

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.ClientServer

DescriptionNotIn applies the NotIn predicate on the "description" field.

func HasEvents

func HasEvents() predicate.ClientServer

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.ClientServer

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

func HasOwner

func HasOwner() predicate.ClientServer

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.User) predicate.ClientServer

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

func ID

func ID(id int) predicate.ClientServer

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ClientServer

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ClientServer

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ClientServer

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ClientServer

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ClientServer

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ClientServer

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

Link applies equality check predicate on the "link" field. It's identical to LinkEQ.

func LinkContains

func LinkContains(v string) predicate.ClientServer

LinkContains applies the Contains predicate on the "link" field.

func LinkContainsFold

func LinkContainsFold(v string) predicate.ClientServer

LinkContainsFold applies the ContainsFold predicate on the "link" field.

func LinkEQ

func LinkEQ(v string) predicate.ClientServer

LinkEQ applies the EQ predicate on the "link" field.

func LinkEqualFold

func LinkEqualFold(v string) predicate.ClientServer

LinkEqualFold applies the EqualFold predicate on the "link" field.

func LinkGT

func LinkGT(v string) predicate.ClientServer

LinkGT applies the GT predicate on the "link" field.

func LinkGTE

func LinkGTE(v string) predicate.ClientServer

LinkGTE applies the GTE predicate on the "link" field.

func LinkHasPrefix

func LinkHasPrefix(v string) predicate.ClientServer

LinkHasPrefix applies the HasPrefix predicate on the "link" field.

func LinkHasSuffix

func LinkHasSuffix(v string) predicate.ClientServer

LinkHasSuffix applies the HasSuffix predicate on the "link" field.

func LinkIn

func LinkIn(vs ...string) predicate.ClientServer

LinkIn applies the In predicate on the "link" field.

func LinkLT

func LinkLT(v string) predicate.ClientServer

LinkLT applies the LT predicate on the "link" field.

func LinkLTE

func LinkLTE(v string) predicate.ClientServer

LinkLTE applies the LTE predicate on the "link" field.

func LinkNEQ

func LinkNEQ(v string) predicate.ClientServer

LinkNEQ applies the NEQ predicate on the "link" field.

func LinkNotIn

func LinkNotIn(vs ...string) predicate.ClientServer

LinkNotIn applies the NotIn predicate on the "link" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ClientServer) predicate.ClientServer

Or groups predicates with the OR operator between them.

func Token

func Token(v string) predicate.ClientServer

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

func TokenContains

func TokenContains(v string) predicate.ClientServer

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

func TokenContainsFold

func TokenContainsFold(v string) predicate.ClientServer

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

func TokenEQ

func TokenEQ(v string) predicate.ClientServer

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

func TokenEqualFold

func TokenEqualFold(v string) predicate.ClientServer

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

func TokenGT

func TokenGT(v string) predicate.ClientServer

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

func TokenGTE

func TokenGTE(v string) predicate.ClientServer

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

func TokenHasPrefix

func TokenHasPrefix(v string) predicate.ClientServer

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

func TokenHasSuffix

func TokenHasSuffix(v string) predicate.ClientServer

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

func TokenIn

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

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

func TokenLT

func TokenLT(v string) predicate.ClientServer

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

func TokenLTE

func TokenLTE(v string) predicate.ClientServer

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

func TokenNEQ

func TokenNEQ(v string) predicate.ClientServer

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

func TokenNotIn

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

TokenNotIn applies the NotIn predicate on the "token" 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