package
0.0.0-20241020204147-0383df8e13d9
Repository: https://github.com/masoudheydari/eps-api.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByID orders the results by the id field.
ByIsFinished orders the results by the is_finished field.
ByJobID orders the results by the job_id field.
ByLanguage orders the results by the language field.
ByLocCode orders the results by the loc_code field.
ByQuery orders the results by the query field.
BySerps orders the results by serps terms.
BySerpsCount orders the results by serps count.
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.
HasSerps applies the HasEdge predicate on the "serps" edge.
HasSerpsWith applies the HasEdge predicate on the "serps" 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.
IsFinished applies equality check predicate on the "is_finished" field.
IsFinishedEQ applies the EQ predicate on the "is_finished" field.
IsFinishedNEQ applies the NEQ predicate on the "is_finished" field.
JobID applies equality check predicate on the "job_id" field.
JobIDEQ applies the EQ predicate on the "job_id" field.
JobIDGT applies the GT predicate on the "job_id" field.
JobIDGTE applies the GTE predicate on the "job_id" field.
JobIDIn applies the In predicate on the "job_id" field.
JobIDIsNil applies the IsNil predicate on the "job_id" field.
JobIDLT applies the LT predicate on the "job_id" field.
JobIDLTE applies the LTE predicate on the "job_id" field.
JobIDNEQ applies the NEQ predicate on the "job_id" field.
JobIDNotIn applies the NotIn predicate on the "job_id" field.
JobIDNotNil applies the NotNil predicate on the "job_id" field.
Language applies equality check predicate on the "language" field.
LanguageContains applies the Contains predicate on the "language" field.
LanguageContainsFold applies the ContainsFold predicate on the "language" field.
LanguageEQ applies the EQ predicate on the "language" field.
LanguageEqualFold applies the EqualFold predicate on the "language" field.
LanguageGT applies the GT predicate on the "language" field.
LanguageGTE applies the GTE predicate on the "language" field.
LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
LanguageIn applies the In predicate on the "language" field.
LanguageLT applies the LT predicate on the "language" field.
LanguageLTE applies the LTE predicate on the "language" field.
LanguageNEQ applies the NEQ predicate on the "language" field.
LanguageNotIn applies the NotIn predicate on the "language" field.
LocCode applies equality check predicate on the "loc_code" field.
LocCodeEQ applies the EQ predicate on the "loc_code" field.
LocCodeGT applies the GT predicate on the "loc_code" field.
LocCodeGTE applies the GTE predicate on the "loc_code" field.
LocCodeIn applies the In predicate on the "loc_code" field.
LocCodeLT applies the LT predicate on the "loc_code" field.
LocCodeLTE applies the LTE predicate on the "loc_code" field.
LocCodeNEQ applies the NEQ predicate on the "loc_code" field.
LocCodeNotIn applies the NotIn predicate on the "loc_code" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Query applies equality check predicate on the "query" field.
QueryContains applies the Contains predicate on the "query" field.
QueryContainsFold applies the ContainsFold predicate on the "query" field.
QueryEQ applies the EQ predicate on the "query" field.
QueryEqualFold applies the EqualFold predicate on the "query" field.
QueryGT applies the GT predicate on the "query" field.
QueryGTE applies the GTE predicate on the "query" field.
QueryHasPrefix applies the HasPrefix predicate on the "query" field.
QueryHasSuffix applies the HasSuffix predicate on the "query" field.
QueryIn applies the In predicate on the "query" field.
QueryLT applies the LT predicate on the "query" field.
QueryLTE applies the LTE predicate on the "query" field.
QueryNEQ applies the NEQ predicate on the "query" field.
QueryNotIn applies the NotIn predicate on the "query" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
EdgeSerps holds the string denoting the serps edge name in mutations.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldID holds the string denoting the id field in the database.
FieldIsFinished holds the string denoting the is_finished field in the database.
FieldJobID holds the string denoting the job_id field in the database.
FieldLanguage holds the string denoting the language field in the database.
FieldLocCode holds the string denoting the loc_code field in the database.
FieldQuery holds the string denoting the query field in the database.
Label holds the string label denoting the searchquery type in the database.
SerpsColumn is the table column denoting the serps relation/edge.
SerpsInverseTable is the table name for the SERP entity.
SerpsTable is the table that holds the serps relation/edge.
Table holds the table name of the searchquery in the database.
# Variables
Columns holds all SQL columns for searchquery fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultIsFinished holds the default value on creation for the "is_finished" field.
QueryValidator is a validator for the "query" field.
# Type aliases
OrderOption defines the ordering options for the SearchQuery queries.