package
0.1.0
Repository: https://github.com/xmlking/grpc-starter-kit.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
CreateTime applies equality check predicate on the "create_time" field.
CreateTimeEQ applies the EQ predicate on the "create_time" field.
CreateTimeGT applies the GT predicate on the "create_time" field.
CreateTimeGTE applies the GTE predicate on the "create_time" field.
CreateTimeIn applies the In predicate on the "create_time" field.
CreateTimeLT applies the LT predicate on the "create_time" field.
CreateTimeLTE applies the LTE predicate on the "create_time" field.
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
DeleteTime applies equality check predicate on the "delete_time" field.
DeleteTimeEQ applies the EQ predicate on the "delete_time" field.
DeleteTimeGT applies the GT predicate on the "delete_time" field.
DeleteTimeGTE applies the GTE predicate on the "delete_time" field.
DeleteTimeIn applies the In predicate on the "delete_time" field.
DeleteTimeIsNil applies the IsNil predicate on the "delete_time" field.
DeleteTimeLT applies the LT predicate on the "delete_time" field.
DeleteTimeLTE applies the LTE predicate on the "delete_time" field.
DeleteTimeNEQ applies the NEQ predicate on the "delete_time" field.
DeleteTimeNotIn applies the NotIn predicate on the "delete_time" field.
DeleteTimeNotNil applies the NotNil predicate on the "delete_time" 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 "first_name" field.
FirstNameContains applies the Contains predicate on the "first_name" field.
FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.
FirstNameEQ applies the EQ predicate on the "first_name" field.
FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.
FirstNameGT applies the GT predicate on the "first_name" field.
FirstNameGTE applies the GTE predicate on the "first_name" field.
FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.
FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.
FirstNameIn applies the In predicate on the "first_name" field.
FirstNameLT applies the LT predicate on the "first_name" field.
FirstNameLTE applies the LTE predicate on the "first_name" field.
FirstNameNEQ applies the NEQ predicate on the "first_name" field.
FirstNameNotIn applies the NotIn predicate on the "first_name" field.
HasProfile applies the HasEdge predicate on the "profile" edge.
HasProfileWith applies the HasEdge predicate on the "profile" 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 "last_name" field.
LastNameContains applies the Contains predicate on the "last_name" field.
LastNameContainsFold applies the ContainsFold predicate on the "last_name" field.
LastNameEQ applies the EQ predicate on the "last_name" field.
LastNameEqualFold applies the EqualFold predicate on the "last_name" field.
LastNameGT applies the GT predicate on the "last_name" field.
LastNameGTE applies the GTE predicate on the "last_name" field.
LastNameHasPrefix applies the HasPrefix predicate on the "last_name" field.
LastNameHasSuffix applies the HasSuffix predicate on the "last_name" field.
LastNameIn applies the In predicate on the "last_name" field.
LastNameLT applies the LT predicate on the "last_name" field.
LastNameLTE applies the LTE predicate on the "last_name" field.
LastNameNEQ applies the NEQ predicate on the "last_name" field.
LastNameNotIn applies the NotIn predicate on the "last_name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Tenant applies equality check predicate on the "tenant" field.
TenantContains applies the Contains predicate on the "tenant" field.
TenantContainsFold applies the ContainsFold predicate on the "tenant" field.
TenantEQ applies the EQ predicate on the "tenant" field.
TenantEqualFold applies the EqualFold predicate on the "tenant" field.
TenantGT applies the GT predicate on the "tenant" field.
TenantGTE applies the GTE predicate on the "tenant" field.
TenantHasPrefix applies the HasPrefix predicate on the "tenant" field.
TenantHasSuffix applies the HasSuffix predicate on the "tenant" field.
TenantIn applies the In predicate on the "tenant" field.
TenantLT applies the LT predicate on the "tenant" field.
TenantLTE applies the LTE predicate on the "tenant" field.
TenantNEQ applies the NEQ predicate on the "tenant" field.
TenantNotIn applies the NotIn predicate on the "tenant" field.
UpdateTime applies equality check predicate on the "update_time" field.
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
UpdateTimeGT applies the GT predicate on the "update_time" field.
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
UpdateTimeIn applies the In predicate on the "update_time" field.
UpdateTimeLT applies the LT predicate on the "update_time" field.
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
Username applies equality check predicate on the "username" field.
UsernameContains applies the Contains predicate on the "username" field.
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
UsernameEQ applies the EQ predicate on the "username" field.
UsernameEqualFold applies the EqualFold predicate on the "username" field.
UsernameGT applies the GT predicate on the "username" field.
UsernameGTE applies the GTE predicate on the "username" field.
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
UsernameIn applies the In predicate on the "username" field.
UsernameLT applies the LT predicate on the "username" field.
UsernameLTE applies the LTE predicate on the "username" field.
UsernameNEQ applies the NEQ predicate on the "username" field.
UsernameNotIn applies the NotIn predicate on the "username" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeProfile holds the string denoting the profile edge name in mutations.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldDeleteTime holds the string denoting the delete_time field in the database.
FieldEmail holds the string denoting the email field in the database.
FieldFirstName holds the string denoting the first_name field in the database.
FieldID holds the string denoting the id field in the database.
FieldLastName holds the string denoting the last_name field in the database.
FieldTenant holds the string denoting the tenant field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
FieldUsername holds the string denoting the username field in the database.
Label holds the string label denoting the user type in the database.
ProfileColumn is the table column denoting the profile relation/edge.
ProfileInverseTable is the table name for the Profile entity.
ProfileTable is the table the holds the profile relation/edge.
Table holds the table name of the user in the database.

# Variables

Columns holds all SQL columns for user fields.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultID holds the default value on creation for the "id" field.
DefaultTenant holds the default value on creation for the "tenant" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
EmailValidator is a validator for the "email" field.
FirstNameValidator is a validator for the "first_name" field.
LastNameValidator is a validator for the "last_name" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
UsernameValidator is a validator for the "username" field.