person

package
v0.0.0-...-b385652 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the person type in the database.
	Label = "person"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldIsGiantSwarmEmployee holds the string denoting the isgiantswarmemployee field in the database.
	FieldIsGiantSwarmEmployee = "is_giant_swarm_employee"
	// EdgeGithubAccount holds the string denoting the github_account edge name in mutations.
	EdgeGithubAccount = "github_account"
	// GithubAccountLabel holds the string label denoting the github_account edge type in the database.
	GithubAccountLabel = "person_github_account"
)

Variables

This section is empty.

Functions

func And

func And(predicates ...predicate.Person) predicate.Person

And groups predicates with the AND operator between them.

func Email

func Email(v string) predicate.Person

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

func EmailContains

func EmailContains(v string) predicate.Person

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

func EmailEQ

func EmailEQ(v string) predicate.Person

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

func EmailGT

func EmailGT(v string) predicate.Person

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

func EmailGTE

func EmailGTE(v string) predicate.Person

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Person

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Person

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

func EmailIn

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

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

func EmailLT

func EmailLT(v string) predicate.Person

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

func EmailLTE

func EmailLTE(v string) predicate.Person

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

func EmailNEQ

func EmailNEQ(v string) predicate.Person

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

func EmailNotIn

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

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

func HasGithubAccount

func HasGithubAccount() predicate.Person

HasGithubAccount applies the HasEdge predicate on the "github_account" edge.

func HasGithubAccountWith

func HasGithubAccountWith(preds ...predicate.GitHubUser) predicate.Person

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

func ID

func ID(id string) predicate.Person

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.Person

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Person

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Person

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Person

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Person

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Person

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Person

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Person

IDNotIn applies the NotIn predicate on the ID field.

func IsGiantSwarmEmployee

func IsGiantSwarmEmployee(v bool) predicate.Person

IsGiantSwarmEmployee applies equality check predicate on the "isGiantSwarmEmployee" field. It's identical to IsGiantSwarmEmployeeEQ.

func IsGiantSwarmEmployeeEQ

func IsGiantSwarmEmployeeEQ(v bool) predicate.Person

IsGiantSwarmEmployeeEQ applies the EQ predicate on the "isGiantSwarmEmployee" field.

func IsGiantSwarmEmployeeNEQ

func IsGiantSwarmEmployeeNEQ(v bool) predicate.Person

IsGiantSwarmEmployeeNEQ applies the NEQ predicate on the "isGiantSwarmEmployee" field.

func Name

func Name(v string) predicate.Person

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

func NameContains

func NameContains(v string) predicate.Person

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

func NameEQ

func NameEQ(v string) predicate.Person

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

func NameGT

func NameGT(v string) predicate.Person

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

func NameGTE

func NameGTE(v string) predicate.Person

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Person

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Person

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Person

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

func NameLTE

func NameLTE(v string) predicate.Person

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

func NameNEQ

func NameNEQ(v string) predicate.Person

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Person) predicate.Person

Or groups predicates with the OR operator between them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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