package
1.0.14
Repository: https://github.com/yostardev/errors.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByErrorCode orders the results by the error_code field.
ByGrpcStatus orders the results by the grpc_status field.
ByID orders the results by the id field.
ByMessage orders the results by the message field.
ByName orders the results by the name field.
ErrorCode applies equality check predicate on the "error_code" field.
ErrorCodeEQ applies the EQ predicate on the "error_code" field.
ErrorCodeGT applies the GT predicate on the "error_code" field.
ErrorCodeGTE applies the GTE predicate on the "error_code" field.
ErrorCodeIn applies the In predicate on the "error_code" field.
ErrorCodeLT applies the LT predicate on the "error_code" field.
ErrorCodeLTE applies the LTE predicate on the "error_code" field.
ErrorCodeNEQ applies the NEQ predicate on the "error_code" field.
ErrorCodeNotIn applies the NotIn predicate on the "error_code" field.
GrpcStatus applies equality check predicate on the "grpc_status" field.
GrpcStatusEQ applies the EQ predicate on the "grpc_status" field.
GrpcStatusGT applies the GT predicate on the "grpc_status" field.
GrpcStatusGTE applies the GTE predicate on the "grpc_status" field.
GrpcStatusIn applies the In predicate on the "grpc_status" field.
GrpcStatusLT applies the LT predicate on the "grpc_status" field.
GrpcStatusLTE applies the LTE predicate on the "grpc_status" field.
GrpcStatusNEQ applies the NEQ predicate on the "grpc_status" field.
GrpcStatusNotIn applies the NotIn predicate on the "grpc_status" field.
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.
Message applies equality check predicate on the "message" field.
MessageContains applies the Contains predicate on the "message" field.
MessageContainsFold applies the ContainsFold predicate on the "message" field.
MessageEQ applies the EQ predicate on the "message" field.
MessageEqualFold applies the EqualFold predicate on the "message" field.
MessageGT applies the GT predicate on the "message" field.
MessageGTE applies the GTE predicate on the "message" field.
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
MessageIn applies the In predicate on the "message" field.
MessageLT applies the LT predicate on the "message" field.
MessageLTE applies the LTE predicate on the "message" field.
MessageNEQ applies the NEQ predicate on the "message" field.
MessageNotIn applies the NotIn predicate on the "message" 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.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

FieldErrorCode holds the string denoting the error_code field in the database.
FieldGrpcStatus holds the string denoting the grpc_status field in the database.
FieldID holds the string denoting the id field in the database.
FieldMessage holds the string denoting the message field in the database.
FieldName holds the string denoting the name field in the database.
Label holds the string label denoting the errorcode type in the database.
Table holds the table name of the errorcode in the database.

# Variables

Columns holds all SQL columns for errorcode fields.

# Type aliases

OrderOption defines the ordering options for the ErrorCode queries.