package
0.0.0-20240805101107-6eb71ece59d9
Repository: https://github.com/lesomnus/entpb.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByDateCreated orders the results by the date_created field.
ByDescription orders the results by the description field.
ByID orders the results by the id field.
ByKind orders the results by the kind field.
ByName orders the results by the name field.
ByOwnerField orders the results by owner field.
ByOwnerID orders the results by the owner_id field.
ByValue orders the results by the value field.
ByVerifier orders the results by the verifier field.
DateCreated applies equality check predicate on the "date_created" field.
DateCreatedEQ applies the EQ predicate on the "date_created" field.
DateCreatedGT applies the GT predicate on the "date_created" field.
DateCreatedGTE applies the GTE predicate on the "date_created" field.
DateCreatedIn applies the In predicate on the "date_created" field.
DateCreatedLT applies the LT predicate on the "date_created" field.
DateCreatedLTE applies the LTE predicate on the "date_created" field.
DateCreatedNEQ applies the NEQ predicate on the "date_created" field.
DateCreatedNotIn applies the NotIn predicate on the "date_created" field.
Description applies equality check predicate on the "description" field.
DescriptionContains applies the Contains predicate on the "description" field.
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
DescriptionEQ applies the EQ predicate on the "description" field.
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
DescriptionGT applies the GT predicate on the "description" field.
DescriptionGTE applies the GTE predicate on the "description" field.
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
DescriptionIn applies the In predicate on the "description" field.
DescriptionLT applies the LT predicate on the "description" field.
DescriptionLTE applies the LTE predicate on the "description" field.
DescriptionNEQ applies the NEQ predicate on the "description" field.
DescriptionNotIn applies the NotIn predicate on the "description" field.
HasOwner applies the HasEdge predicate on the "owner" edge.
HasOwnerWith applies the HasEdge predicate on the "owner" 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.
Kind applies equality check predicate on the "kind" field.
KindContains applies the Contains predicate on the "kind" field.
KindContainsFold applies the ContainsFold predicate on the "kind" field.
KindEQ applies the EQ predicate on the "kind" field.
KindEqualFold applies the EqualFold predicate on the "kind" field.
KindGT applies the GT predicate on the "kind" field.
KindGTE applies the GTE predicate on the "kind" field.
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
KindIn applies the In predicate on the "kind" field.
KindLT applies the LT predicate on the "kind" field.
KindLTE applies the LTE predicate on the "kind" field.
KindNEQ applies the NEQ predicate on the "kind" field.
KindNotIn applies the NotIn predicate on the "kind" field.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
OwnerID applies equality check predicate on the "owner_id" field.
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
OwnerIDIn applies the In predicate on the "owner_id" field.
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
ValidColumn reports if the column name is valid (part of the table columns).
Value applies equality check predicate on the "value" field.
ValueContains applies the Contains predicate on the "value" field.
ValueContainsFold applies the ContainsFold predicate on the "value" field.
ValueEQ applies the EQ predicate on the "value" field.
ValueEqualFold applies the EqualFold predicate on the "value" field.
ValueGT applies the GT predicate on the "value" field.
ValueGTE applies the GTE predicate on the "value" field.
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
ValueIn applies the In predicate on the "value" field.
ValueLT applies the LT predicate on the "value" field.
ValueLTE applies the LTE predicate on the "value" field.
ValueNEQ applies the NEQ predicate on the "value" field.
ValueNotIn applies the NotIn predicate on the "value" field.
Verifier applies equality check predicate on the "verifier" field.
VerifierContains applies the Contains predicate on the "verifier" field.
VerifierContainsFold applies the ContainsFold predicate on the "verifier" field.
VerifierEQ applies the EQ predicate on the "verifier" field.
VerifierEqualFold applies the EqualFold predicate on the "verifier" field.
VerifierGT applies the GT predicate on the "verifier" field.
VerifierGTE applies the GTE predicate on the "verifier" field.
VerifierHasPrefix applies the HasPrefix predicate on the "verifier" field.
VerifierHasSuffix applies the HasSuffix predicate on the "verifier" field.
VerifierIn applies the In predicate on the "verifier" field.
VerifierIsNil applies the IsNil predicate on the "verifier" field.
VerifierLT applies the LT predicate on the "verifier" field.
VerifierLTE applies the LTE predicate on the "verifier" field.
VerifierNEQ applies the NEQ predicate on the "verifier" field.
VerifierNotIn applies the NotIn predicate on the "verifier" field.
VerifierNotNil applies the NotNil predicate on the "verifier" field.
# Constants
EdgeOwner holds the string denoting the owner edge name in mutations.
FieldDateCreated holds the string denoting the date_created field in the database.
FieldDescription holds the string denoting the description field in the database.
FieldID holds the string denoting the id field in the database.
FieldKind holds the string denoting the kind field in the database.
FieldName holds the string denoting the name field in the database.
FieldOwnerID holds the string denoting the owner_id field in the database.
FieldValue holds the string denoting the value field in the database.
FieldVerifier holds the string denoting the verifier field in the database.
Label holds the string label denoting the identity type in the database.
OwnerColumn is the table column denoting the owner relation/edge.
OwnerInverseTable is the table name for the User entity.
OwnerTable is the table that holds the owner relation/edge.
Table holds the table name of the identity in the database.
# Variables
Columns holds all SQL columns for identity fields.
DefaultDateCreated holds the default value on creation for the "date_created" field.
DefaultDescription holds the default value on creation for the "description" field.
DefaultID holds the default value on creation for the "id" field.
DefaultName holds the default value on creation for the "name" field.
DescriptionValidator is a validator for the "description" field.
KindValidator is a validator for the "kind" field.
NameValidator is a validator for the "name" field.
# Type aliases
OrderOption defines the ordering options for the Identity queries.