Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Post) predicate.Post
- func Body(v string) predicate.Post
- func BodyContains(v string) predicate.Post
- func BodyContainsFold(v string) predicate.Post
- func BodyEQ(v string) predicate.Post
- func BodyEqualFold(v string) predicate.Post
- func BodyGT(v string) predicate.Post
- func BodyGTE(v string) predicate.Post
- func BodyHasPrefix(v string) predicate.Post
- func BodyHasSuffix(v string) predicate.Post
- func BodyIn(vs ...string) predicate.Post
- func BodyLT(v string) predicate.Post
- func BodyLTE(v string) predicate.Post
- func BodyNEQ(v string) predicate.Post
- func BodyNotIn(vs ...string) predicate.Post
- func CategoryID(v xid.ID) predicate.Post
- func CategoryIDContains(v xid.ID) predicate.Post
- func CategoryIDContainsFold(v xid.ID) predicate.Post
- func CategoryIDEQ(v xid.ID) predicate.Post
- func CategoryIDEqualFold(v xid.ID) predicate.Post
- func CategoryIDGT(v xid.ID) predicate.Post
- func CategoryIDGTE(v xid.ID) predicate.Post
- func CategoryIDHasPrefix(v xid.ID) predicate.Post
- func CategoryIDHasSuffix(v xid.ID) predicate.Post
- func CategoryIDIn(vs ...xid.ID) predicate.Post
- func CategoryIDIsNil() predicate.Post
- func CategoryIDLT(v xid.ID) predicate.Post
- func CategoryIDLTE(v xid.ID) predicate.Post
- func CategoryIDNEQ(v xid.ID) predicate.Post
- func CategoryIDNotIn(vs ...xid.ID) predicate.Post
- func CategoryIDNotNil() predicate.Post
- func CreatedAt(v time.Time) predicate.Post
- func CreatedAtEQ(v time.Time) predicate.Post
- func CreatedAtGT(v time.Time) predicate.Post
- func CreatedAtGTE(v time.Time) predicate.Post
- func CreatedAtIn(vs ...time.Time) predicate.Post
- func CreatedAtLT(v time.Time) predicate.Post
- func CreatedAtLTE(v time.Time) predicate.Post
- func CreatedAtNEQ(v time.Time) predicate.Post
- func CreatedAtNotIn(vs ...time.Time) predicate.Post
- func DeletedAt(v time.Time) predicate.Post
- func DeletedAtEQ(v time.Time) predicate.Post
- func DeletedAtGT(v time.Time) predicate.Post
- func DeletedAtGTE(v time.Time) predicate.Post
- func DeletedAtIn(vs ...time.Time) predicate.Post
- func DeletedAtIsNil() predicate.Post
- func DeletedAtLT(v time.Time) predicate.Post
- func DeletedAtLTE(v time.Time) predicate.Post
- func DeletedAtNEQ(v time.Time) predicate.Post
- func DeletedAtNotIn(vs ...time.Time) predicate.Post
- func DeletedAtNotNil() predicate.Post
- func First(v bool) predicate.Post
- func FirstEQ(v bool) predicate.Post
- func FirstNEQ(v bool) predicate.Post
- func HasAuthor() predicate.Post
- func HasAuthorWith(preds ...predicate.Account) predicate.Post
- func HasCategory() predicate.Post
- func HasCategoryWith(preds ...predicate.Category) predicate.Post
- func HasPosts() predicate.Post
- func HasPostsWith(preds ...predicate.Post) predicate.Post
- func HasReacts() predicate.Post
- func HasReactsWith(preds ...predicate.React) predicate.Post
- func HasReplies() predicate.Post
- func HasRepliesWith(preds ...predicate.Post) predicate.Post
- func HasReplyTo() predicate.Post
- func HasReplyToWith(preds ...predicate.Post) predicate.Post
- func HasRoot() predicate.Post
- func HasRootWith(preds ...predicate.Post) predicate.Post
- func HasTags() predicate.Post
- func HasTagsWith(preds ...predicate.Tag) predicate.Post
- func ID(id xid.ID) predicate.Post
- func IDEQ(id xid.ID) predicate.Post
- func IDGT(id xid.ID) predicate.Post
- func IDGTE(id xid.ID) predicate.Post
- func IDIn(ids ...xid.ID) predicate.Post
- func IDLT(id xid.ID) predicate.Post
- func IDLTE(id xid.ID) predicate.Post
- func IDNEQ(id xid.ID) predicate.Post
- func IDNotIn(ids ...xid.ID) predicate.Post
- func Not(p predicate.Post) predicate.Post
- func Or(predicates ...predicate.Post) predicate.Post
- func Pinned(v bool) predicate.Post
- func PinnedEQ(v bool) predicate.Post
- func PinnedNEQ(v bool) predicate.Post
- func ReplyToPostID(v xid.ID) predicate.Post
- func ReplyToPostIDContains(v xid.ID) predicate.Post
- func ReplyToPostIDContainsFold(v xid.ID) predicate.Post
- func ReplyToPostIDEQ(v xid.ID) predicate.Post
- func ReplyToPostIDEqualFold(v xid.ID) predicate.Post
- func ReplyToPostIDGT(v xid.ID) predicate.Post
- func ReplyToPostIDGTE(v xid.ID) predicate.Post
- func ReplyToPostIDHasPrefix(v xid.ID) predicate.Post
- func ReplyToPostIDHasSuffix(v xid.ID) predicate.Post
- func ReplyToPostIDIn(vs ...xid.ID) predicate.Post
- func ReplyToPostIDIsNil() predicate.Post
- func ReplyToPostIDLT(v xid.ID) predicate.Post
- func ReplyToPostIDLTE(v xid.ID) predicate.Post
- func ReplyToPostIDNEQ(v xid.ID) predicate.Post
- func ReplyToPostIDNotIn(vs ...xid.ID) predicate.Post
- func ReplyToPostIDNotNil() predicate.Post
- func RootPostID(v xid.ID) predicate.Post
- func RootPostIDContains(v xid.ID) predicate.Post
- func RootPostIDContainsFold(v xid.ID) predicate.Post
- func RootPostIDEQ(v xid.ID) predicate.Post
- func RootPostIDEqualFold(v xid.ID) predicate.Post
- func RootPostIDGT(v xid.ID) predicate.Post
- func RootPostIDGTE(v xid.ID) predicate.Post
- func RootPostIDHasPrefix(v xid.ID) predicate.Post
- func RootPostIDHasSuffix(v xid.ID) predicate.Post
- func RootPostIDIn(vs ...xid.ID) predicate.Post
- func RootPostIDIsNil() predicate.Post
- func RootPostIDLT(v xid.ID) predicate.Post
- func RootPostIDLTE(v xid.ID) predicate.Post
- func RootPostIDNEQ(v xid.ID) predicate.Post
- func RootPostIDNotIn(vs ...xid.ID) predicate.Post
- func RootPostIDNotNil() predicate.Post
- func Short(v string) predicate.Post
- func ShortContains(v string) predicate.Post
- func ShortContainsFold(v string) predicate.Post
- func ShortEQ(v string) predicate.Post
- func ShortEqualFold(v string) predicate.Post
- func ShortGT(v string) predicate.Post
- func ShortGTE(v string) predicate.Post
- func ShortHasPrefix(v string) predicate.Post
- func ShortHasSuffix(v string) predicate.Post
- func ShortIn(vs ...string) predicate.Post
- func ShortLT(v string) predicate.Post
- func ShortLTE(v string) predicate.Post
- func ShortNEQ(v string) predicate.Post
- func ShortNotIn(vs ...string) predicate.Post
- func Slug(v string) predicate.Post
- func SlugContains(v string) predicate.Post
- func SlugContainsFold(v string) predicate.Post
- func SlugEQ(v string) predicate.Post
- func SlugEqualFold(v string) predicate.Post
- func SlugGT(v string) predicate.Post
- func SlugGTE(v string) predicate.Post
- func SlugHasPrefix(v string) predicate.Post
- func SlugHasSuffix(v string) predicate.Post
- func SlugIn(vs ...string) predicate.Post
- func SlugIsNil() predicate.Post
- func SlugLT(v string) predicate.Post
- func SlugLTE(v string) predicate.Post
- func SlugNEQ(v string) predicate.Post
- func SlugNotIn(vs ...string) predicate.Post
- func SlugNotNil() predicate.Post
- func Title(v string) predicate.Post
- func TitleContains(v string) predicate.Post
- func TitleContainsFold(v string) predicate.Post
- func TitleEQ(v string) predicate.Post
- func TitleEqualFold(v string) predicate.Post
- func TitleGT(v string) predicate.Post
- func TitleGTE(v string) predicate.Post
- func TitleHasPrefix(v string) predicate.Post
- func TitleHasSuffix(v string) predicate.Post
- func TitleIn(vs ...string) predicate.Post
- func TitleIsNil() predicate.Post
- func TitleLT(v string) predicate.Post
- func TitleLTE(v string) predicate.Post
- func TitleNEQ(v string) predicate.Post
- func TitleNotIn(vs ...string) predicate.Post
- func TitleNotNil() predicate.Post
- func UpdatedAt(v time.Time) predicate.Post
- func UpdatedAtEQ(v time.Time) predicate.Post
- func UpdatedAtGT(v time.Time) predicate.Post
- func UpdatedAtGTE(v time.Time) predicate.Post
- func UpdatedAtIn(vs ...time.Time) predicate.Post
- func UpdatedAtLT(v time.Time) predicate.Post
- func UpdatedAtLTE(v time.Time) predicate.Post
- func UpdatedAtNEQ(v time.Time) predicate.Post
- func UpdatedAtNotIn(vs ...time.Time) predicate.Post
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the post type in the database. Label = "post" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldFirst holds the string denoting the first field in the database. FieldFirst = "first" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldSlug holds the string denoting the slug field in the database. FieldSlug = "slug" // FieldPinned holds the string denoting the pinned field in the database. FieldPinned = "pinned" // FieldRootPostID holds the string denoting the root_post_id field in the database. FieldRootPostID = "root_post_id" // FieldReplyToPostID holds the string denoting the reply_to_post_id field in the database. FieldReplyToPostID = "reply_to_post_id" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // FieldShort holds the string denoting the short field in the database. FieldShort = "short" // FieldCategoryID holds the string denoting the category_id field in the database. FieldCategoryID = "category_id" // EdgeAuthor holds the string denoting the author edge name in mutations. EdgeAuthor = "author" // EdgeCategory holds the string denoting the category edge name in mutations. EdgeCategory = "category" // EdgeTags holds the string denoting the tags edge name in mutations. EdgeTags = "tags" // EdgeRoot holds the string denoting the root edge name in mutations. EdgeRoot = "root" // EdgePosts holds the string denoting the posts edge name in mutations. EdgePosts = "posts" // EdgeReplyTo holds the string denoting the replyto edge name in mutations. EdgeReplyTo = "replyTo" // EdgeReplies holds the string denoting the replies edge name in mutations. EdgeReplies = "replies" // EdgeReacts holds the string denoting the reacts edge name in mutations. EdgeReacts = "reacts" // Table holds the table name of the post in the database. Table = "posts" // AuthorTable is the table that holds the author relation/edge. AuthorTable = "posts" // AuthorInverseTable is the table name for the Account entity. // It exists in this package in order to avoid circular dependency with the "account" package. AuthorInverseTable = "accounts" // AuthorColumn is the table column denoting the author relation/edge. AuthorColumn = "account_posts" // CategoryTable is the table that holds the category relation/edge. CategoryTable = "posts" // CategoryInverseTable is the table name for the Category entity. // It exists in this package in order to avoid circular dependency with the "category" package. CategoryInverseTable = "categories" // CategoryColumn is the table column denoting the category relation/edge. CategoryColumn = "category_id" // TagsTable is the table that holds the tags relation/edge. The primary key declared below. TagsTable = "tag_posts" // TagsInverseTable is the table name for the Tag entity. // It exists in this package in order to avoid circular dependency with the "tag" package. TagsInverseTable = "tags" // RootTable is the table that holds the root relation/edge. RootTable = "posts" // RootColumn is the table column denoting the root relation/edge. RootColumn = "root_post_id" // PostsTable is the table that holds the posts relation/edge. PostsTable = "posts" // PostsColumn is the table column denoting the posts relation/edge. PostsColumn = "root_post_id" // ReplyToTable is the table that holds the replyTo relation/edge. ReplyToTable = "posts" // ReplyToColumn is the table column denoting the replyTo relation/edge. ReplyToColumn = "reply_to_post_id" // RepliesTable is the table that holds the replies relation/edge. RepliesTable = "posts" // RepliesColumn is the table column denoting the replies relation/edge. RepliesColumn = "reply_to_post_id" // ReactsTable is the table that holds the reacts relation/edge. ReactsTable = "reacts" // ReactsInverseTable is the table name for the React entity. // It exists in this package in order to avoid circular dependency with the "react" package. ReactsInverseTable = "reacts" // ReactsColumn is the table column denoting the reacts relation/edge. ReactsColumn = "post_reacts" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultPinned holds the default value on creation for the "pinned" field. DefaultPinned bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() xid.ID // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldFirst, FieldTitle, FieldSlug, FieldPinned, FieldRootPostID, FieldReplyToPostID, FieldBody, FieldShort, FieldCategoryID, }
Columns holds all SQL columns for post fields.
var ForeignKeys = []string{
"account_posts",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "posts" table and are not defined as standalone fields in the schema.
var ( // TagsPrimaryKey and TagsColumn2 are the table columns denoting the // primary key for the tags relation (M2M). TagsPrimaryKey = []string{"tag_id", "post_id"} )
Functions ¶
func BodyContains ¶
BodyContains applies the Contains predicate on the "body" field.
func BodyContainsFold ¶
BodyContainsFold applies the ContainsFold predicate on the "body" field.
func BodyEqualFold ¶
BodyEqualFold applies the EqualFold predicate on the "body" field.
func BodyHasPrefix ¶
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
func BodyHasSuffix ¶
BodyHasSuffix applies the HasSuffix predicate on the "body" field.
func CategoryID ¶
CategoryID applies equality check predicate on the "category_id" field. It's identical to CategoryIDEQ.
func CategoryIDContains ¶
CategoryIDContains applies the Contains predicate on the "category_id" field.
func CategoryIDContainsFold ¶
CategoryIDContainsFold applies the ContainsFold predicate on the "category_id" field.
func CategoryIDEQ ¶
CategoryIDEQ applies the EQ predicate on the "category_id" field.
func CategoryIDEqualFold ¶
CategoryIDEqualFold applies the EqualFold predicate on the "category_id" field.
func CategoryIDGT ¶
CategoryIDGT applies the GT predicate on the "category_id" field.
func CategoryIDGTE ¶
CategoryIDGTE applies the GTE predicate on the "category_id" field.
func CategoryIDHasPrefix ¶
CategoryIDHasPrefix applies the HasPrefix predicate on the "category_id" field.
func CategoryIDHasSuffix ¶
CategoryIDHasSuffix applies the HasSuffix predicate on the "category_id" field.
func CategoryIDIn ¶
CategoryIDIn applies the In predicate on the "category_id" field.
func CategoryIDIsNil ¶
CategoryIDIsNil applies the IsNil predicate on the "category_id" field.
func CategoryIDLT ¶
CategoryIDLT applies the LT predicate on the "category_id" field.
func CategoryIDLTE ¶
CategoryIDLTE applies the LTE predicate on the "category_id" field.
func CategoryIDNEQ ¶
CategoryIDNEQ applies the NEQ predicate on the "category_id" field.
func CategoryIDNotIn ¶
CategoryIDNotIn applies the NotIn predicate on the "category_id" field.
func CategoryIDNotNil ¶
CategoryIDNotNil applies the NotNil predicate on the "category_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func First ¶
First applies equality check predicate on the "first" field. It's identical to FirstEQ.
func HasAuthorWith ¶
HasAuthorWith applies the HasEdge predicate on the "author" edge with a given conditions (other predicates).
func HasCategory ¶
HasCategory applies the HasEdge predicate on the "category" edge.
func HasCategoryWith ¶
HasCategoryWith applies the HasEdge predicate on the "category" edge with a given conditions (other predicates).
func HasPostsWith ¶
HasPostsWith applies the HasEdge predicate on the "posts" edge with a given conditions (other predicates).
func HasReactsWith ¶
HasReactsWith applies the HasEdge predicate on the "reacts" edge with a given conditions (other predicates).
func HasReplies ¶
HasReplies applies the HasEdge predicate on the "replies" edge.
func HasRepliesWith ¶
HasRepliesWith applies the HasEdge predicate on the "replies" edge with a given conditions (other predicates).
func HasReplyTo ¶
HasReplyTo applies the HasEdge predicate on the "replyTo" edge.
func HasReplyToWith ¶
HasReplyToWith applies the HasEdge predicate on the "replyTo" edge with a given conditions (other predicates).
func HasRootWith ¶
HasRootWith applies the HasEdge predicate on the "root" edge with a given conditions (other predicates).
func HasTagsWith ¶
HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).
func Pinned ¶
Pinned applies equality check predicate on the "pinned" field. It's identical to PinnedEQ.
func ReplyToPostID ¶
ReplyToPostID applies equality check predicate on the "reply_to_post_id" field. It's identical to ReplyToPostIDEQ.
func ReplyToPostIDContains ¶
ReplyToPostIDContains applies the Contains predicate on the "reply_to_post_id" field.
func ReplyToPostIDContainsFold ¶
ReplyToPostIDContainsFold applies the ContainsFold predicate on the "reply_to_post_id" field.
func ReplyToPostIDEQ ¶
ReplyToPostIDEQ applies the EQ predicate on the "reply_to_post_id" field.
func ReplyToPostIDEqualFold ¶
ReplyToPostIDEqualFold applies the EqualFold predicate on the "reply_to_post_id" field.
func ReplyToPostIDGT ¶
ReplyToPostIDGT applies the GT predicate on the "reply_to_post_id" field.
func ReplyToPostIDGTE ¶
ReplyToPostIDGTE applies the GTE predicate on the "reply_to_post_id" field.
func ReplyToPostIDHasPrefix ¶
ReplyToPostIDHasPrefix applies the HasPrefix predicate on the "reply_to_post_id" field.
func ReplyToPostIDHasSuffix ¶
ReplyToPostIDHasSuffix applies the HasSuffix predicate on the "reply_to_post_id" field.
func ReplyToPostIDIn ¶
ReplyToPostIDIn applies the In predicate on the "reply_to_post_id" field.
func ReplyToPostIDIsNil ¶
ReplyToPostIDIsNil applies the IsNil predicate on the "reply_to_post_id" field.
func ReplyToPostIDLT ¶
ReplyToPostIDLT applies the LT predicate on the "reply_to_post_id" field.
func ReplyToPostIDLTE ¶
ReplyToPostIDLTE applies the LTE predicate on the "reply_to_post_id" field.
func ReplyToPostIDNEQ ¶
ReplyToPostIDNEQ applies the NEQ predicate on the "reply_to_post_id" field.
func ReplyToPostIDNotIn ¶
ReplyToPostIDNotIn applies the NotIn predicate on the "reply_to_post_id" field.
func ReplyToPostIDNotNil ¶
ReplyToPostIDNotNil applies the NotNil predicate on the "reply_to_post_id" field.
func RootPostID ¶
RootPostID applies equality check predicate on the "root_post_id" field. It's identical to RootPostIDEQ.
func RootPostIDContains ¶
RootPostIDContains applies the Contains predicate on the "root_post_id" field.
func RootPostIDContainsFold ¶
RootPostIDContainsFold applies the ContainsFold predicate on the "root_post_id" field.
func RootPostIDEQ ¶
RootPostIDEQ applies the EQ predicate on the "root_post_id" field.
func RootPostIDEqualFold ¶
RootPostIDEqualFold applies the EqualFold predicate on the "root_post_id" field.
func RootPostIDGT ¶
RootPostIDGT applies the GT predicate on the "root_post_id" field.
func RootPostIDGTE ¶
RootPostIDGTE applies the GTE predicate on the "root_post_id" field.
func RootPostIDHasPrefix ¶
RootPostIDHasPrefix applies the HasPrefix predicate on the "root_post_id" field.
func RootPostIDHasSuffix ¶
RootPostIDHasSuffix applies the HasSuffix predicate on the "root_post_id" field.
func RootPostIDIn ¶
RootPostIDIn applies the In predicate on the "root_post_id" field.
func RootPostIDIsNil ¶
RootPostIDIsNil applies the IsNil predicate on the "root_post_id" field.
func RootPostIDLT ¶
RootPostIDLT applies the LT predicate on the "root_post_id" field.
func RootPostIDLTE ¶
RootPostIDLTE applies the LTE predicate on the "root_post_id" field.
func RootPostIDNEQ ¶
RootPostIDNEQ applies the NEQ predicate on the "root_post_id" field.
func RootPostIDNotIn ¶
RootPostIDNotIn applies the NotIn predicate on the "root_post_id" field.
func RootPostIDNotNil ¶
RootPostIDNotNil applies the NotNil predicate on the "root_post_id" field.
func Short ¶
Short applies equality check predicate on the "short" field. It's identical to ShortEQ.
func ShortContains ¶
ShortContains applies the Contains predicate on the "short" field.
func ShortContainsFold ¶
ShortContainsFold applies the ContainsFold predicate on the "short" field.
func ShortEqualFold ¶
ShortEqualFold applies the EqualFold predicate on the "short" field.
func ShortHasPrefix ¶
ShortHasPrefix applies the HasPrefix predicate on the "short" field.
func ShortHasSuffix ¶
ShortHasSuffix applies the HasSuffix predicate on the "short" field.
func ShortNotIn ¶
ShortNotIn applies the NotIn predicate on the "short" field.
func SlugContains ¶
SlugContains applies the Contains predicate on the "slug" field.
func SlugContainsFold ¶
SlugContainsFold applies the ContainsFold predicate on the "slug" field.
func SlugEqualFold ¶
SlugEqualFold applies the EqualFold predicate on the "slug" field.
func SlugHasPrefix ¶
SlugHasPrefix applies the HasPrefix predicate on the "slug" field.
func SlugHasSuffix ¶
SlugHasSuffix applies the HasSuffix predicate on the "slug" field.
func SlugNotNil ¶
SlugNotNil applies the NotNil predicate on the "slug" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIsNil ¶
TitleIsNil applies the IsNil predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func TitleNotNil ¶
TitleNotNil applies the NotNil predicate on the "title" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.