package
0.0.0-20241204043924-86a9956bb502
Repository: https://github.com/sparklee/abc-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.
ByGroup orders the results by the group field.
ByID orders the results by the id field.
ByUpdatedAt orders the results by the updated_at field.
ByWord orders the results by the word field.
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.
Group applies equality check predicate on the "group" field.
GroupContains applies the Contains predicate on the "group" field.
GroupContainsFold applies the ContainsFold predicate on the "group" field.
GroupEQ applies the EQ predicate on the "group" field.
GroupEqualFold applies the EqualFold predicate on the "group" field.
GroupGT applies the GT predicate on the "group" field.
GroupGTE applies the GTE predicate on the "group" field.
GroupHasPrefix applies the HasPrefix predicate on the "group" field.
GroupHasSuffix applies the HasSuffix predicate on the "group" field.
GroupIn applies the In predicate on the "group" field.
GroupLT applies the LT predicate on the "group" field.
GroupLTE applies the LTE predicate on the "group" field.
GroupNEQ applies the NEQ predicate on the "group" field.
GroupNotIn applies the NotIn predicate on the "group" 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.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
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.
ValidColumn reports if the column name is valid (part of the table columns).
Word applies equality check predicate on the "word" field.
WordContains applies the Contains predicate on the "word" field.
WordContainsFold applies the ContainsFold predicate on the "word" field.
WordEQ applies the EQ predicate on the "word" field.
WordEqualFold applies the EqualFold predicate on the "word" field.
WordGT applies the GT predicate on the "word" field.
WordGTE applies the GTE predicate on the "word" field.
WordHasPrefix applies the HasPrefix predicate on the "word" field.
WordHasSuffix applies the HasSuffix predicate on the "word" field.
WordIn applies the In predicate on the "word" field.
WordLT applies the LT predicate on the "word" field.
WordLTE applies the LTE predicate on the "word" field.
WordNEQ applies the NEQ predicate on the "word" field.
WordNotIn applies the NotIn predicate on the "word" field.
# Constants
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldGroup holds the string denoting the group field in the database.
FieldID holds the string denoting the id field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldWord holds the string denoting the word field in the database.
Label holds the string label denoting the words type in the database.
Table holds the table name of the words in the database.
# Variables
Columns holds all SQL columns for words 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.
# Type aliases
OrderOption defines the ordering options for the Words queries.