package
0.0.0-20240430124035-aae10642ac46
Repository: https://github.com/orbit-ops/launchpad-core.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
Approved applies equality check predicate on the "approved" field.
ApprovedEQ applies the EQ predicate on the "approved" field.
ApprovedNEQ applies the NEQ predicate on the "approved" field.
ApprovedTime applies equality check predicate on the "approved_time" field.
ApprovedTimeEQ applies the EQ predicate on the "approved_time" field.
ApprovedTimeGT applies the GT predicate on the "approved_time" field.
ApprovedTimeGTE applies the GTE predicate on the "approved_time" field.
ApprovedTimeIn applies the In predicate on the "approved_time" field.
ApprovedTimeLT applies the LT predicate on the "approved_time" field.
ApprovedTimeLTE applies the LTE predicate on the "approved_time" field.
ApprovedTimeNEQ applies the NEQ predicate on the "approved_time" field.
ApprovedTimeNotIn applies the NotIn predicate on the "approved_time" field.
ByAccessField orders the results by access field.
ByApproved orders the results by the approved field.
ByApprovedTime orders the results by the approved_time field.
ByID orders the results by the id field.
ByPerson orders the results by the person field.
ByRequestField orders the results by request field.
ByRevoked orders the results by the revoked field.
ByRevokedTime orders the results by the revoked_time field.
HasAccess applies the HasEdge predicate on the "access" edge.
HasAccessWith applies the HasEdge predicate on the "access" edge with a given conditions (other predicates).
HasRequest applies the HasEdge predicate on the "request" edge.
HasRequestWith applies the HasEdge predicate on the "request" 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.
Person applies equality check predicate on the "person" field.
PersonContains applies the Contains predicate on the "person" field.
PersonContainsFold applies the ContainsFold predicate on the "person" field.
PersonEQ applies the EQ predicate on the "person" field.
PersonEqualFold applies the EqualFold predicate on the "person" field.
PersonGT applies the GT predicate on the "person" field.
PersonGTE applies the GTE predicate on the "person" field.
PersonHasPrefix applies the HasPrefix predicate on the "person" field.
PersonHasSuffix applies the HasSuffix predicate on the "person" field.
PersonIn applies the In predicate on the "person" field.
PersonLT applies the LT predicate on the "person" field.
PersonLTE applies the LTE predicate on the "person" field.
PersonNEQ applies the NEQ predicate on the "person" field.
PersonNotIn applies the NotIn predicate on the "person" field.
Revoked applies equality check predicate on the "revoked" field.
RevokedEQ applies the EQ predicate on the "revoked" field.
RevokedNEQ applies the NEQ predicate on the "revoked" field.
RevokedTime applies equality check predicate on the "revoked_time" field.
RevokedTimeEQ applies the EQ predicate on the "revoked_time" field.
RevokedTimeGT applies the GT predicate on the "revoked_time" field.
RevokedTimeGTE applies the GTE predicate on the "revoked_time" field.
RevokedTimeIn applies the In predicate on the "revoked_time" field.
RevokedTimeIsNil applies the IsNil predicate on the "revoked_time" field.
RevokedTimeLT applies the LT predicate on the "revoked_time" field.
RevokedTimeLTE applies the LTE predicate on the "revoked_time" field.
RevokedTimeNEQ applies the NEQ predicate on the "revoked_time" field.
RevokedTimeNotIn applies the NotIn predicate on the "revoked_time" field.
RevokedTimeNotNil applies the NotNil predicate on the "revoked_time" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
AccessColumn is the table column denoting the access relation/edge.
AccessInverseTable is the table name for the Access entity.
AccessTable is the table that holds the access relation/edge.
EdgeAccess holds the string denoting the access edge name in mutations.
EdgeRequest holds the string denoting the request edge name in mutations.
FieldApproved holds the string denoting the approved field in the database.
FieldApprovedTime holds the string denoting the approved_time field in the database.
FieldID holds the string denoting the id field in the database.
FieldPerson holds the string denoting the person field in the database.
FieldRevoked holds the string denoting the revoked field in the database.
FieldRevokedTime holds the string denoting the revoked_time field in the database.
Label holds the string label denoting the approval type in the database.
RequestColumn is the table column denoting the request relation/edge.
RequestInverseTable is the table name for the Request entity.
RequestTable is the table that holds the request relation/edge.
Table holds the table name of the approval in the database.
# Variables
Columns holds all SQL columns for approval fields.
DefaultApprovedTime holds the default value on creation for the "approved_time" field.
DefaultID holds the default value on creation for the "id" field.
DefaultRevoked holds the default value on creation for the "revoked" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "approvals" table and are not defined as standalone fields in the schema.
PersonValidator is a validator for the "person" field.
# Type aliases
OrderOption defines the ordering options for the Approval queries.