package
0.0.0-20220403165414-79ce300d6602
Repository: https://github.com/sundaytycoon/buttons-api.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
CreatedBy applies equality check predicate on the "created_by" field.
CreatedByContains applies the Contains predicate on the "created_by" field.
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
CreatedByEQ applies the EQ predicate on the "created_by" field.
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
CreatedByGT applies the GT predicate on the "created_by" field.
CreatedByGTE applies the GTE predicate on the "created_by" field.
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
CreatedByIn applies the In predicate on the "created_by" field.
CreatedByLT applies the LT predicate on the "created_by" field.
CreatedByLTE applies the LTE predicate on the "created_by" field.
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
HasDevices applies the HasEdge predicate on the "devices" edge.
HasDevicesWith applies the HasEdge predicate on the "devices" edge with a given conditions (other predicates).
HasMeta applies the HasEdge predicate on the "meta" edge.
HasMetaWith applies the HasEdge predicate on the "meta" edge with a given conditions (other predicates).
HasOauthProviders applies the HasEdge predicate on the "oauth_providers" edge.
HasOauthProvidersWith applies the HasEdge predicate on the "oauth_providers" 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.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Signup applies equality check predicate on the "signup" field.
SignupEQ applies the EQ predicate on the "signup" field.
SignupNEQ applies the NEQ predicate on the "signup" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusValidator is a validator for the "status" field enum values.
TypeEQ applies the EQ predicate on the "type" field.
TypeIn applies the In predicate on the "type" field.
TypeNEQ applies the NEQ predicate on the "type" field.
TypeNotIn applies the NotIn predicate on the "type" field.
TypeValidator is a validator for the "type" field enum values.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
UpdatedBy applies equality check predicate on the "updated_by" field.
UpdatedByContains applies the Contains predicate on the "updated_by" field.
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
UpdatedByGT applies the GT predicate on the "updated_by" field.
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
UpdatedByIn applies the In predicate on the "updated_by" field.
UpdatedByLT applies the LT predicate on the "updated_by" field.
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
UpdatedByNotIn applies the NotIn predicate on the "updated_by" 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

StatusACTIVE is the default value of the Status enum.
TypeUSER is the default value of the Type enum.
DevicesColumn is the table column denoting the devices relation/edge.
DevicesInverseTable is the table name for the UserDevice entity.
DevicesTable is the table that holds the devices relation/edge.
EdgeDevices holds the string denoting the devices edge name in mutations.
EdgeMeta holds the string denoting the meta edge name in mutations.
EdgeOauthProviders holds the string denoting the oauth_providers edge name in mutations.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldCreatedBy holds the string denoting the created_by field in the database.
FieldID holds the string denoting the id field in the database.
FieldSignup holds the string denoting the signup field in the database.
FieldStatus holds the string denoting the status field in the database.
FieldType holds the string denoting the type field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldUpdatedBy holds the string denoting the updated_by 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.
MetaColumn is the table column denoting the meta relation/edge.
MetaInverseTable is the table name for the UserMeta entity.
MetaTable is the table that holds the meta relation/edge.
OauthProvidersColumn is the table column denoting the oauth_providers relation/edge.
OauthProvidersInverseTable is the table name for the UserOAuthProvider entity.
OauthProvidersTable is the table that holds the oauth_providers relation/edge.
Status values.
Status values.
Status values.
Table holds the table name of the user in the database.
Type values.
Type values.

# Variables

Columns holds all SQL columns for user fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultSignup holds the default value on creation for the "signup" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.

# Type aliases

Status defines the type for the "status" enum field.
Type defines the type for the "type" enum field.