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.
HasUser applies the HasEdge predicate on the "user" edge.
HasUserWith applies the HasEdge predicate on the "user" 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.
OsEQ applies the EQ predicate on the "os" field.
OsIn applies the In predicate on the "os" field.
OsNEQ applies the NEQ predicate on the "os" field.
OsNotIn applies the NotIn predicate on the "os" field.
OsValidator is a validator for the "os" field enum values.
PlatformEQ applies the EQ predicate on the "platform" field.
PlatformIn applies the In predicate on the "platform" field.
PlatformNEQ applies the NEQ predicate on the "platform" field.
PlatformNotIn applies the NotIn predicate on the "platform" field.
PlatformValidator is a validator for the "platform" field enum values.
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.
UserID applies equality check predicate on the "user_id" field.
UserIDContains applies the Contains predicate on the "user_id" field.
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
UserIDEQ applies the EQ predicate on the "user_id" field.
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
UserIDGT applies the GT predicate on the "user_id" field.
UserIDGTE applies the GTE predicate on the "user_id" field.
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
UserIDIn applies the In predicate on the "user_id" field.
UserIDLT applies the LT predicate on the "user_id" field.
UserIDLTE applies the LTE predicate on the "user_id" field.
UserIDNEQ applies the NEQ predicate on the "user_id" field.
UserIDNotIn applies the NotIn predicate on the "user_id" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

StatusACTIVE is the default value of the Status enum.
EdgeUser holds the string denoting the user 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.
FieldOs holds the string denoting the os field in the database.
FieldPlatform holds the string denoting the platform 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.
FieldUserID holds the string denoting the user_id field in the database.
Label holds the string label denoting the userdevice type in the database.
Os values.
Os values.
Os values.
Platform values.
Platform values.
Platform values.
Platform values.
Status values.
Status values.
Status values.
Table holds the table name of the userdevice in the database.
Type values.
Type values.
UserColumn is the table column denoting the user relation/edge.
UserInverseTable is the table name for the User entity.
UserTable is the table that holds the user relation/edge.

# Variables

Columns holds all SQL columns for userdevice fields.
DefaultCreatedAt holds the default value on creation for the "created_at" 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

Os defines the type for the "os" enum field.
Platform defines the type for the "platform" enum field.
Status defines the type for the "status" enum field.
Type defines the type for the "type" enum field.