package
0.0.0-20250113140948-0001d60f9b88
Repository: https://github.com/kokiebisu/mycontent.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.
ByTitle orders the results by the title field.
ByURL orders the results by the url field.
ByUserID orders the results by the user_id 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.
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.
Title applies equality check predicate on the "title" field.
TitleContains applies the Contains predicate on the "title" field.
TitleContainsFold applies the ContainsFold predicate on the "title" field.
TitleEQ applies the EQ predicate on the "title" field.
TitleEqualFold applies the EqualFold predicate on the "title" field.
TitleGT applies the GT predicate on the "title" field.
TitleGTE applies the GTE predicate on the "title" field.
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
TitleIn applies the In predicate on the "title" field.
TitleLT applies the LT predicate on the "title" field.
TitleLTE applies the LTE predicate on the "title" field.
TitleNEQ applies the NEQ predicate on the "title" field.
TitleNotIn applies the NotIn predicate on the "title" field.
URL applies equality check predicate on the "url" field.
URLContains applies the Contains predicate on the "url" field.
URLContainsFold applies the ContainsFold predicate on the "url" field.
URLEQ applies the EQ predicate on the "url" field.
URLEqualFold applies the EqualFold predicate on the "url" field.
URLGT applies the GT predicate on the "url" field.
URLGTE applies the GTE predicate on the "url" field.
URLHasPrefix applies the HasPrefix predicate on the "url" field.
URLHasSuffix applies the HasSuffix predicate on the "url" field.
URLIn applies the In predicate on the "url" field.
URLLT applies the LT predicate on the "url" field.
URLLTE applies the LTE predicate on the "url" field.
URLNEQ applies the NEQ predicate on the "url" field.
URLNotIn applies the NotIn predicate on the "url" field.
UserID applies equality check predicate on the "user_id" field.
UserIDContains applies the Contains predicate on the "user_id" field.
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
UserIDEQ applies the EQ predicate on the "user_id" field.
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
UserIDGT applies the GT predicate on the "user_id" field.
UserIDGTE applies the GTE predicate on the "user_id" field.
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
UserIDIn applies the In predicate on the "user_id" field.
UserIDLT applies the LT predicate on the "user_id" field.
UserIDLTE applies the LTE predicate on the "user_id" field.
UserIDNEQ applies the NEQ predicate on the "user_id" field.
UserIDNotIn applies the NotIn predicate on the "user_id" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldID holds the string denoting the id field in the database.
FieldTitle holds the string denoting the title field in the database.
FieldURL holds the string denoting the url field in the database.
FieldUserID holds the string denoting the user_id field in the database.
Label holds the string label denoting the blog type in the database.
Table holds the table name of the blog in the database.
# Variables
Columns holds all SQL columns for blog fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultID holds the default value on creation for the "id" field.
# Type aliases
OrderOption defines the ordering options for the Blog queries.