Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Post) predicate.Post
- func Approved(v bool) predicate.Post
- func ApprovedEQ(v bool) predicate.Post
- func ApprovedIsNil() predicate.Post
- func ApprovedNEQ(v bool) predicate.Post
- func ApprovedNotNil() predicate.Post
- func CommentCount(v int64) predicate.Post
- func CommentCountEQ(v int64) predicate.Post
- func CommentCountGT(v int64) predicate.Post
- func CommentCountGTE(v int64) predicate.Post
- func CommentCountIn(vs ...int64) predicate.Post
- func CommentCountLT(v int64) predicate.Post
- func CommentCountLTE(v int64) predicate.Post
- func CommentCountNEQ(v int64) predicate.Post
- func CommentCountNotIn(vs ...int64) predicate.Post
- func Content(v string) predicate.Post
- func ContentContains(v string) predicate.Post
- func ContentContainsFold(v string) predicate.Post
- func ContentEQ(v string) predicate.Post
- func ContentEqualFold(v string) predicate.Post
- func ContentGT(v string) predicate.Post
- func ContentGTE(v string) predicate.Post
- func ContentHTML(v string) predicate.Post
- func ContentHTMLContains(v string) predicate.Post
- func ContentHTMLContainsFold(v string) predicate.Post
- func ContentHTMLEQ(v string) predicate.Post
- func ContentHTMLEqualFold(v string) predicate.Post
- func ContentHTMLGT(v string) predicate.Post
- func ContentHTMLGTE(v string) predicate.Post
- func ContentHTMLHasPrefix(v string) predicate.Post
- func ContentHTMLHasSuffix(v string) predicate.Post
- func ContentHTMLIn(vs ...string) predicate.Post
- func ContentHTMLLT(v string) predicate.Post
- func ContentHTMLLTE(v string) predicate.Post
- func ContentHTMLNEQ(v string) predicate.Post
- func ContentHTMLNotIn(vs ...string) predicate.Post
- func ContentHasPrefix(v string) predicate.Post
- func ContentHasSuffix(v string) predicate.Post
- func ContentIn(vs ...string) predicate.Post
- func ContentLT(v string) predicate.Post
- func ContentLTE(v string) predicate.Post
- func ContentNEQ(v string) predicate.Post
- func ContentNotIn(vs ...string) 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 Description(v string) predicate.Post
- func DescriptionContains(v string) predicate.Post
- func DescriptionContainsFold(v string) predicate.Post
- func DescriptionEQ(v string) predicate.Post
- func DescriptionEqualFold(v string) predicate.Post
- func DescriptionGT(v string) predicate.Post
- func DescriptionGTE(v string) predicate.Post
- func DescriptionHasPrefix(v string) predicate.Post
- func DescriptionHasSuffix(v string) predicate.Post
- func DescriptionIn(vs ...string) predicate.Post
- func DescriptionIsNil() predicate.Post
- func DescriptionLT(v string) predicate.Post
- func DescriptionLTE(v string) predicate.Post
- func DescriptionNEQ(v string) predicate.Post
- func DescriptionNotIn(vs ...string) predicate.Post
- func DescriptionNotNil() predicate.Post
- func Draft(v bool) predicate.Post
- func DraftEQ(v bool) predicate.Post
- func DraftIsNil() predicate.Post
- func DraftNEQ(v bool) predicate.Post
- func DraftNotNil() predicate.Post
- func FeaturedImageID(v int) predicate.Post
- func FeaturedImageIDEQ(v int) predicate.Post
- func FeaturedImageIDIn(vs ...int) predicate.Post
- func FeaturedImageIDIsNil() predicate.Post
- func FeaturedImageIDNEQ(v int) predicate.Post
- func FeaturedImageIDNotIn(vs ...int) predicate.Post
- func FeaturedImageIDNotNil() predicate.Post
- func HasComments() predicate.Post
- func HasCommentsWith(preds ...predicate.Comment) predicate.Post
- func HasFeaturedImage() predicate.Post
- func HasFeaturedImageWith(preds ...predicate.File) predicate.Post
- func HasTopics() predicate.Post
- func HasTopicsWith(preds ...predicate.Topic) predicate.Post
- func HasUser() predicate.Post
- func HasUserWith(preds ...predicate.User) predicate.Post
- func ID(id int) predicate.Post
- func IDEQ(id int) predicate.Post
- func IDGT(id int) predicate.Post
- func IDGTE(id int) predicate.Post
- func IDIn(ids ...int) predicate.Post
- func IDLT(id int) predicate.Post
- func IDLTE(id int) predicate.Post
- func IDNEQ(id int) predicate.Post
- func IDNotIn(ids ...int) predicate.Post
- func Name(v string) predicate.Post
- func NameContains(v string) predicate.Post
- func NameContainsFold(v string) predicate.Post
- func NameEQ(v string) predicate.Post
- func NameEqualFold(v string) predicate.Post
- func NameGT(v string) predicate.Post
- func NameGTE(v string) predicate.Post
- func NameHasPrefix(v string) predicate.Post
- func NameHasSuffix(v string) predicate.Post
- func NameIn(vs ...string) predicate.Post
- func NameLT(v string) predicate.Post
- func NameLTE(v string) predicate.Post
- func NameNEQ(v string) predicate.Post
- func NameNotIn(vs ...string) predicate.Post
- func Not(p predicate.Post) predicate.Post
- func Or(predicates ...predicate.Post) predicate.Post
- func RatingCount(v int64) predicate.Post
- func RatingCountEQ(v int64) predicate.Post
- func RatingCountGT(v int64) predicate.Post
- func RatingCountGTE(v int64) predicate.Post
- func RatingCountIn(vs ...int64) predicate.Post
- func RatingCountIsNil() predicate.Post
- func RatingCountLT(v int64) predicate.Post
- func RatingCountLTE(v int64) predicate.Post
- func RatingCountNEQ(v int64) predicate.Post
- func RatingCountNotIn(vs ...int64) predicate.Post
- func RatingCountNotNil() predicate.Post
- func RatingTotal(v int64) predicate.Post
- func RatingTotalEQ(v int64) predicate.Post
- func RatingTotalGT(v int64) predicate.Post
- func RatingTotalGTE(v int64) predicate.Post
- func RatingTotalIn(vs ...int64) predicate.Post
- func RatingTotalIsNil() predicate.Post
- func RatingTotalLT(v int64) predicate.Post
- func RatingTotalLTE(v int64) predicate.Post
- func RatingTotalNEQ(v int64) predicate.Post
- func RatingTotalNotIn(vs ...int64) predicate.Post
- func RatingTotalNotNil() 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 SlugLT(v string) predicate.Post
- func SlugLTE(v string) predicate.Post
- func SlugNEQ(v string) predicate.Post
- func SlugNotIn(vs ...string) 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 UserID(v int) predicate.Post
- func UserIDEQ(v int) predicate.Post
- func UserIDIn(vs ...int) predicate.Post
- func UserIDIsNil() predicate.Post
- func UserIDNEQ(v int) predicate.Post
- func UserIDNotIn(vs ...int) predicate.Post
- func UserIDNotNil() predicate.Post
- func ValidColumn(column string) bool
- func ViewCount(v int64) predicate.Post
- func ViewCountEQ(v int64) predicate.Post
- func ViewCountGT(v int64) predicate.Post
- func ViewCountGTE(v int64) predicate.Post
- func ViewCountIn(vs ...int64) predicate.Post
- func ViewCountLT(v int64) predicate.Post
- func ViewCountLTE(v int64) predicate.Post
- func ViewCountNEQ(v int64) predicate.Post
- func ViewCountNotIn(vs ...int64) predicate.Post
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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSlug holds the string denoting the slug field in the database. FieldSlug = "slug" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldContentHTML holds the string denoting the content_html field in the database. FieldContentHTML = "content_html" // FieldViewCount holds the string denoting the view_count field in the database. FieldViewCount = "view_count" // FieldCommentCount holds the string denoting the comment_count field in the database. FieldCommentCount = "comment_count" // FieldRatingCount holds the string denoting the rating_count field in the database. FieldRatingCount = "rating_count" // FieldRatingTotal holds the string denoting the rating_total field in the database. FieldRatingTotal = "rating_total" // FieldDraft holds the string denoting the draft field in the database. FieldDraft = "draft" // FieldApproved holds the string denoting the approved field in the database. FieldApproved = "approved" // FieldFeaturedImageID holds the string denoting the featured_image_id field in the database. FieldFeaturedImageID = "featured_image_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeTopics holds the string denoting the topics edge name in mutations. EdgeTopics = "topics" // EdgeFeaturedImage holds the string denoting the featured_image edge name in mutations. EdgeFeaturedImage = "featured_image" // EdgeComments holds the string denoting the comments edge name in mutations. EdgeComments = "comments" // Table holds the table name of the post in the database. Table = "posts" // UserTable is the table that holds the user relation/edge. UserTable = "posts" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // TopicsTable is the table that holds the topics relation/edge. The primary key declared below. TopicsTable = "topic_posts" // TopicsInverseTable is the table name for the Topic entity. // It exists in this package in order to avoid circular dependency with the "topic" package. TopicsInverseTable = "topics" // FeaturedImageTable is the table that holds the featured_image relation/edge. FeaturedImageTable = "posts" // FeaturedImageInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FeaturedImageInverseTable = "files" // FeaturedImageColumn is the table column denoting the featured_image relation/edge. FeaturedImageColumn = "featured_image_id" // CommentsTable is the table that holds the comments relation/edge. CommentsTable = "comments" // CommentsInverseTable is the table name for the Comment entity. // It exists in this package in order to avoid circular dependency with the "comment" package. CommentsInverseTable = "comments" // CommentsColumn is the table column denoting the comments relation/edge. CommentsColumn = "post_id" )
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 // DefaultViewCount holds the default value on creation for the "view_count" field. DefaultViewCount int64 // DefaultCommentCount holds the default value on creation for the "comment_count" field. DefaultCommentCount int64 // DefaultRatingCount holds the default value on creation for the "rating_count" field. DefaultRatingCount int64 // DefaultRatingTotal holds the default value on creation for the "rating_total" field. DefaultRatingTotal int64 // DefaultDraft holds the default value on creation for the "draft" field. DefaultDraft bool // DefaultApproved holds the default value on creation for the "approved" field. DefaultApproved bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldSlug, FieldDescription, FieldContent, FieldContentHTML, FieldViewCount, FieldCommentCount, FieldRatingCount, FieldRatingTotal, FieldDraft, FieldApproved, FieldFeaturedImageID, FieldUserID, }
Columns holds all SQL columns for post fields.
var ( // TopicsPrimaryKey and TopicsColumn2 are the table columns denoting the // primary key for the topics relation (M2M). TopicsPrimaryKey = []string{"topic_id", "post_id"} )
Functions ¶
func Approved ¶
Approved applies equality check predicate on the "approved" field. It's identical to ApprovedEQ.
func ApprovedEQ ¶
ApprovedEQ applies the EQ predicate on the "approved" field.
func ApprovedIsNil ¶
ApprovedIsNil applies the IsNil predicate on the "approved" field.
func ApprovedNEQ ¶
ApprovedNEQ applies the NEQ predicate on the "approved" field.
func ApprovedNotNil ¶
ApprovedNotNil applies the NotNil predicate on the "approved" field.
func CommentCount ¶
CommentCount applies equality check predicate on the "comment_count" field. It's identical to CommentCountEQ.
func CommentCountEQ ¶
CommentCountEQ applies the EQ predicate on the "comment_count" field.
func CommentCountGT ¶
CommentCountGT applies the GT predicate on the "comment_count" field.
func CommentCountGTE ¶
CommentCountGTE applies the GTE predicate on the "comment_count" field.
func CommentCountIn ¶
CommentCountIn applies the In predicate on the "comment_count" field.
func CommentCountLT ¶
CommentCountLT applies the LT predicate on the "comment_count" field.
func CommentCountLTE ¶
CommentCountLTE applies the LTE predicate on the "comment_count" field.
func CommentCountNEQ ¶
CommentCountNEQ applies the NEQ predicate on the "comment_count" field.
func CommentCountNotIn ¶
CommentCountNotIn applies the NotIn predicate on the "comment_count" field.
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHTML ¶
ContentHTML applies equality check predicate on the "content_html" field. It's identical to ContentHTMLEQ.
func ContentHTMLContains ¶
ContentHTMLContains applies the Contains predicate on the "content_html" field.
func ContentHTMLContainsFold ¶
ContentHTMLContainsFold applies the ContainsFold predicate on the "content_html" field.
func ContentHTMLEQ ¶
ContentHTMLEQ applies the EQ predicate on the "content_html" field.
func ContentHTMLEqualFold ¶
ContentHTMLEqualFold applies the EqualFold predicate on the "content_html" field.
func ContentHTMLGT ¶
ContentHTMLGT applies the GT predicate on the "content_html" field.
func ContentHTMLGTE ¶
ContentHTMLGTE applies the GTE predicate on the "content_html" field.
func ContentHTMLHasPrefix ¶
ContentHTMLHasPrefix applies the HasPrefix predicate on the "content_html" field.
func ContentHTMLHasSuffix ¶
ContentHTMLHasSuffix applies the HasSuffix predicate on the "content_html" field.
func ContentHTMLIn ¶
ContentHTMLIn applies the In predicate on the "content_html" field.
func ContentHTMLLT ¶
ContentHTMLLT applies the LT predicate on the "content_html" field.
func ContentHTMLLTE ¶
ContentHTMLLTE applies the LTE predicate on the "content_html" field.
func ContentHTMLNEQ ¶
ContentHTMLNEQ applies the NEQ predicate on the "content_html" field.
func ContentHTMLNotIn ¶
ContentHTMLNotIn applies the NotIn predicate on the "content_html" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" 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 Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Draft ¶
Draft applies equality check predicate on the "draft" field. It's identical to DraftEQ.
func DraftIsNil ¶
DraftIsNil applies the IsNil predicate on the "draft" field.
func DraftNotNil ¶
DraftNotNil applies the NotNil predicate on the "draft" field.
func FeaturedImageID ¶
FeaturedImageID applies equality check predicate on the "featured_image_id" field. It's identical to FeaturedImageIDEQ.
func FeaturedImageIDEQ ¶
FeaturedImageIDEQ applies the EQ predicate on the "featured_image_id" field.
func FeaturedImageIDIn ¶
FeaturedImageIDIn applies the In predicate on the "featured_image_id" field.
func FeaturedImageIDIsNil ¶
FeaturedImageIDIsNil applies the IsNil predicate on the "featured_image_id" field.
func FeaturedImageIDNEQ ¶
FeaturedImageIDNEQ applies the NEQ predicate on the "featured_image_id" field.
func FeaturedImageIDNotIn ¶
FeaturedImageIDNotIn applies the NotIn predicate on the "featured_image_id" field.
func FeaturedImageIDNotNil ¶
FeaturedImageIDNotNil applies the NotNil predicate on the "featured_image_id" field.
func HasComments ¶
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasFeaturedImage ¶
HasFeaturedImage applies the HasEdge predicate on the "featured_image" edge.
func HasFeaturedImageWith ¶
HasFeaturedImageWith applies the HasEdge predicate on the "featured_image" edge with a given conditions (other predicates).
func HasTopicsWith ¶
HasTopicsWith applies the HasEdge predicate on the "topics" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func RatingCount ¶
RatingCount applies equality check predicate on the "rating_count" field. It's identical to RatingCountEQ.
func RatingCountEQ ¶
RatingCountEQ applies the EQ predicate on the "rating_count" field.
func RatingCountGT ¶
RatingCountGT applies the GT predicate on the "rating_count" field.
func RatingCountGTE ¶
RatingCountGTE applies the GTE predicate on the "rating_count" field.
func RatingCountIn ¶
RatingCountIn applies the In predicate on the "rating_count" field.
func RatingCountIsNil ¶
RatingCountIsNil applies the IsNil predicate on the "rating_count" field.
func RatingCountLT ¶
RatingCountLT applies the LT predicate on the "rating_count" field.
func RatingCountLTE ¶
RatingCountLTE applies the LTE predicate on the "rating_count" field.
func RatingCountNEQ ¶
RatingCountNEQ applies the NEQ predicate on the "rating_count" field.
func RatingCountNotIn ¶
RatingCountNotIn applies the NotIn predicate on the "rating_count" field.
func RatingCountNotNil ¶
RatingCountNotNil applies the NotNil predicate on the "rating_count" field.
func RatingTotal ¶
RatingTotal applies equality check predicate on the "rating_total" field. It's identical to RatingTotalEQ.
func RatingTotalEQ ¶
RatingTotalEQ applies the EQ predicate on the "rating_total" field.
func RatingTotalGT ¶
RatingTotalGT applies the GT predicate on the "rating_total" field.
func RatingTotalGTE ¶
RatingTotalGTE applies the GTE predicate on the "rating_total" field.
func RatingTotalIn ¶
RatingTotalIn applies the In predicate on the "rating_total" field.
func RatingTotalIsNil ¶
RatingTotalIsNil applies the IsNil predicate on the "rating_total" field.
func RatingTotalLT ¶
RatingTotalLT applies the LT predicate on the "rating_total" field.
func RatingTotalLTE ¶
RatingTotalLTE applies the LTE predicate on the "rating_total" field.
func RatingTotalNEQ ¶
RatingTotalNEQ applies the NEQ predicate on the "rating_total" field.
func RatingTotalNotIn ¶
RatingTotalNotIn applies the NotIn predicate on the "rating_total" field.
func RatingTotalNotNil ¶
RatingTotalNotNil applies the NotNil predicate on the "rating_total" 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 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 UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDIsNil ¶
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
UserIDNotNil applies the NotNil predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ViewCount ¶
ViewCount applies equality check predicate on the "view_count" field. It's identical to ViewCountEQ.
func ViewCountEQ ¶
ViewCountEQ applies the EQ predicate on the "view_count" field.
func ViewCountGT ¶
ViewCountGT applies the GT predicate on the "view_count" field.
func ViewCountGTE ¶
ViewCountGTE applies the GTE predicate on the "view_count" field.
func ViewCountIn ¶
ViewCountIn applies the In predicate on the "view_count" field.
func ViewCountLT ¶
ViewCountLT applies the LT predicate on the "view_count" field.
func ViewCountLTE ¶
ViewCountLTE applies the LTE predicate on the "view_count" field.
func ViewCountNEQ ¶
ViewCountNEQ applies the NEQ predicate on the "view_count" field.
func ViewCountNotIn ¶
ViewCountNotIn applies the NotIn predicate on the "view_count" field.
Types ¶
This section is empty.