package
0.0.0-20240528100830-79c95e3d0934
Repository: https://github.com/go-kratos/examples.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
Content applies equality check predicate on the "content" field.
ContentContains applies the Contains predicate on the "content" field.
ContentContainsFold applies the ContainsFold predicate on the "content" field.
ContentEQ applies the EQ predicate on the "content" field.
ContentEqualFold applies the EqualFold predicate on the "content" field.
ContentGT applies the GT predicate on the "content" field.
ContentGTE applies the GTE predicate on the "content" field.
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
ContentIn applies the In predicate on the "content" field.
ContentLT applies the LT predicate on the "content" field.
ContentLTE applies the LTE predicate on the "content" field.
ContentNEQ applies the NEQ predicate on the "content" field.
ContentNotIn applies the NotIn predicate on the "content" 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.
HasComments applies the HasEdge predicate on the "comments" edge.
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
HasTags applies the HasEdge predicate on the "tags" edge.
HasTagsWith applies the HasEdge predicate on the "tags" 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.
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.
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).
# Constants
CommentsColumn is the table column denoting the comments relation/edge.
CommentsInverseTable is the table name for the Comment entity.
CommentsTable is the table the holds the comments relation/edge.
EdgeComments holds the string denoting the comments edge name in mutations.
EdgeTags holds the string denoting the tags edge name in mutations.
FieldContent holds the string denoting the content field in the database.
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.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
Label holds the string label denoting the article type in the database.
Table holds the table name of the article in the database.
TagsInverseTable is the table name for the Tag entity.
TagsTable is the table the holds the tags relation/edge.
# Variables
Columns holds all SQL columns for article 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.
TagsPrimaryKey and TagsColumn2 are the table columns denoting the primary key for the tags relation (M2M).