comment

package
v0.0.0-...-22bdbfd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the comment type in the database.
	Label = "comment"
	// 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"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldUserNickname holds the string denoting the user_nickname field in the database.
	FieldUserNickname = "user_nickname"
	// FieldUserAvatar holds the string denoting the user_avatar field in the database.
	FieldUserAvatar = "user_avatar"
	// FieldAnonymous holds the string denoting the anonymous field in the database.
	FieldAnonymous = "anonymous"
	// FieldOrderID holds the string denoting the order_id field in the database.
	FieldOrderID = "order_id"
	// FieldOrderItemID holds the string denoting the order_item_id field in the database.
	FieldOrderItemID = "order_item_id"
	// FieldSpuID holds the string denoting the spu_id field in the database.
	FieldSpuID = "spu_id"
	// FieldSpuName holds the string denoting the spu_name field in the database.
	FieldSpuName = "spu_name"
	// FieldSkuID holds the string denoting the sku_id field in the database.
	FieldSkuID = "sku_id"
	// FieldSkuPicURL holds the string denoting the sku_pic_url field in the database.
	FieldSkuPicURL = "sku_pic_url"
	// FieldSkuProperties holds the string denoting the sku_properties field in the database.
	FieldSkuProperties = "sku_properties"
	// FieldVisible holds the string denoting the visible field in the database.
	FieldVisible = "visible"
	// FieldScores holds the string denoting the scores field in the database.
	FieldScores = "scores"
	// FieldDescriptionScores holds the string denoting the description_scores field in the database.
	FieldDescriptionScores = "description_scores"
	// FieldBenefitScores holds the string denoting the benefit_scores field in the database.
	FieldBenefitScores = "benefit_scores"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// FieldPicUrls holds the string denoting the pic_urls field in the database.
	FieldPicUrls = "pic_urls"
	// FieldReplyStatus holds the string denoting the reply_status field in the database.
	FieldReplyStatus = "reply_status"
	// FieldReplyUserID holds the string denoting the reply_user_id field in the database.
	FieldReplyUserID = "reply_user_id"
	// FieldReplyContent holds the string denoting the reply_content field in the database.
	FieldReplyContent = "reply_content"
	// FieldReplyTime holds the string denoting the reply_time field in the database.
	FieldReplyTime = "reply_time"
	// EdgeSkus holds the string denoting the skus edge name in mutations.
	EdgeSkus = "skus"
	// Table holds the table name of the comment in the database.
	Table = "product_comment"
	// SkusTable is the table that holds the skus relation/edge.
	SkusTable = "product_comment"
	// SkusInverseTable is the table name for the Sku entity.
	// It exists in this package in order to avoid circular dependency with the "sku" package.
	SkusInverseTable = "product_sku"
	// SkusColumn is the table column denoting the skus relation/edge.
	SkusColumn = "sku_id"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	// 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
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/agui-coder/simple-admin-product-rpc/ent/runtime"

Columns holds all SQL columns for comment fields.

Functions

func And

func And(predicates ...predicate.Comment) predicate.Comment

And groups predicates with the AND operator between them.

func Anonymous

func Anonymous(v bool) predicate.Comment

Anonymous applies equality check predicate on the "anonymous" field. It's identical to AnonymousEQ.

func AnonymousEQ

func AnonymousEQ(v bool) predicate.Comment

AnonymousEQ applies the EQ predicate on the "anonymous" field.

func AnonymousIsNil

func AnonymousIsNil() predicate.Comment

AnonymousIsNil applies the IsNil predicate on the "anonymous" field.

func AnonymousNEQ

func AnonymousNEQ(v bool) predicate.Comment

AnonymousNEQ applies the NEQ predicate on the "anonymous" field.

func AnonymousNotNil

func AnonymousNotNil() predicate.Comment

AnonymousNotNil applies the NotNil predicate on the "anonymous" field.

func BenefitScores

func BenefitScores(v int8) predicate.Comment

BenefitScores applies equality check predicate on the "benefit_scores" field. It's identical to BenefitScoresEQ.

func BenefitScoresEQ

func BenefitScoresEQ(v int8) predicate.Comment

BenefitScoresEQ applies the EQ predicate on the "benefit_scores" field.

func BenefitScoresGT

func BenefitScoresGT(v int8) predicate.Comment

BenefitScoresGT applies the GT predicate on the "benefit_scores" field.

func BenefitScoresGTE

func BenefitScoresGTE(v int8) predicate.Comment

BenefitScoresGTE applies the GTE predicate on the "benefit_scores" field.

func BenefitScoresIn

func BenefitScoresIn(vs ...int8) predicate.Comment

BenefitScoresIn applies the In predicate on the "benefit_scores" field.

func BenefitScoresIsNil

func BenefitScoresIsNil() predicate.Comment

BenefitScoresIsNil applies the IsNil predicate on the "benefit_scores" field.

func BenefitScoresLT

func BenefitScoresLT(v int8) predicate.Comment

BenefitScoresLT applies the LT predicate on the "benefit_scores" field.

func BenefitScoresLTE

func BenefitScoresLTE(v int8) predicate.Comment

BenefitScoresLTE applies the LTE predicate on the "benefit_scores" field.

func BenefitScoresNEQ

func BenefitScoresNEQ(v int8) predicate.Comment

BenefitScoresNEQ applies the NEQ predicate on the "benefit_scores" field.

func BenefitScoresNotIn

func BenefitScoresNotIn(vs ...int8) predicate.Comment

BenefitScoresNotIn applies the NotIn predicate on the "benefit_scores" field.

func BenefitScoresNotNil

func BenefitScoresNotNil() predicate.Comment

BenefitScoresNotNil applies the NotNil predicate on the "benefit_scores" field.

func Content

func Content(v string) predicate.Comment

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.Comment

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.Comment

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.Comment

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.Comment

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.Comment

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.Comment

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.Comment

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.Comment

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

func ContentIn(vs ...string) predicate.Comment

ContentIn applies the In predicate on the "content" field.

func ContentIsNil

func ContentIsNil() predicate.Comment

ContentIsNil applies the IsNil predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.Comment

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.Comment

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.Comment

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

func ContentNotIn(vs ...string) predicate.Comment

ContentNotIn applies the NotIn predicate on the "content" field.

func ContentNotNil

func ContentNotNil() predicate.Comment

ContentNotNil applies the NotNil predicate on the "content" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Comment

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Comment

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Comment

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Comment

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Comment

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Comment

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Comment

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Comment

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Comment

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Comment

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Comment

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Comment

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Comment

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Comment

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Comment

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Comment

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Comment

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Comment

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Comment

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Comment

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DescriptionScores

func DescriptionScores(v int8) predicate.Comment

DescriptionScores applies equality check predicate on the "description_scores" field. It's identical to DescriptionScoresEQ.

func DescriptionScoresEQ

func DescriptionScoresEQ(v int8) predicate.Comment

DescriptionScoresEQ applies the EQ predicate on the "description_scores" field.

func DescriptionScoresGT

func DescriptionScoresGT(v int8) predicate.Comment

DescriptionScoresGT applies the GT predicate on the "description_scores" field.

func DescriptionScoresGTE

func DescriptionScoresGTE(v int8) predicate.Comment

DescriptionScoresGTE applies the GTE predicate on the "description_scores" field.

func DescriptionScoresIn

func DescriptionScoresIn(vs ...int8) predicate.Comment

DescriptionScoresIn applies the In predicate on the "description_scores" field.

func DescriptionScoresIsNil

func DescriptionScoresIsNil() predicate.Comment

DescriptionScoresIsNil applies the IsNil predicate on the "description_scores" field.

func DescriptionScoresLT

func DescriptionScoresLT(v int8) predicate.Comment

DescriptionScoresLT applies the LT predicate on the "description_scores" field.

func DescriptionScoresLTE

func DescriptionScoresLTE(v int8) predicate.Comment

DescriptionScoresLTE applies the LTE predicate on the "description_scores" field.

func DescriptionScoresNEQ

func DescriptionScoresNEQ(v int8) predicate.Comment

DescriptionScoresNEQ applies the NEQ predicate on the "description_scores" field.

func DescriptionScoresNotIn

func DescriptionScoresNotIn(vs ...int8) predicate.Comment

DescriptionScoresNotIn applies the NotIn predicate on the "description_scores" field.

func DescriptionScoresNotNil

func DescriptionScoresNotNil() predicate.Comment

DescriptionScoresNotNil applies the NotNil predicate on the "description_scores" field.

func HasSkus

func HasSkus() predicate.Comment

HasSkus applies the HasEdge predicate on the "skus" edge.

func HasSkusWith

func HasSkusWith(preds ...predicate.Sku) predicate.Comment

HasSkusWith applies the HasEdge predicate on the "skus" edge with a given conditions (other predicates).

func ID

func ID(id uint64) predicate.Comment

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.Comment

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.Comment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.Comment

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.Comment

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.Comment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.Comment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.Comment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.Comment

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Comment) predicate.Comment

Or groups predicates with the OR operator between them.

func OrderID

func OrderID(v uint64) predicate.Comment

OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.

func OrderIDEQ

func OrderIDEQ(v uint64) predicate.Comment

OrderIDEQ applies the EQ predicate on the "order_id" field.

func OrderIDGT

func OrderIDGT(v uint64) predicate.Comment

OrderIDGT applies the GT predicate on the "order_id" field.

func OrderIDGTE

func OrderIDGTE(v uint64) predicate.Comment

OrderIDGTE applies the GTE predicate on the "order_id" field.

func OrderIDIn

func OrderIDIn(vs ...uint64) predicate.Comment

OrderIDIn applies the In predicate on the "order_id" field.

func OrderIDIsNil

func OrderIDIsNil() predicate.Comment

OrderIDIsNil applies the IsNil predicate on the "order_id" field.

func OrderIDLT

func OrderIDLT(v uint64) predicate.Comment

OrderIDLT applies the LT predicate on the "order_id" field.

func OrderIDLTE

func OrderIDLTE(v uint64) predicate.Comment

OrderIDLTE applies the LTE predicate on the "order_id" field.

func OrderIDNEQ

func OrderIDNEQ(v uint64) predicate.Comment

OrderIDNEQ applies the NEQ predicate on the "order_id" field.

func OrderIDNotIn

func OrderIDNotIn(vs ...uint64) predicate.Comment

OrderIDNotIn applies the NotIn predicate on the "order_id" field.

func OrderIDNotNil

func OrderIDNotNil() predicate.Comment

OrderIDNotNil applies the NotNil predicate on the "order_id" field.

func OrderItemID

func OrderItemID(v uint64) predicate.Comment

OrderItemID applies equality check predicate on the "order_item_id" field. It's identical to OrderItemIDEQ.

func OrderItemIDEQ

func OrderItemIDEQ(v uint64) predicate.Comment

OrderItemIDEQ applies the EQ predicate on the "order_item_id" field.

func OrderItemIDGT

func OrderItemIDGT(v uint64) predicate.Comment

OrderItemIDGT applies the GT predicate on the "order_item_id" field.

func OrderItemIDGTE

func OrderItemIDGTE(v uint64) predicate.Comment

OrderItemIDGTE applies the GTE predicate on the "order_item_id" field.

func OrderItemIDIn

func OrderItemIDIn(vs ...uint64) predicate.Comment

OrderItemIDIn applies the In predicate on the "order_item_id" field.

func OrderItemIDIsNil

func OrderItemIDIsNil() predicate.Comment

OrderItemIDIsNil applies the IsNil predicate on the "order_item_id" field.

func OrderItemIDLT

func OrderItemIDLT(v uint64) predicate.Comment

OrderItemIDLT applies the LT predicate on the "order_item_id" field.

func OrderItemIDLTE

func OrderItemIDLTE(v uint64) predicate.Comment

OrderItemIDLTE applies the LTE predicate on the "order_item_id" field.

func OrderItemIDNEQ

func OrderItemIDNEQ(v uint64) predicate.Comment

OrderItemIDNEQ applies the NEQ predicate on the "order_item_id" field.

func OrderItemIDNotIn

func OrderItemIDNotIn(vs ...uint64) predicate.Comment

OrderItemIDNotIn applies the NotIn predicate on the "order_item_id" field.

func OrderItemIDNotNil

func OrderItemIDNotNil() predicate.Comment

OrderItemIDNotNil applies the NotNil predicate on the "order_item_id" field.

func PicUrls

func PicUrls(v string) predicate.Comment

PicUrls applies equality check predicate on the "pic_urls" field. It's identical to PicUrlsEQ.

func PicUrlsContains

func PicUrlsContains(v string) predicate.Comment

PicUrlsContains applies the Contains predicate on the "pic_urls" field.

func PicUrlsContainsFold

func PicUrlsContainsFold(v string) predicate.Comment

PicUrlsContainsFold applies the ContainsFold predicate on the "pic_urls" field.

func PicUrlsEQ

func PicUrlsEQ(v string) predicate.Comment

PicUrlsEQ applies the EQ predicate on the "pic_urls" field.

func PicUrlsEqualFold

func PicUrlsEqualFold(v string) predicate.Comment

PicUrlsEqualFold applies the EqualFold predicate on the "pic_urls" field.

func PicUrlsGT

func PicUrlsGT(v string) predicate.Comment

PicUrlsGT applies the GT predicate on the "pic_urls" field.

func PicUrlsGTE

func PicUrlsGTE(v string) predicate.Comment

PicUrlsGTE applies the GTE predicate on the "pic_urls" field.

func PicUrlsHasPrefix

func PicUrlsHasPrefix(v string) predicate.Comment

PicUrlsHasPrefix applies the HasPrefix predicate on the "pic_urls" field.

func PicUrlsHasSuffix

func PicUrlsHasSuffix(v string) predicate.Comment

PicUrlsHasSuffix applies the HasSuffix predicate on the "pic_urls" field.

func PicUrlsIn

func PicUrlsIn(vs ...string) predicate.Comment

PicUrlsIn applies the In predicate on the "pic_urls" field.

func PicUrlsIsNil

func PicUrlsIsNil() predicate.Comment

PicUrlsIsNil applies the IsNil predicate on the "pic_urls" field.

func PicUrlsLT

func PicUrlsLT(v string) predicate.Comment

PicUrlsLT applies the LT predicate on the "pic_urls" field.

func PicUrlsLTE

func PicUrlsLTE(v string) predicate.Comment

PicUrlsLTE applies the LTE predicate on the "pic_urls" field.

func PicUrlsNEQ

func PicUrlsNEQ(v string) predicate.Comment

PicUrlsNEQ applies the NEQ predicate on the "pic_urls" field.

func PicUrlsNotIn

func PicUrlsNotIn(vs ...string) predicate.Comment

PicUrlsNotIn applies the NotIn predicate on the "pic_urls" field.

func PicUrlsNotNil

func PicUrlsNotNil() predicate.Comment

PicUrlsNotNil applies the NotNil predicate on the "pic_urls" field.

func ReplyContent

func ReplyContent(v string) predicate.Comment

ReplyContent applies equality check predicate on the "reply_content" field. It's identical to ReplyContentEQ.

func ReplyContentContains

func ReplyContentContains(v string) predicate.Comment

ReplyContentContains applies the Contains predicate on the "reply_content" field.

func ReplyContentContainsFold

func ReplyContentContainsFold(v string) predicate.Comment

ReplyContentContainsFold applies the ContainsFold predicate on the "reply_content" field.

func ReplyContentEQ

func ReplyContentEQ(v string) predicate.Comment

ReplyContentEQ applies the EQ predicate on the "reply_content" field.

func ReplyContentEqualFold

func ReplyContentEqualFold(v string) predicate.Comment

ReplyContentEqualFold applies the EqualFold predicate on the "reply_content" field.

func ReplyContentGT

func ReplyContentGT(v string) predicate.Comment

ReplyContentGT applies the GT predicate on the "reply_content" field.

func ReplyContentGTE

func ReplyContentGTE(v string) predicate.Comment

ReplyContentGTE applies the GTE predicate on the "reply_content" field.

func ReplyContentHasPrefix

func ReplyContentHasPrefix(v string) predicate.Comment

ReplyContentHasPrefix applies the HasPrefix predicate on the "reply_content" field.

func ReplyContentHasSuffix

func ReplyContentHasSuffix(v string) predicate.Comment

ReplyContentHasSuffix applies the HasSuffix predicate on the "reply_content" field.

func ReplyContentIn

func ReplyContentIn(vs ...string) predicate.Comment

ReplyContentIn applies the In predicate on the "reply_content" field.

func ReplyContentIsNil

func ReplyContentIsNil() predicate.Comment

ReplyContentIsNil applies the IsNil predicate on the "reply_content" field.

func ReplyContentLT

func ReplyContentLT(v string) predicate.Comment

ReplyContentLT applies the LT predicate on the "reply_content" field.

func ReplyContentLTE

func ReplyContentLTE(v string) predicate.Comment

ReplyContentLTE applies the LTE predicate on the "reply_content" field.

func ReplyContentNEQ

func ReplyContentNEQ(v string) predicate.Comment

ReplyContentNEQ applies the NEQ predicate on the "reply_content" field.

func ReplyContentNotIn

func ReplyContentNotIn(vs ...string) predicate.Comment

ReplyContentNotIn applies the NotIn predicate on the "reply_content" field.

func ReplyContentNotNil

func ReplyContentNotNil() predicate.Comment

ReplyContentNotNil applies the NotNil predicate on the "reply_content" field.

func ReplyStatus

func ReplyStatus(v bool) predicate.Comment

ReplyStatus applies equality check predicate on the "reply_status" field. It's identical to ReplyStatusEQ.

func ReplyStatusEQ

func ReplyStatusEQ(v bool) predicate.Comment

ReplyStatusEQ applies the EQ predicate on the "reply_status" field.

func ReplyStatusIsNil

func ReplyStatusIsNil() predicate.Comment

ReplyStatusIsNil applies the IsNil predicate on the "reply_status" field.

func ReplyStatusNEQ

func ReplyStatusNEQ(v bool) predicate.Comment

ReplyStatusNEQ applies the NEQ predicate on the "reply_status" field.

func ReplyStatusNotNil

func ReplyStatusNotNil() predicate.Comment

ReplyStatusNotNil applies the NotNil predicate on the "reply_status" field.

func ReplyTime

func ReplyTime(v time.Time) predicate.Comment

ReplyTime applies equality check predicate on the "reply_time" field. It's identical to ReplyTimeEQ.

func ReplyTimeEQ

func ReplyTimeEQ(v time.Time) predicate.Comment

ReplyTimeEQ applies the EQ predicate on the "reply_time" field.

func ReplyTimeGT

func ReplyTimeGT(v time.Time) predicate.Comment

ReplyTimeGT applies the GT predicate on the "reply_time" field.

func ReplyTimeGTE

func ReplyTimeGTE(v time.Time) predicate.Comment

ReplyTimeGTE applies the GTE predicate on the "reply_time" field.

func ReplyTimeIn

func ReplyTimeIn(vs ...time.Time) predicate.Comment

ReplyTimeIn applies the In predicate on the "reply_time" field.

func ReplyTimeIsNil

func ReplyTimeIsNil() predicate.Comment

ReplyTimeIsNil applies the IsNil predicate on the "reply_time" field.

func ReplyTimeLT

func ReplyTimeLT(v time.Time) predicate.Comment

ReplyTimeLT applies the LT predicate on the "reply_time" field.

func ReplyTimeLTE

func ReplyTimeLTE(v time.Time) predicate.Comment

ReplyTimeLTE applies the LTE predicate on the "reply_time" field.

func ReplyTimeNEQ

func ReplyTimeNEQ(v time.Time) predicate.Comment

ReplyTimeNEQ applies the NEQ predicate on the "reply_time" field.

func ReplyTimeNotIn

func ReplyTimeNotIn(vs ...time.Time) predicate.Comment

ReplyTimeNotIn applies the NotIn predicate on the "reply_time" field.

func ReplyTimeNotNil

func ReplyTimeNotNil() predicate.Comment

ReplyTimeNotNil applies the NotNil predicate on the "reply_time" field.

func ReplyUserID

func ReplyUserID(v int) predicate.Comment

ReplyUserID applies equality check predicate on the "reply_user_id" field. It's identical to ReplyUserIDEQ.

func ReplyUserIDEQ

func ReplyUserIDEQ(v int) predicate.Comment

ReplyUserIDEQ applies the EQ predicate on the "reply_user_id" field.

func ReplyUserIDGT

func ReplyUserIDGT(v int) predicate.Comment

ReplyUserIDGT applies the GT predicate on the "reply_user_id" field.

func ReplyUserIDGTE

func ReplyUserIDGTE(v int) predicate.Comment

ReplyUserIDGTE applies the GTE predicate on the "reply_user_id" field.

func ReplyUserIDIn

func ReplyUserIDIn(vs ...int) predicate.Comment

ReplyUserIDIn applies the In predicate on the "reply_user_id" field.

func ReplyUserIDIsNil

func ReplyUserIDIsNil() predicate.Comment

ReplyUserIDIsNil applies the IsNil predicate on the "reply_user_id" field.

func ReplyUserIDLT

func ReplyUserIDLT(v int) predicate.Comment

ReplyUserIDLT applies the LT predicate on the "reply_user_id" field.

func ReplyUserIDLTE

func ReplyUserIDLTE(v int) predicate.Comment

ReplyUserIDLTE applies the LTE predicate on the "reply_user_id" field.

func ReplyUserIDNEQ

func ReplyUserIDNEQ(v int) predicate.Comment

ReplyUserIDNEQ applies the NEQ predicate on the "reply_user_id" field.

func ReplyUserIDNotIn

func ReplyUserIDNotIn(vs ...int) predicate.Comment

ReplyUserIDNotIn applies the NotIn predicate on the "reply_user_id" field.

func ReplyUserIDNotNil

func ReplyUserIDNotNil() predicate.Comment

ReplyUserIDNotNil applies the NotNil predicate on the "reply_user_id" field.

func Scores

func Scores(v int8) predicate.Comment

Scores applies equality check predicate on the "scores" field. It's identical to ScoresEQ.

func ScoresEQ

func ScoresEQ(v int8) predicate.Comment

ScoresEQ applies the EQ predicate on the "scores" field.

func ScoresGT

func ScoresGT(v int8) predicate.Comment

ScoresGT applies the GT predicate on the "scores" field.

func ScoresGTE

func ScoresGTE(v int8) predicate.Comment

ScoresGTE applies the GTE predicate on the "scores" field.

func ScoresIn

func ScoresIn(vs ...int8) predicate.Comment

ScoresIn applies the In predicate on the "scores" field.

func ScoresIsNil

func ScoresIsNil() predicate.Comment

ScoresIsNil applies the IsNil predicate on the "scores" field.

func ScoresLT

func ScoresLT(v int8) predicate.Comment

ScoresLT applies the LT predicate on the "scores" field.

func ScoresLTE

func ScoresLTE(v int8) predicate.Comment

ScoresLTE applies the LTE predicate on the "scores" field.

func ScoresNEQ

func ScoresNEQ(v int8) predicate.Comment

ScoresNEQ applies the NEQ predicate on the "scores" field.

func ScoresNotIn

func ScoresNotIn(vs ...int8) predicate.Comment

ScoresNotIn applies the NotIn predicate on the "scores" field.

func ScoresNotNil

func ScoresNotNil() predicate.Comment

ScoresNotNil applies the NotNil predicate on the "scores" field.

func SkuID

func SkuID(v uint64) predicate.Comment

SkuID applies equality check predicate on the "sku_id" field. It's identical to SkuIDEQ.

func SkuIDEQ

func SkuIDEQ(v uint64) predicate.Comment

SkuIDEQ applies the EQ predicate on the "sku_id" field.

func SkuIDIn

func SkuIDIn(vs ...uint64) predicate.Comment

SkuIDIn applies the In predicate on the "sku_id" field.

func SkuIDIsNil

func SkuIDIsNil() predicate.Comment

SkuIDIsNil applies the IsNil predicate on the "sku_id" field.

func SkuIDNEQ

func SkuIDNEQ(v uint64) predicate.Comment

SkuIDNEQ applies the NEQ predicate on the "sku_id" field.

func SkuIDNotIn

func SkuIDNotIn(vs ...uint64) predicate.Comment

SkuIDNotIn applies the NotIn predicate on the "sku_id" field.

func SkuIDNotNil

func SkuIDNotNil() predicate.Comment

SkuIDNotNil applies the NotNil predicate on the "sku_id" field.

func SkuPicURL

func SkuPicURL(v string) predicate.Comment

SkuPicURL applies equality check predicate on the "sku_pic_url" field. It's identical to SkuPicURLEQ.

func SkuPicURLContains

func SkuPicURLContains(v string) predicate.Comment

SkuPicURLContains applies the Contains predicate on the "sku_pic_url" field.

func SkuPicURLContainsFold

func SkuPicURLContainsFold(v string) predicate.Comment

SkuPicURLContainsFold applies the ContainsFold predicate on the "sku_pic_url" field.

func SkuPicURLEQ

func SkuPicURLEQ(v string) predicate.Comment

SkuPicURLEQ applies the EQ predicate on the "sku_pic_url" field.

func SkuPicURLEqualFold

func SkuPicURLEqualFold(v string) predicate.Comment

SkuPicURLEqualFold applies the EqualFold predicate on the "sku_pic_url" field.

func SkuPicURLGT

func SkuPicURLGT(v string) predicate.Comment

SkuPicURLGT applies the GT predicate on the "sku_pic_url" field.

func SkuPicURLGTE

func SkuPicURLGTE(v string) predicate.Comment

SkuPicURLGTE applies the GTE predicate on the "sku_pic_url" field.

func SkuPicURLHasPrefix

func SkuPicURLHasPrefix(v string) predicate.Comment

SkuPicURLHasPrefix applies the HasPrefix predicate on the "sku_pic_url" field.

func SkuPicURLHasSuffix

func SkuPicURLHasSuffix(v string) predicate.Comment

SkuPicURLHasSuffix applies the HasSuffix predicate on the "sku_pic_url" field.

func SkuPicURLIn

func SkuPicURLIn(vs ...string) predicate.Comment

SkuPicURLIn applies the In predicate on the "sku_pic_url" field.

func SkuPicURLLT

func SkuPicURLLT(v string) predicate.Comment

SkuPicURLLT applies the LT predicate on the "sku_pic_url" field.

func SkuPicURLLTE

func SkuPicURLLTE(v string) predicate.Comment

SkuPicURLLTE applies the LTE predicate on the "sku_pic_url" field.

func SkuPicURLNEQ

func SkuPicURLNEQ(v string) predicate.Comment

SkuPicURLNEQ applies the NEQ predicate on the "sku_pic_url" field.

func SkuPicURLNotIn

func SkuPicURLNotIn(vs ...string) predicate.Comment

SkuPicURLNotIn applies the NotIn predicate on the "sku_pic_url" field.

func SkuPropertiesIsNil

func SkuPropertiesIsNil() predicate.Comment

SkuPropertiesIsNil applies the IsNil predicate on the "sku_properties" field.

func SkuPropertiesNotNil

func SkuPropertiesNotNil() predicate.Comment

SkuPropertiesNotNil applies the NotNil predicate on the "sku_properties" field.

func SpuID

func SpuID(v uint64) predicate.Comment

SpuID applies equality check predicate on the "spu_id" field. It's identical to SpuIDEQ.

func SpuIDEQ

func SpuIDEQ(v uint64) predicate.Comment

SpuIDEQ applies the EQ predicate on the "spu_id" field.

func SpuIDGT

func SpuIDGT(v uint64) predicate.Comment

SpuIDGT applies the GT predicate on the "spu_id" field.

func SpuIDGTE

func SpuIDGTE(v uint64) predicate.Comment

SpuIDGTE applies the GTE predicate on the "spu_id" field.

func SpuIDIn

func SpuIDIn(vs ...uint64) predicate.Comment

SpuIDIn applies the In predicate on the "spu_id" field.

func SpuIDIsNil

func SpuIDIsNil() predicate.Comment

SpuIDIsNil applies the IsNil predicate on the "spu_id" field.

func SpuIDLT

func SpuIDLT(v uint64) predicate.Comment

SpuIDLT applies the LT predicate on the "spu_id" field.

func SpuIDLTE

func SpuIDLTE(v uint64) predicate.Comment

SpuIDLTE applies the LTE predicate on the "spu_id" field.

func SpuIDNEQ

func SpuIDNEQ(v uint64) predicate.Comment

SpuIDNEQ applies the NEQ predicate on the "spu_id" field.

func SpuIDNotIn

func SpuIDNotIn(vs ...uint64) predicate.Comment

SpuIDNotIn applies the NotIn predicate on the "spu_id" field.

func SpuIDNotNil

func SpuIDNotNil() predicate.Comment

SpuIDNotNil applies the NotNil predicate on the "spu_id" field.

func SpuName

func SpuName(v string) predicate.Comment

SpuName applies equality check predicate on the "spu_name" field. It's identical to SpuNameEQ.

func SpuNameContains

func SpuNameContains(v string) predicate.Comment

SpuNameContains applies the Contains predicate on the "spu_name" field.

func SpuNameContainsFold

func SpuNameContainsFold(v string) predicate.Comment

SpuNameContainsFold applies the ContainsFold predicate on the "spu_name" field.

func SpuNameEQ

func SpuNameEQ(v string) predicate.Comment

SpuNameEQ applies the EQ predicate on the "spu_name" field.

func SpuNameEqualFold

func SpuNameEqualFold(v string) predicate.Comment

SpuNameEqualFold applies the EqualFold predicate on the "spu_name" field.

func SpuNameGT

func SpuNameGT(v string) predicate.Comment

SpuNameGT applies the GT predicate on the "spu_name" field.

func SpuNameGTE

func SpuNameGTE(v string) predicate.Comment

SpuNameGTE applies the GTE predicate on the "spu_name" field.

func SpuNameHasPrefix

func SpuNameHasPrefix(v string) predicate.Comment

SpuNameHasPrefix applies the HasPrefix predicate on the "spu_name" field.

func SpuNameHasSuffix

func SpuNameHasSuffix(v string) predicate.Comment

SpuNameHasSuffix applies the HasSuffix predicate on the "spu_name" field.

func SpuNameIn

func SpuNameIn(vs ...string) predicate.Comment

SpuNameIn applies the In predicate on the "spu_name" field.

func SpuNameIsNil

func SpuNameIsNil() predicate.Comment

SpuNameIsNil applies the IsNil predicate on the "spu_name" field.

func SpuNameLT

func SpuNameLT(v string) predicate.Comment

SpuNameLT applies the LT predicate on the "spu_name" field.

func SpuNameLTE

func SpuNameLTE(v string) predicate.Comment

SpuNameLTE applies the LTE predicate on the "spu_name" field.

func SpuNameNEQ

func SpuNameNEQ(v string) predicate.Comment

SpuNameNEQ applies the NEQ predicate on the "spu_name" field.

func SpuNameNotIn

func SpuNameNotIn(vs ...string) predicate.Comment

SpuNameNotIn applies the NotIn predicate on the "spu_name" field.

func SpuNameNotNil

func SpuNameNotNil() predicate.Comment

SpuNameNotNil applies the NotNil predicate on the "spu_name" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Comment

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Comment

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Comment

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Comment

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Comment

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Comment

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Comment

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Comment

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Comment

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserAvatar

func UserAvatar(v string) predicate.Comment

UserAvatar applies equality check predicate on the "user_avatar" field. It's identical to UserAvatarEQ.

func UserAvatarContains

func UserAvatarContains(v string) predicate.Comment

UserAvatarContains applies the Contains predicate on the "user_avatar" field.

func UserAvatarContainsFold

func UserAvatarContainsFold(v string) predicate.Comment

UserAvatarContainsFold applies the ContainsFold predicate on the "user_avatar" field.

func UserAvatarEQ

func UserAvatarEQ(v string) predicate.Comment

UserAvatarEQ applies the EQ predicate on the "user_avatar" field.

func UserAvatarEqualFold

func UserAvatarEqualFold(v string) predicate.Comment

UserAvatarEqualFold applies the EqualFold predicate on the "user_avatar" field.

func UserAvatarGT

func UserAvatarGT(v string) predicate.Comment

UserAvatarGT applies the GT predicate on the "user_avatar" field.

func UserAvatarGTE

func UserAvatarGTE(v string) predicate.Comment

UserAvatarGTE applies the GTE predicate on the "user_avatar" field.

func UserAvatarHasPrefix

func UserAvatarHasPrefix(v string) predicate.Comment

UserAvatarHasPrefix applies the HasPrefix predicate on the "user_avatar" field.

func UserAvatarHasSuffix

func UserAvatarHasSuffix(v string) predicate.Comment

UserAvatarHasSuffix applies the HasSuffix predicate on the "user_avatar" field.

func UserAvatarIn

func UserAvatarIn(vs ...string) predicate.Comment

UserAvatarIn applies the In predicate on the "user_avatar" field.

func UserAvatarIsNil

func UserAvatarIsNil() predicate.Comment

UserAvatarIsNil applies the IsNil predicate on the "user_avatar" field.

func UserAvatarLT

func UserAvatarLT(v string) predicate.Comment

UserAvatarLT applies the LT predicate on the "user_avatar" field.

func UserAvatarLTE

func UserAvatarLTE(v string) predicate.Comment

UserAvatarLTE applies the LTE predicate on the "user_avatar" field.

func UserAvatarNEQ

func UserAvatarNEQ(v string) predicate.Comment

UserAvatarNEQ applies the NEQ predicate on the "user_avatar" field.

func UserAvatarNotIn

func UserAvatarNotIn(vs ...string) predicate.Comment

UserAvatarNotIn applies the NotIn predicate on the "user_avatar" field.

func UserAvatarNotNil

func UserAvatarNotNil() predicate.Comment

UserAvatarNotNil applies the NotNil predicate on the "user_avatar" field.

func UserID

func UserID(v uint64) predicate.Comment

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uint64) predicate.Comment

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v uint64) predicate.Comment

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v uint64) predicate.Comment

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uint64) predicate.Comment

UserIDIn applies the In predicate on the "user_id" field.

func UserIDIsNil

func UserIDIsNil() predicate.Comment

UserIDIsNil applies the IsNil predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v uint64) predicate.Comment

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v uint64) predicate.Comment

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uint64) predicate.Comment

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uint64) predicate.Comment

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func UserIDNotNil

func UserIDNotNil() predicate.Comment

UserIDNotNil applies the NotNil predicate on the "user_id" field.

func UserNickname

func UserNickname(v string) predicate.Comment

UserNickname applies equality check predicate on the "user_nickname" field. It's identical to UserNicknameEQ.

func UserNicknameContains

func UserNicknameContains(v string) predicate.Comment

UserNicknameContains applies the Contains predicate on the "user_nickname" field.

func UserNicknameContainsFold

func UserNicknameContainsFold(v string) predicate.Comment

UserNicknameContainsFold applies the ContainsFold predicate on the "user_nickname" field.

func UserNicknameEQ

func UserNicknameEQ(v string) predicate.Comment

UserNicknameEQ applies the EQ predicate on the "user_nickname" field.

func UserNicknameEqualFold

func UserNicknameEqualFold(v string) predicate.Comment

UserNicknameEqualFold applies the EqualFold predicate on the "user_nickname" field.

func UserNicknameGT

func UserNicknameGT(v string) predicate.Comment

UserNicknameGT applies the GT predicate on the "user_nickname" field.

func UserNicknameGTE

func UserNicknameGTE(v string) predicate.Comment

UserNicknameGTE applies the GTE predicate on the "user_nickname" field.

func UserNicknameHasPrefix

func UserNicknameHasPrefix(v string) predicate.Comment

UserNicknameHasPrefix applies the HasPrefix predicate on the "user_nickname" field.

func UserNicknameHasSuffix

func UserNicknameHasSuffix(v string) predicate.Comment

UserNicknameHasSuffix applies the HasSuffix predicate on the "user_nickname" field.

func UserNicknameIn

func UserNicknameIn(vs ...string) predicate.Comment

UserNicknameIn applies the In predicate on the "user_nickname" field.

func UserNicknameIsNil

func UserNicknameIsNil() predicate.Comment

UserNicknameIsNil applies the IsNil predicate on the "user_nickname" field.

func UserNicknameLT

func UserNicknameLT(v string) predicate.Comment

UserNicknameLT applies the LT predicate on the "user_nickname" field.

func UserNicknameLTE

func UserNicknameLTE(v string) predicate.Comment

UserNicknameLTE applies the LTE predicate on the "user_nickname" field.

func UserNicknameNEQ

func UserNicknameNEQ(v string) predicate.Comment

UserNicknameNEQ applies the NEQ predicate on the "user_nickname" field.

func UserNicknameNotIn

func UserNicknameNotIn(vs ...string) predicate.Comment

UserNicknameNotIn applies the NotIn predicate on the "user_nickname" field.

func UserNicknameNotNil

func UserNicknameNotNil() predicate.Comment

UserNicknameNotNil applies the NotNil predicate on the "user_nickname" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Visible

func Visible(v bool) predicate.Comment

Visible applies equality check predicate on the "visible" field. It's identical to VisibleEQ.

func VisibleEQ

func VisibleEQ(v bool) predicate.Comment

VisibleEQ applies the EQ predicate on the "visible" field.

func VisibleIsNil

func VisibleIsNil() predicate.Comment

VisibleIsNil applies the IsNil predicate on the "visible" field.

func VisibleNEQ

func VisibleNEQ(v bool) predicate.Comment

VisibleNEQ applies the NEQ predicate on the "visible" field.

func VisibleNotNil

func VisibleNotNil() predicate.Comment

VisibleNotNil applies the NotNil predicate on the "visible" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Comment queries.

func ByAnonymous

func ByAnonymous(opts ...sql.OrderTermOption) OrderOption

ByAnonymous orders the results by the anonymous field.

func ByBenefitScores

func ByBenefitScores(opts ...sql.OrderTermOption) OrderOption

ByBenefitScores orders the results by the benefit_scores field.

func ByContent

func ByContent(opts ...sql.OrderTermOption) OrderOption

ByContent orders the results by the content field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDescriptionScores

func ByDescriptionScores(opts ...sql.OrderTermOption) OrderOption

ByDescriptionScores orders the results by the description_scores field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByOrderID

func ByOrderID(opts ...sql.OrderTermOption) OrderOption

ByOrderID orders the results by the order_id field.

func ByOrderItemID

func ByOrderItemID(opts ...sql.OrderTermOption) OrderOption

ByOrderItemID orders the results by the order_item_id field.

func ByPicUrls

func ByPicUrls(opts ...sql.OrderTermOption) OrderOption

ByPicUrls orders the results by the pic_urls field.

func ByReplyContent

func ByReplyContent(opts ...sql.OrderTermOption) OrderOption

ByReplyContent orders the results by the reply_content field.

func ByReplyStatus

func ByReplyStatus(opts ...sql.OrderTermOption) OrderOption

ByReplyStatus orders the results by the reply_status field.

func ByReplyTime

func ByReplyTime(opts ...sql.OrderTermOption) OrderOption

ByReplyTime orders the results by the reply_time field.

func ByReplyUserID

func ByReplyUserID(opts ...sql.OrderTermOption) OrderOption

ByReplyUserID orders the results by the reply_user_id field.

func ByScores

func ByScores(opts ...sql.OrderTermOption) OrderOption

ByScores orders the results by the scores field.

func BySkuID

func BySkuID(opts ...sql.OrderTermOption) OrderOption

BySkuID orders the results by the sku_id field.

func BySkuPicURL

func BySkuPicURL(opts ...sql.OrderTermOption) OrderOption

BySkuPicURL orders the results by the sku_pic_url field.

func BySkusField

func BySkusField(field string, opts ...sql.OrderTermOption) OrderOption

BySkusField orders the results by skus field.

func BySpuID

func BySpuID(opts ...sql.OrderTermOption) OrderOption

BySpuID orders the results by the spu_id field.

func BySpuName

func BySpuName(opts ...sql.OrderTermOption) OrderOption

BySpuName orders the results by the spu_name field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUserAvatar

func ByUserAvatar(opts ...sql.OrderTermOption) OrderOption

ByUserAvatar orders the results by the user_avatar field.

func ByUserID

func ByUserID(opts ...sql.OrderTermOption) OrderOption

ByUserID orders the results by the user_id field.

func ByUserNickname

func ByUserNickname(opts ...sql.OrderTermOption) OrderOption

ByUserNickname orders the results by the user_nickname field.

func ByVisible

func ByVisible(opts ...sql.OrderTermOption) OrderOption

ByVisible orders the results by the visible field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL