package
0.0.0-20240708214400-fdb458c3b3ee
Repository: https://github.com/cyberguru1/stage-two.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByEmail orders the results by the email field.
ByFirstName orders the results by the firstName field.
ByID orders the results by the id field.
ByLastName orders the results by the lastName field.
ByOrganisations orders the results by organisations terms.
ByOrganisationsCount orders the results by organisations count.
ByPassword orders the results by the password field.
ByPhone orders the results by the phone field.
ByUserid orders the results by the userid field.
Email applies equality check predicate on the "email" field.
EmailContains applies the Contains predicate on the "email" field.
EmailContainsFold applies the ContainsFold predicate on the "email" field.
EmailEQ applies the EQ predicate on the "email" field.
EmailEqualFold applies the EqualFold predicate on the "email" field.
EmailGT applies the GT predicate on the "email" field.
EmailGTE applies the GTE predicate on the "email" field.
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
EmailIn applies the In predicate on the "email" field.
EmailLT applies the LT predicate on the "email" field.
EmailLTE applies the LTE predicate on the "email" field.
EmailNEQ applies the NEQ predicate on the "email" field.
EmailNotIn applies the NotIn predicate on the "email" field.
FirstName applies equality check predicate on the "firstName" field.
FirstNameContains applies the Contains predicate on the "firstName" field.
FirstNameContainsFold applies the ContainsFold predicate on the "firstName" field.
FirstNameEQ applies the EQ predicate on the "firstName" field.
FirstNameEqualFold applies the EqualFold predicate on the "firstName" field.
FirstNameGT applies the GT predicate on the "firstName" field.
FirstNameGTE applies the GTE predicate on the "firstName" field.
FirstNameHasPrefix applies the HasPrefix predicate on the "firstName" field.
FirstNameHasSuffix applies the HasSuffix predicate on the "firstName" field.
FirstNameIn applies the In predicate on the "firstName" field.
FirstNameLT applies the LT predicate on the "firstName" field.
FirstNameLTE applies the LTE predicate on the "firstName" field.
FirstNameNEQ applies the NEQ predicate on the "firstName" field.
FirstNameNotIn applies the NotIn predicate on the "firstName" field.
HasOrganisations applies the HasEdge predicate on the "organisations" edge.
HasOrganisationsWith applies the HasEdge predicate on the "organisations" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
LastName applies equality check predicate on the "lastName" field.
LastNameContains applies the Contains predicate on the "lastName" field.
LastNameContainsFold applies the ContainsFold predicate on the "lastName" field.
LastNameEQ applies the EQ predicate on the "lastName" field.
LastNameEqualFold applies the EqualFold predicate on the "lastName" field.
LastNameGT applies the GT predicate on the "lastName" field.
LastNameGTE applies the GTE predicate on the "lastName" field.
LastNameHasPrefix applies the HasPrefix predicate on the "lastName" field.
LastNameHasSuffix applies the HasSuffix predicate on the "lastName" field.
LastNameIn applies the In predicate on the "lastName" field.
LastNameLT applies the LT predicate on the "lastName" field.
LastNameLTE applies the LTE predicate on the "lastName" field.
LastNameNEQ applies the NEQ predicate on the "lastName" field.
LastNameNotIn applies the NotIn predicate on the "lastName" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Password applies equality check predicate on the "password" field.
PasswordContains applies the Contains predicate on the "password" field.
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
PasswordEQ applies the EQ predicate on the "password" field.
PasswordEqualFold applies the EqualFold predicate on the "password" field.
PasswordGT applies the GT predicate on the "password" field.
PasswordGTE applies the GTE predicate on the "password" field.
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
PasswordIn applies the In predicate on the "password" field.
PasswordLT applies the LT predicate on the "password" field.
PasswordLTE applies the LTE predicate on the "password" field.
PasswordNEQ applies the NEQ predicate on the "password" field.
PasswordNotIn applies the NotIn predicate on the "password" field.
Phone applies equality check predicate on the "phone" field.
PhoneContains applies the Contains predicate on the "phone" field.
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
PhoneEQ applies the EQ predicate on the "phone" field.
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
PhoneGT applies the GT predicate on the "phone" field.
PhoneGTE applies the GTE predicate on the "phone" field.
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
PhoneIn applies the In predicate on the "phone" field.
PhoneIsNil applies the IsNil predicate on the "phone" field.
PhoneLT applies the LT predicate on the "phone" field.
PhoneLTE applies the LTE predicate on the "phone" field.
PhoneNEQ applies the NEQ predicate on the "phone" field.
PhoneNotIn applies the NotIn predicate on the "phone" field.
PhoneNotNil applies the NotNil predicate on the "phone" field.
Userid applies equality check predicate on the "userid" field.
UseridEQ applies the EQ predicate on the "userid" field.
UseridGT applies the GT predicate on the "userid" field.
UseridGTE applies the GTE predicate on the "userid" field.
UseridIn applies the In predicate on the "userid" field.
UseridLT applies the LT predicate on the "userid" field.
UseridLTE applies the LTE predicate on the "userid" field.
UseridNEQ applies the NEQ predicate on the "userid" field.
UseridNotIn applies the NotIn predicate on the "userid" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
EdgeOrganisations holds the string denoting the organisations edge name in mutations.
FieldEmail holds the string denoting the email field in the database.
FieldFirstName holds the string denoting the firstname field in the database.
FieldID holds the string denoting the id field in the database.
FieldLastName holds the string denoting the lastname field in the database.
FieldPassword holds the string denoting the password field in the database.
FieldPhone holds the string denoting the phone field in the database.
FieldUserid holds the string denoting the userid field in the database.
Label holds the string label denoting the user type in the database.
OrganisationsInverseTable is the table name for the Organisation entity.
OrganisationsTable is the table that holds the organisations relation/edge.
Table holds the table name of the user in the database.
# Variables
Columns holds all SQL columns for user fields.
DefaultUserid holds the default value on creation for the "userid" field.
EmailValidator is a validator for the "email" field.
FirstNameValidator is a validator for the "firstName" field.
LastNameValidator is a validator for the "lastName" field.
OrganisationsPrimaryKey and OrganisationsColumn2 are the table columns denoting the primary key for the organisations relation (M2M).
PasswordValidator is a validator for the "password" field.
# Type aliases
OrderOption defines the ordering options for the User queries.