Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Comment) predicate.Comment
- func Anonymous(v bool) predicate.Comment
- func AnonymousEQ(v bool) predicate.Comment
- func AnonymousIsNil() predicate.Comment
- func AnonymousNEQ(v bool) predicate.Comment
- func AnonymousNotNil() predicate.Comment
- func BenefitScores(v int8) predicate.Comment
- func BenefitScoresEQ(v int8) predicate.Comment
- func BenefitScoresGT(v int8) predicate.Comment
- func BenefitScoresGTE(v int8) predicate.Comment
- func BenefitScoresIn(vs ...int8) predicate.Comment
- func BenefitScoresIsNil() predicate.Comment
- func BenefitScoresLT(v int8) predicate.Comment
- func BenefitScoresLTE(v int8) predicate.Comment
- func BenefitScoresNEQ(v int8) predicate.Comment
- func BenefitScoresNotIn(vs ...int8) predicate.Comment
- func BenefitScoresNotNil() predicate.Comment
- func Content(v string) predicate.Comment
- func ContentContains(v string) predicate.Comment
- func ContentContainsFold(v string) predicate.Comment
- func ContentEQ(v string) predicate.Comment
- func ContentEqualFold(v string) predicate.Comment
- func ContentGT(v string) predicate.Comment
- func ContentGTE(v string) predicate.Comment
- func ContentHasPrefix(v string) predicate.Comment
- func ContentHasSuffix(v string) predicate.Comment
- func ContentIn(vs ...string) predicate.Comment
- func ContentIsNil() predicate.Comment
- func ContentLT(v string) predicate.Comment
- func ContentLTE(v string) predicate.Comment
- func ContentNEQ(v string) predicate.Comment
- func ContentNotIn(vs ...string) predicate.Comment
- func ContentNotNil() predicate.Comment
- func CreatedAt(v time.Time) predicate.Comment
- func CreatedAtEQ(v time.Time) predicate.Comment
- func CreatedAtGT(v time.Time) predicate.Comment
- func CreatedAtGTE(v time.Time) predicate.Comment
- func CreatedAtIn(vs ...time.Time) predicate.Comment
- func CreatedAtLT(v time.Time) predicate.Comment
- func CreatedAtLTE(v time.Time) predicate.Comment
- func CreatedAtNEQ(v time.Time) predicate.Comment
- func CreatedAtNotIn(vs ...time.Time) predicate.Comment
- func DeletedAt(v time.Time) predicate.Comment
- func DeletedAtEQ(v time.Time) predicate.Comment
- func DeletedAtGT(v time.Time) predicate.Comment
- func DeletedAtGTE(v time.Time) predicate.Comment
- func DeletedAtIn(vs ...time.Time) predicate.Comment
- func DeletedAtIsNil() predicate.Comment
- func DeletedAtLT(v time.Time) predicate.Comment
- func DeletedAtLTE(v time.Time) predicate.Comment
- func DeletedAtNEQ(v time.Time) predicate.Comment
- func DeletedAtNotIn(vs ...time.Time) predicate.Comment
- func DeletedAtNotNil() predicate.Comment
- func DescriptionScores(v int8) predicate.Comment
- func DescriptionScoresEQ(v int8) predicate.Comment
- func DescriptionScoresGT(v int8) predicate.Comment
- func DescriptionScoresGTE(v int8) predicate.Comment
- func DescriptionScoresIn(vs ...int8) predicate.Comment
- func DescriptionScoresIsNil() predicate.Comment
- func DescriptionScoresLT(v int8) predicate.Comment
- func DescriptionScoresLTE(v int8) predicate.Comment
- func DescriptionScoresNEQ(v int8) predicate.Comment
- func DescriptionScoresNotIn(vs ...int8) predicate.Comment
- func DescriptionScoresNotNil() predicate.Comment
- func HasSkus() predicate.Comment
- func HasSkusWith(preds ...predicate.Sku) predicate.Comment
- func ID(id uint64) predicate.Comment
- func IDEQ(id uint64) predicate.Comment
- func IDGT(id uint64) predicate.Comment
- func IDGTE(id uint64) predicate.Comment
- func IDIn(ids ...uint64) predicate.Comment
- func IDLT(id uint64) predicate.Comment
- func IDLTE(id uint64) predicate.Comment
- func IDNEQ(id uint64) predicate.Comment
- func IDNotIn(ids ...uint64) predicate.Comment
- func Not(p predicate.Comment) predicate.Comment
- func Or(predicates ...predicate.Comment) predicate.Comment
- func OrderID(v uint64) predicate.Comment
- func OrderIDEQ(v uint64) predicate.Comment
- func OrderIDGT(v uint64) predicate.Comment
- func OrderIDGTE(v uint64) predicate.Comment
- func OrderIDIn(vs ...uint64) predicate.Comment
- func OrderIDIsNil() predicate.Comment
- func OrderIDLT(v uint64) predicate.Comment
- func OrderIDLTE(v uint64) predicate.Comment
- func OrderIDNEQ(v uint64) predicate.Comment
- func OrderIDNotIn(vs ...uint64) predicate.Comment
- func OrderIDNotNil() predicate.Comment
- func OrderItemID(v uint64) predicate.Comment
- func OrderItemIDEQ(v uint64) predicate.Comment
- func OrderItemIDGT(v uint64) predicate.Comment
- func OrderItemIDGTE(v uint64) predicate.Comment
- func OrderItemIDIn(vs ...uint64) predicate.Comment
- func OrderItemIDIsNil() predicate.Comment
- func OrderItemIDLT(v uint64) predicate.Comment
- func OrderItemIDLTE(v uint64) predicate.Comment
- func OrderItemIDNEQ(v uint64) predicate.Comment
- func OrderItemIDNotIn(vs ...uint64) predicate.Comment
- func OrderItemIDNotNil() predicate.Comment
- func PicUrls(v string) predicate.Comment
- func PicUrlsContains(v string) predicate.Comment
- func PicUrlsContainsFold(v string) predicate.Comment
- func PicUrlsEQ(v string) predicate.Comment
- func PicUrlsEqualFold(v string) predicate.Comment
- func PicUrlsGT(v string) predicate.Comment
- func PicUrlsGTE(v string) predicate.Comment
- func PicUrlsHasPrefix(v string) predicate.Comment
- func PicUrlsHasSuffix(v string) predicate.Comment
- func PicUrlsIn(vs ...string) predicate.Comment
- func PicUrlsIsNil() predicate.Comment
- func PicUrlsLT(v string) predicate.Comment
- func PicUrlsLTE(v string) predicate.Comment
- func PicUrlsNEQ(v string) predicate.Comment
- func PicUrlsNotIn(vs ...string) predicate.Comment
- func PicUrlsNotNil() predicate.Comment
- func ReplyContent(v string) predicate.Comment
- func ReplyContentContains(v string) predicate.Comment
- func ReplyContentContainsFold(v string) predicate.Comment
- func ReplyContentEQ(v string) predicate.Comment
- func ReplyContentEqualFold(v string) predicate.Comment
- func ReplyContentGT(v string) predicate.Comment
- func ReplyContentGTE(v string) predicate.Comment
- func ReplyContentHasPrefix(v string) predicate.Comment
- func ReplyContentHasSuffix(v string) predicate.Comment
- func ReplyContentIn(vs ...string) predicate.Comment
- func ReplyContentIsNil() predicate.Comment
- func ReplyContentLT(v string) predicate.Comment
- func ReplyContentLTE(v string) predicate.Comment
- func ReplyContentNEQ(v string) predicate.Comment
- func ReplyContentNotIn(vs ...string) predicate.Comment
- func ReplyContentNotNil() predicate.Comment
- func ReplyStatus(v bool) predicate.Comment
- func ReplyStatusEQ(v bool) predicate.Comment
- func ReplyStatusIsNil() predicate.Comment
- func ReplyStatusNEQ(v bool) predicate.Comment
- func ReplyStatusNotNil() predicate.Comment
- func ReplyTime(v time.Time) predicate.Comment
- func ReplyTimeEQ(v time.Time) predicate.Comment
- func ReplyTimeGT(v time.Time) predicate.Comment
- func ReplyTimeGTE(v time.Time) predicate.Comment
- func ReplyTimeIn(vs ...time.Time) predicate.Comment
- func ReplyTimeIsNil() predicate.Comment
- func ReplyTimeLT(v time.Time) predicate.Comment
- func ReplyTimeLTE(v time.Time) predicate.Comment
- func ReplyTimeNEQ(v time.Time) predicate.Comment
- func ReplyTimeNotIn(vs ...time.Time) predicate.Comment
- func ReplyTimeNotNil() predicate.Comment
- func ReplyUserID(v int) predicate.Comment
- func ReplyUserIDEQ(v int) predicate.Comment
- func ReplyUserIDGT(v int) predicate.Comment
- func ReplyUserIDGTE(v int) predicate.Comment
- func ReplyUserIDIn(vs ...int) predicate.Comment
- func ReplyUserIDIsNil() predicate.Comment
- func ReplyUserIDLT(v int) predicate.Comment
- func ReplyUserIDLTE(v int) predicate.Comment
- func ReplyUserIDNEQ(v int) predicate.Comment
- func ReplyUserIDNotIn(vs ...int) predicate.Comment
- func ReplyUserIDNotNil() predicate.Comment
- func Scores(v int8) predicate.Comment
- func ScoresEQ(v int8) predicate.Comment
- func ScoresGT(v int8) predicate.Comment
- func ScoresGTE(v int8) predicate.Comment
- func ScoresIn(vs ...int8) predicate.Comment
- func ScoresIsNil() predicate.Comment
- func ScoresLT(v int8) predicate.Comment
- func ScoresLTE(v int8) predicate.Comment
- func ScoresNEQ(v int8) predicate.Comment
- func ScoresNotIn(vs ...int8) predicate.Comment
- func ScoresNotNil() predicate.Comment
- func SkuID(v uint64) predicate.Comment
- func SkuIDEQ(v uint64) predicate.Comment
- func SkuIDIn(vs ...uint64) predicate.Comment
- func SkuIDIsNil() predicate.Comment
- func SkuIDNEQ(v uint64) predicate.Comment
- func SkuIDNotIn(vs ...uint64) predicate.Comment
- func SkuIDNotNil() predicate.Comment
- func SkuPicURL(v string) predicate.Comment
- func SkuPicURLContains(v string) predicate.Comment
- func SkuPicURLContainsFold(v string) predicate.Comment
- func SkuPicURLEQ(v string) predicate.Comment
- func SkuPicURLEqualFold(v string) predicate.Comment
- func SkuPicURLGT(v string) predicate.Comment
- func SkuPicURLGTE(v string) predicate.Comment
- func SkuPicURLHasPrefix(v string) predicate.Comment
- func SkuPicURLHasSuffix(v string) predicate.Comment
- func SkuPicURLIn(vs ...string) predicate.Comment
- func SkuPicURLLT(v string) predicate.Comment
- func SkuPicURLLTE(v string) predicate.Comment
- func SkuPicURLNEQ(v string) predicate.Comment
- func SkuPicURLNotIn(vs ...string) predicate.Comment
- func SkuPropertiesIsNil() predicate.Comment
- func SkuPropertiesNotNil() predicate.Comment
- func SpuID(v uint64) predicate.Comment
- func SpuIDEQ(v uint64) predicate.Comment
- func SpuIDGT(v uint64) predicate.Comment
- func SpuIDGTE(v uint64) predicate.Comment
- func SpuIDIn(vs ...uint64) predicate.Comment
- func SpuIDIsNil() predicate.Comment
- func SpuIDLT(v uint64) predicate.Comment
- func SpuIDLTE(v uint64) predicate.Comment
- func SpuIDNEQ(v uint64) predicate.Comment
- func SpuIDNotIn(vs ...uint64) predicate.Comment
- func SpuIDNotNil() predicate.Comment
- func SpuName(v string) predicate.Comment
- func SpuNameContains(v string) predicate.Comment
- func SpuNameContainsFold(v string) predicate.Comment
- func SpuNameEQ(v string) predicate.Comment
- func SpuNameEqualFold(v string) predicate.Comment
- func SpuNameGT(v string) predicate.Comment
- func SpuNameGTE(v string) predicate.Comment
- func SpuNameHasPrefix(v string) predicate.Comment
- func SpuNameHasSuffix(v string) predicate.Comment
- func SpuNameIn(vs ...string) predicate.Comment
- func SpuNameIsNil() predicate.Comment
- func SpuNameLT(v string) predicate.Comment
- func SpuNameLTE(v string) predicate.Comment
- func SpuNameNEQ(v string) predicate.Comment
- func SpuNameNotIn(vs ...string) predicate.Comment
- func SpuNameNotNil() predicate.Comment
- func UpdatedAt(v time.Time) predicate.Comment
- func UpdatedAtEQ(v time.Time) predicate.Comment
- func UpdatedAtGT(v time.Time) predicate.Comment
- func UpdatedAtGTE(v time.Time) predicate.Comment
- func UpdatedAtIn(vs ...time.Time) predicate.Comment
- func UpdatedAtLT(v time.Time) predicate.Comment
- func UpdatedAtLTE(v time.Time) predicate.Comment
- func UpdatedAtNEQ(v time.Time) predicate.Comment
- func UpdatedAtNotIn(vs ...time.Time) predicate.Comment
- func UserAvatar(v string) predicate.Comment
- func UserAvatarContains(v string) predicate.Comment
- func UserAvatarContainsFold(v string) predicate.Comment
- func UserAvatarEQ(v string) predicate.Comment
- func UserAvatarEqualFold(v string) predicate.Comment
- func UserAvatarGT(v string) predicate.Comment
- func UserAvatarGTE(v string) predicate.Comment
- func UserAvatarHasPrefix(v string) predicate.Comment
- func UserAvatarHasSuffix(v string) predicate.Comment
- func UserAvatarIn(vs ...string) predicate.Comment
- func UserAvatarIsNil() predicate.Comment
- func UserAvatarLT(v string) predicate.Comment
- func UserAvatarLTE(v string) predicate.Comment
- func UserAvatarNEQ(v string) predicate.Comment
- func UserAvatarNotIn(vs ...string) predicate.Comment
- func UserAvatarNotNil() predicate.Comment
- func UserID(v uint64) predicate.Comment
- func UserIDEQ(v uint64) predicate.Comment
- func UserIDGT(v uint64) predicate.Comment
- func UserIDGTE(v uint64) predicate.Comment
- func UserIDIn(vs ...uint64) predicate.Comment
- func UserIDIsNil() predicate.Comment
- func UserIDLT(v uint64) predicate.Comment
- func UserIDLTE(v uint64) predicate.Comment
- func UserIDNEQ(v uint64) predicate.Comment
- func UserIDNotIn(vs ...uint64) predicate.Comment
- func UserIDNotNil() predicate.Comment
- func UserNickname(v string) predicate.Comment
- func UserNicknameContains(v string) predicate.Comment
- func UserNicknameContainsFold(v string) predicate.Comment
- func UserNicknameEQ(v string) predicate.Comment
- func UserNicknameEqualFold(v string) predicate.Comment
- func UserNicknameGT(v string) predicate.Comment
- func UserNicknameGTE(v string) predicate.Comment
- func UserNicknameHasPrefix(v string) predicate.Comment
- func UserNicknameHasSuffix(v string) predicate.Comment
- func UserNicknameIn(vs ...string) predicate.Comment
- func UserNicknameIsNil() predicate.Comment
- func UserNicknameLT(v string) predicate.Comment
- func UserNicknameLTE(v string) predicate.Comment
- func UserNicknameNEQ(v string) predicate.Comment
- func UserNicknameNotIn(vs ...string) predicate.Comment
- func UserNicknameNotNil() predicate.Comment
- func ValidColumn(column string) bool
- func Visible(v bool) predicate.Comment
- func VisibleEQ(v bool) predicate.Comment
- func VisibleIsNil() predicate.Comment
- func VisibleNEQ(v bool) predicate.Comment
- func VisibleNotNil() predicate.Comment
- type OrderOption
- func ByAnonymous(opts ...sql.OrderTermOption) OrderOption
- func ByBenefitScores(opts ...sql.OrderTermOption) OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescriptionScores(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrderID(opts ...sql.OrderTermOption) OrderOption
- func ByOrderItemID(opts ...sql.OrderTermOption) OrderOption
- func ByPicUrls(opts ...sql.OrderTermOption) OrderOption
- func ByReplyContent(opts ...sql.OrderTermOption) OrderOption
- func ByReplyStatus(opts ...sql.OrderTermOption) OrderOption
- func ByReplyTime(opts ...sql.OrderTermOption) OrderOption
- func ByReplyUserID(opts ...sql.OrderTermOption) OrderOption
- func ByScores(opts ...sql.OrderTermOption) OrderOption
- func BySkuID(opts ...sql.OrderTermOption) OrderOption
- func BySkuPicURL(opts ...sql.OrderTermOption) OrderOption
- func BySkusField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySpuID(opts ...sql.OrderTermOption) OrderOption
- func BySpuName(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserAvatar(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByUserNickname(opts ...sql.OrderTermOption) OrderOption
- func ByVisible(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldUserID, FieldUserNickname, FieldUserAvatar, FieldAnonymous, FieldOrderID, FieldOrderItemID, FieldSpuID, FieldSpuName, FieldSkuID, FieldSkuPicURL, FieldSkuProperties, FieldVisible, FieldScores, FieldDescriptionScores, FieldBenefitScores, FieldContent, FieldPicUrls, FieldReplyStatus, FieldReplyUserID, FieldReplyContent, FieldReplyTime, }
Columns holds all SQL columns for comment fields.
Functions ¶
func Anonymous ¶
Anonymous applies equality check predicate on the "anonymous" field. It's identical to AnonymousEQ.
func AnonymousEQ ¶
AnonymousEQ applies the EQ predicate on the "anonymous" field.
func AnonymousIsNil ¶
AnonymousIsNil applies the IsNil predicate on the "anonymous" field.
func AnonymousNEQ ¶
AnonymousNEQ applies the NEQ predicate on the "anonymous" field.
func AnonymousNotNil ¶
AnonymousNotNil applies the NotNil predicate on the "anonymous" field.
func BenefitScores ¶
BenefitScores applies equality check predicate on the "benefit_scores" field. It's identical to BenefitScoresEQ.
func BenefitScoresEQ ¶
BenefitScoresEQ applies the EQ predicate on the "benefit_scores" field.
func BenefitScoresGT ¶
BenefitScoresGT applies the GT predicate on the "benefit_scores" field.
func BenefitScoresGTE ¶
BenefitScoresGTE applies the GTE predicate on the "benefit_scores" field.
func BenefitScoresIn ¶
BenefitScoresIn applies the In predicate on the "benefit_scores" field.
func BenefitScoresIsNil ¶
BenefitScoresIsNil applies the IsNil predicate on the "benefit_scores" field.
func BenefitScoresLT ¶
BenefitScoresLT applies the LT predicate on the "benefit_scores" field.
func BenefitScoresLTE ¶
BenefitScoresLTE applies the LTE predicate on the "benefit_scores" field.
func BenefitScoresNEQ ¶
BenefitScoresNEQ applies the NEQ predicate on the "benefit_scores" field.
func BenefitScoresNotIn ¶
BenefitScoresNotIn applies the NotIn predicate on the "benefit_scores" field.
func BenefitScoresNotNil ¶
BenefitScoresNotNil applies the NotNil predicate on the "benefit_scores" 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 ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIsNil ¶
ContentIsNil applies the IsNil 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 ContentNotNil ¶
ContentNotNil applies the NotNil 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 DescriptionScores ¶
DescriptionScores applies equality check predicate on the "description_scores" field. It's identical to DescriptionScoresEQ.
func DescriptionScoresEQ ¶
DescriptionScoresEQ applies the EQ predicate on the "description_scores" field.
func DescriptionScoresGT ¶
DescriptionScoresGT applies the GT predicate on the "description_scores" field.
func DescriptionScoresGTE ¶
DescriptionScoresGTE applies the GTE predicate on the "description_scores" field.
func DescriptionScoresIn ¶
DescriptionScoresIn applies the In predicate on the "description_scores" field.
func DescriptionScoresIsNil ¶
DescriptionScoresIsNil applies the IsNil predicate on the "description_scores" field.
func DescriptionScoresLT ¶
DescriptionScoresLT applies the LT predicate on the "description_scores" field.
func DescriptionScoresLTE ¶
DescriptionScoresLTE applies the LTE predicate on the "description_scores" field.
func DescriptionScoresNEQ ¶
DescriptionScoresNEQ applies the NEQ predicate on the "description_scores" field.
func DescriptionScoresNotIn ¶
DescriptionScoresNotIn applies the NotIn predicate on the "description_scores" field.
func DescriptionScoresNotNil ¶
DescriptionScoresNotNil applies the NotNil predicate on the "description_scores" field.
func HasSkusWith ¶
HasSkusWith applies the HasEdge predicate on the "skus" edge with a given conditions (other predicates).
func OrderID ¶
OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.
func OrderIDGTE ¶
OrderIDGTE applies the GTE predicate on the "order_id" field.
func OrderIDIsNil ¶
OrderIDIsNil applies the IsNil predicate on the "order_id" field.
func OrderIDLTE ¶
OrderIDLTE applies the LTE predicate on the "order_id" field.
func OrderIDNEQ ¶
OrderIDNEQ applies the NEQ predicate on the "order_id" field.
func OrderIDNotIn ¶
OrderIDNotIn applies the NotIn predicate on the "order_id" field.
func OrderIDNotNil ¶
OrderIDNotNil applies the NotNil predicate on the "order_id" field.
func OrderItemID ¶
OrderItemID applies equality check predicate on the "order_item_id" field. It's identical to OrderItemIDEQ.
func OrderItemIDEQ ¶
OrderItemIDEQ applies the EQ predicate on the "order_item_id" field.
func OrderItemIDGT ¶
OrderItemIDGT applies the GT predicate on the "order_item_id" field.
func OrderItemIDGTE ¶
OrderItemIDGTE applies the GTE predicate on the "order_item_id" field.
func OrderItemIDIn ¶
OrderItemIDIn applies the In predicate on the "order_item_id" field.
func OrderItemIDIsNil ¶
OrderItemIDIsNil applies the IsNil predicate on the "order_item_id" field.
func OrderItemIDLT ¶
OrderItemIDLT applies the LT predicate on the "order_item_id" field.
func OrderItemIDLTE ¶
OrderItemIDLTE applies the LTE predicate on the "order_item_id" field.
func OrderItemIDNEQ ¶
OrderItemIDNEQ applies the NEQ predicate on the "order_item_id" field.
func OrderItemIDNotIn ¶
OrderItemIDNotIn applies the NotIn predicate on the "order_item_id" field.
func OrderItemIDNotNil ¶
OrderItemIDNotNil applies the NotNil predicate on the "order_item_id" field.
func PicUrls ¶
PicUrls applies equality check predicate on the "pic_urls" field. It's identical to PicUrlsEQ.
func PicUrlsContains ¶
PicUrlsContains applies the Contains predicate on the "pic_urls" field.
func PicUrlsContainsFold ¶
PicUrlsContainsFold applies the ContainsFold predicate on the "pic_urls" field.
func PicUrlsEqualFold ¶
PicUrlsEqualFold applies the EqualFold predicate on the "pic_urls" field.
func PicUrlsGTE ¶
PicUrlsGTE applies the GTE predicate on the "pic_urls" field.
func PicUrlsHasPrefix ¶
PicUrlsHasPrefix applies the HasPrefix predicate on the "pic_urls" field.
func PicUrlsHasSuffix ¶
PicUrlsHasSuffix applies the HasSuffix predicate on the "pic_urls" field.
func PicUrlsIsNil ¶
PicUrlsIsNil applies the IsNil predicate on the "pic_urls" field.
func PicUrlsLTE ¶
PicUrlsLTE applies the LTE predicate on the "pic_urls" field.
func PicUrlsNEQ ¶
PicUrlsNEQ applies the NEQ predicate on the "pic_urls" field.
func PicUrlsNotIn ¶
PicUrlsNotIn applies the NotIn predicate on the "pic_urls" field.
func PicUrlsNotNil ¶
PicUrlsNotNil applies the NotNil predicate on the "pic_urls" field.
func ReplyContent ¶
ReplyContent applies equality check predicate on the "reply_content" field. It's identical to ReplyContentEQ.
func ReplyContentContains ¶
ReplyContentContains applies the Contains predicate on the "reply_content" field.
func ReplyContentContainsFold ¶
ReplyContentContainsFold applies the ContainsFold predicate on the "reply_content" field.
func ReplyContentEQ ¶
ReplyContentEQ applies the EQ predicate on the "reply_content" field.
func ReplyContentEqualFold ¶
ReplyContentEqualFold applies the EqualFold predicate on the "reply_content" field.
func ReplyContentGT ¶
ReplyContentGT applies the GT predicate on the "reply_content" field.
func ReplyContentGTE ¶
ReplyContentGTE applies the GTE predicate on the "reply_content" field.
func ReplyContentHasPrefix ¶
ReplyContentHasPrefix applies the HasPrefix predicate on the "reply_content" field.
func ReplyContentHasSuffix ¶
ReplyContentHasSuffix applies the HasSuffix predicate on the "reply_content" field.
func ReplyContentIn ¶
ReplyContentIn applies the In predicate on the "reply_content" field.
func ReplyContentIsNil ¶
ReplyContentIsNil applies the IsNil predicate on the "reply_content" field.
func ReplyContentLT ¶
ReplyContentLT applies the LT predicate on the "reply_content" field.
func ReplyContentLTE ¶
ReplyContentLTE applies the LTE predicate on the "reply_content" field.
func ReplyContentNEQ ¶
ReplyContentNEQ applies the NEQ predicate on the "reply_content" field.
func ReplyContentNotIn ¶
ReplyContentNotIn applies the NotIn predicate on the "reply_content" field.
func ReplyContentNotNil ¶
ReplyContentNotNil applies the NotNil predicate on the "reply_content" field.
func ReplyStatus ¶
ReplyStatus applies equality check predicate on the "reply_status" field. It's identical to ReplyStatusEQ.
func ReplyStatusEQ ¶
ReplyStatusEQ applies the EQ predicate on the "reply_status" field.
func ReplyStatusIsNil ¶
ReplyStatusIsNil applies the IsNil predicate on the "reply_status" field.
func ReplyStatusNEQ ¶
ReplyStatusNEQ applies the NEQ predicate on the "reply_status" field.
func ReplyStatusNotNil ¶
ReplyStatusNotNil applies the NotNil predicate on the "reply_status" field.
func ReplyTime ¶
ReplyTime applies equality check predicate on the "reply_time" field. It's identical to ReplyTimeEQ.
func ReplyTimeEQ ¶
ReplyTimeEQ applies the EQ predicate on the "reply_time" field.
func ReplyTimeGT ¶
ReplyTimeGT applies the GT predicate on the "reply_time" field.
func ReplyTimeGTE ¶
ReplyTimeGTE applies the GTE predicate on the "reply_time" field.
func ReplyTimeIn ¶
ReplyTimeIn applies the In predicate on the "reply_time" field.
func ReplyTimeIsNil ¶
ReplyTimeIsNil applies the IsNil predicate on the "reply_time" field.
func ReplyTimeLT ¶
ReplyTimeLT applies the LT predicate on the "reply_time" field.
func ReplyTimeLTE ¶
ReplyTimeLTE applies the LTE predicate on the "reply_time" field.
func ReplyTimeNEQ ¶
ReplyTimeNEQ applies the NEQ predicate on the "reply_time" field.
func ReplyTimeNotIn ¶
ReplyTimeNotIn applies the NotIn predicate on the "reply_time" field.
func ReplyTimeNotNil ¶
ReplyTimeNotNil applies the NotNil predicate on the "reply_time" field.
func ReplyUserID ¶
ReplyUserID applies equality check predicate on the "reply_user_id" field. It's identical to ReplyUserIDEQ.
func ReplyUserIDEQ ¶
ReplyUserIDEQ applies the EQ predicate on the "reply_user_id" field.
func ReplyUserIDGT ¶
ReplyUserIDGT applies the GT predicate on the "reply_user_id" field.
func ReplyUserIDGTE ¶
ReplyUserIDGTE applies the GTE predicate on the "reply_user_id" field.
func ReplyUserIDIn ¶
ReplyUserIDIn applies the In predicate on the "reply_user_id" field.
func ReplyUserIDIsNil ¶
ReplyUserIDIsNil applies the IsNil predicate on the "reply_user_id" field.
func ReplyUserIDLT ¶
ReplyUserIDLT applies the LT predicate on the "reply_user_id" field.
func ReplyUserIDLTE ¶
ReplyUserIDLTE applies the LTE predicate on the "reply_user_id" field.
func ReplyUserIDNEQ ¶
ReplyUserIDNEQ applies the NEQ predicate on the "reply_user_id" field.
func ReplyUserIDNotIn ¶
ReplyUserIDNotIn applies the NotIn predicate on the "reply_user_id" field.
func ReplyUserIDNotNil ¶
ReplyUserIDNotNil applies the NotNil predicate on the "reply_user_id" field.
func Scores ¶
Scores applies equality check predicate on the "scores" field. It's identical to ScoresEQ.
func ScoresIsNil ¶
ScoresIsNil applies the IsNil predicate on the "scores" field.
func ScoresNotIn ¶
ScoresNotIn applies the NotIn predicate on the "scores" field.
func ScoresNotNil ¶
ScoresNotNil applies the NotNil predicate on the "scores" field.
func SkuID ¶
SkuID applies equality check predicate on the "sku_id" field. It's identical to SkuIDEQ.
func SkuIDIsNil ¶
SkuIDIsNil applies the IsNil predicate on the "sku_id" field.
func SkuIDNotIn ¶
SkuIDNotIn applies the NotIn predicate on the "sku_id" field.
func SkuIDNotNil ¶
SkuIDNotNil applies the NotNil predicate on the "sku_id" field.
func SkuPicURL ¶
SkuPicURL applies equality check predicate on the "sku_pic_url" field. It's identical to SkuPicURLEQ.
func SkuPicURLContains ¶
SkuPicURLContains applies the Contains predicate on the "sku_pic_url" field.
func SkuPicURLContainsFold ¶
SkuPicURLContainsFold applies the ContainsFold predicate on the "sku_pic_url" field.
func SkuPicURLEQ ¶
SkuPicURLEQ applies the EQ predicate on the "sku_pic_url" field.
func SkuPicURLEqualFold ¶
SkuPicURLEqualFold applies the EqualFold predicate on the "sku_pic_url" field.
func SkuPicURLGT ¶
SkuPicURLGT applies the GT predicate on the "sku_pic_url" field.
func SkuPicURLGTE ¶
SkuPicURLGTE applies the GTE predicate on the "sku_pic_url" field.
func SkuPicURLHasPrefix ¶
SkuPicURLHasPrefix applies the HasPrefix predicate on the "sku_pic_url" field.
func SkuPicURLHasSuffix ¶
SkuPicURLHasSuffix applies the HasSuffix predicate on the "sku_pic_url" field.
func SkuPicURLIn ¶
SkuPicURLIn applies the In predicate on the "sku_pic_url" field.
func SkuPicURLLT ¶
SkuPicURLLT applies the LT predicate on the "sku_pic_url" field.
func SkuPicURLLTE ¶
SkuPicURLLTE applies the LTE predicate on the "sku_pic_url" field.
func SkuPicURLNEQ ¶
SkuPicURLNEQ applies the NEQ predicate on the "sku_pic_url" field.
func SkuPicURLNotIn ¶
SkuPicURLNotIn applies the NotIn predicate on the "sku_pic_url" field.
func SkuPropertiesIsNil ¶
SkuPropertiesIsNil applies the IsNil predicate on the "sku_properties" field.
func SkuPropertiesNotNil ¶
SkuPropertiesNotNil applies the NotNil predicate on the "sku_properties" field.
func SpuID ¶
SpuID applies equality check predicate on the "spu_id" field. It's identical to SpuIDEQ.
func SpuIDIsNil ¶
SpuIDIsNil applies the IsNil predicate on the "spu_id" field.
func SpuIDNotIn ¶
SpuIDNotIn applies the NotIn predicate on the "spu_id" field.
func SpuIDNotNil ¶
SpuIDNotNil applies the NotNil predicate on the "spu_id" field.
func SpuName ¶
SpuName applies equality check predicate on the "spu_name" field. It's identical to SpuNameEQ.
func SpuNameContains ¶
SpuNameContains applies the Contains predicate on the "spu_name" field.
func SpuNameContainsFold ¶
SpuNameContainsFold applies the ContainsFold predicate on the "spu_name" field.
func SpuNameEqualFold ¶
SpuNameEqualFold applies the EqualFold predicate on the "spu_name" field.
func SpuNameGTE ¶
SpuNameGTE applies the GTE predicate on the "spu_name" field.
func SpuNameHasPrefix ¶
SpuNameHasPrefix applies the HasPrefix predicate on the "spu_name" field.
func SpuNameHasSuffix ¶
SpuNameHasSuffix applies the HasSuffix predicate on the "spu_name" field.
func SpuNameIsNil ¶
SpuNameIsNil applies the IsNil predicate on the "spu_name" field.
func SpuNameLTE ¶
SpuNameLTE applies the LTE predicate on the "spu_name" field.
func SpuNameNEQ ¶
SpuNameNEQ applies the NEQ predicate on the "spu_name" field.
func SpuNameNotIn ¶
SpuNameNotIn applies the NotIn predicate on the "spu_name" field.
func SpuNameNotNil ¶
SpuNameNotNil applies the NotNil predicate on the "spu_name" 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 UserAvatar ¶
UserAvatar applies equality check predicate on the "user_avatar" field. It's identical to UserAvatarEQ.
func UserAvatarContains ¶
UserAvatarContains applies the Contains predicate on the "user_avatar" field.
func UserAvatarContainsFold ¶
UserAvatarContainsFold applies the ContainsFold predicate on the "user_avatar" field.
func UserAvatarEQ ¶
UserAvatarEQ applies the EQ predicate on the "user_avatar" field.
func UserAvatarEqualFold ¶
UserAvatarEqualFold applies the EqualFold predicate on the "user_avatar" field.
func UserAvatarGT ¶
UserAvatarGT applies the GT predicate on the "user_avatar" field.
func UserAvatarGTE ¶
UserAvatarGTE applies the GTE predicate on the "user_avatar" field.
func UserAvatarHasPrefix ¶
UserAvatarHasPrefix applies the HasPrefix predicate on the "user_avatar" field.
func UserAvatarHasSuffix ¶
UserAvatarHasSuffix applies the HasSuffix predicate on the "user_avatar" field.
func UserAvatarIn ¶
UserAvatarIn applies the In predicate on the "user_avatar" field.
func UserAvatarIsNil ¶
UserAvatarIsNil applies the IsNil predicate on the "user_avatar" field.
func UserAvatarLT ¶
UserAvatarLT applies the LT predicate on the "user_avatar" field.
func UserAvatarLTE ¶
UserAvatarLTE applies the LTE predicate on the "user_avatar" field.
func UserAvatarNEQ ¶
UserAvatarNEQ applies the NEQ predicate on the "user_avatar" field.
func UserAvatarNotIn ¶
UserAvatarNotIn applies the NotIn predicate on the "user_avatar" field.
func UserAvatarNotNil ¶
UserAvatarNotNil applies the NotNil predicate on the "user_avatar" 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 UserNickname ¶
UserNickname applies equality check predicate on the "user_nickname" field. It's identical to UserNicknameEQ.
func UserNicknameContains ¶
UserNicknameContains applies the Contains predicate on the "user_nickname" field.
func UserNicknameContainsFold ¶
UserNicknameContainsFold applies the ContainsFold predicate on the "user_nickname" field.
func UserNicknameEQ ¶
UserNicknameEQ applies the EQ predicate on the "user_nickname" field.
func UserNicknameEqualFold ¶
UserNicknameEqualFold applies the EqualFold predicate on the "user_nickname" field.
func UserNicknameGT ¶
UserNicknameGT applies the GT predicate on the "user_nickname" field.
func UserNicknameGTE ¶
UserNicknameGTE applies the GTE predicate on the "user_nickname" field.
func UserNicknameHasPrefix ¶
UserNicknameHasPrefix applies the HasPrefix predicate on the "user_nickname" field.
func UserNicknameHasSuffix ¶
UserNicknameHasSuffix applies the HasSuffix predicate on the "user_nickname" field.
func UserNicknameIn ¶
UserNicknameIn applies the In predicate on the "user_nickname" field.
func UserNicknameIsNil ¶
UserNicknameIsNil applies the IsNil predicate on the "user_nickname" field.
func UserNicknameLT ¶
UserNicknameLT applies the LT predicate on the "user_nickname" field.
func UserNicknameLTE ¶
UserNicknameLTE applies the LTE predicate on the "user_nickname" field.
func UserNicknameNEQ ¶
UserNicknameNEQ applies the NEQ predicate on the "user_nickname" field.
func UserNicknameNotIn ¶
UserNicknameNotIn applies the NotIn predicate on the "user_nickname" field.
func UserNicknameNotNil ¶
UserNicknameNotNil applies the NotNil predicate on the "user_nickname" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Visible ¶
Visible applies equality check predicate on the "visible" field. It's identical to VisibleEQ.
func VisibleIsNil ¶
VisibleIsNil applies the IsNil predicate on the "visible" field.
func VisibleNEQ ¶
VisibleNEQ applies the NEQ predicate on the "visible" field.
func VisibleNotNil ¶
VisibleNotNil applies the NotNil predicate on the "visible" field.
Types ¶
type OrderOption ¶
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.