Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Meta
- func ActiveEQ(v bool) predicate.Meta
- func ActiveNEQ(v bool) predicate.Meta
- func And(predicates ...predicate.Meta) predicate.Meta
- func ContainerTypeEQ(v ContainerType) predicate.Meta
- func ContainerTypeIn(vs ...ContainerType) predicate.Meta
- func ContainerTypeNEQ(v ContainerType) predicate.Meta
- func ContainerTypeNotIn(vs ...ContainerType) predicate.Meta
- func ContainerTypeValidator(ct ContainerType) error
- func CreateTime(v time.Time) predicate.Meta
- func CreateTimeEQ(v time.Time) predicate.Meta
- func CreateTimeGT(v time.Time) predicate.Meta
- func CreateTimeGTE(v time.Time) predicate.Meta
- func CreateTimeIn(vs ...time.Time) predicate.Meta
- func CreateTimeLT(v time.Time) predicate.Meta
- func CreateTimeLTE(v time.Time) predicate.Meta
- func CreateTimeNEQ(v time.Time) predicate.Meta
- func CreateTimeNotIn(vs ...time.Time) predicate.Meta
- func Favorite(v bool) predicate.Meta
- func FavoriteEQ(v bool) predicate.Meta
- func FavoriteNEQ(v bool) predicate.Meta
- func HasHistories() predicate.Meta
- func HasHistoriesWith(preds ...predicate.History) predicate.Meta
- func HasTags() predicate.Meta
- func HasTagsWith(preds ...predicate.Tag) predicate.Meta
- func HasUser() predicate.Meta
- func HasUserWith(preds ...predicate.User) predicate.Meta
- func Hidden(v bool) predicate.Meta
- func HiddenEQ(v bool) predicate.Meta
- func HiddenNEQ(v bool) predicate.Meta
- func ID(id int) predicate.Meta
- func IDEQ(id int) predicate.Meta
- func IDGT(id int) predicate.Meta
- func IDGTE(id int) predicate.Meta
- func IDIn(ids ...int) predicate.Meta
- func IDLT(id int) predicate.Meta
- func IDLTE(id int) predicate.Meta
- func IDNEQ(id int) predicate.Meta
- func IDNotIn(ids ...int) predicate.Meta
- func Name(v string) predicate.Meta
- func NameContains(v string) predicate.Meta
- func NameContainsFold(v string) predicate.Meta
- func NameEQ(v string) predicate.Meta
- func NameEqualFold(v string) predicate.Meta
- func NameGT(v string) predicate.Meta
- func NameGTE(v string) predicate.Meta
- func NameHasPrefix(v string) predicate.Meta
- func NameHasSuffix(v string) predicate.Meta
- func NameIn(vs ...string) predicate.Meta
- func NameLT(v string) predicate.Meta
- func NameLTE(v string) predicate.Meta
- func NameNEQ(v string) predicate.Meta
- func NameNotIn(vs ...string) predicate.Meta
- func Not(p predicate.Meta) predicate.Meta
- func Or(predicates ...predicate.Meta) predicate.Meta
- func Read(v bool) predicate.Meta
- func ReadEQ(v bool) predicate.Meta
- func ReadNEQ(v bool) predicate.Meta
- func ThumbnailHeight(v int) predicate.Meta
- func ThumbnailHeightEQ(v int) predicate.Meta
- func ThumbnailHeightGT(v int) predicate.Meta
- func ThumbnailHeightGTE(v int) predicate.Meta
- func ThumbnailHeightIn(vs ...int) predicate.Meta
- func ThumbnailHeightIsNil() predicate.Meta
- func ThumbnailHeightLT(v int) predicate.Meta
- func ThumbnailHeightLTE(v int) predicate.Meta
- func ThumbnailHeightNEQ(v int) predicate.Meta
- func ThumbnailHeightNotIn(vs ...int) predicate.Meta
- func ThumbnailHeightNotNil() predicate.Meta
- func ThumbnailIndex(v int) predicate.Meta
- func ThumbnailIndexEQ(v int) predicate.Meta
- func ThumbnailIndexGT(v int) predicate.Meta
- func ThumbnailIndexGTE(v int) predicate.Meta
- func ThumbnailIndexIn(vs ...int) predicate.Meta
- func ThumbnailIndexIsNil() predicate.Meta
- func ThumbnailIndexLT(v int) predicate.Meta
- func ThumbnailIndexLTE(v int) predicate.Meta
- func ThumbnailIndexNEQ(v int) predicate.Meta
- func ThumbnailIndexNotIn(vs ...int) predicate.Meta
- func ThumbnailIndexNotNil() predicate.Meta
- func ThumbnailWidth(v int) predicate.Meta
- func ThumbnailWidthEQ(v int) predicate.Meta
- func ThumbnailWidthGT(v int) predicate.Meta
- func ThumbnailWidthGTE(v int) predicate.Meta
- func ThumbnailWidthIn(vs ...int) predicate.Meta
- func ThumbnailWidthIsNil() predicate.Meta
- func ThumbnailWidthLT(v int) predicate.Meta
- func ThumbnailWidthLTE(v int) predicate.Meta
- func ThumbnailWidthNEQ(v int) predicate.Meta
- func ThumbnailWidthNotIn(vs ...int) predicate.Meta
- func ThumbnailWidthNotNil() predicate.Meta
- func ThumbnailX(v int) predicate.Meta
- func ThumbnailXEQ(v int) predicate.Meta
- func ThumbnailXGT(v int) predicate.Meta
- func ThumbnailXGTE(v int) predicate.Meta
- func ThumbnailXIn(vs ...int) predicate.Meta
- func ThumbnailXIsNil() predicate.Meta
- func ThumbnailXLT(v int) predicate.Meta
- func ThumbnailXLTE(v int) predicate.Meta
- func ThumbnailXNEQ(v int) predicate.Meta
- func ThumbnailXNotIn(vs ...int) predicate.Meta
- func ThumbnailXNotNil() predicate.Meta
- func ThumbnailY(v int) predicate.Meta
- func ThumbnailYEQ(v int) predicate.Meta
- func ThumbnailYGT(v int) predicate.Meta
- func ThumbnailYGTE(v int) predicate.Meta
- func ThumbnailYIn(vs ...int) predicate.Meta
- func ThumbnailYIsNil() predicate.Meta
- func ThumbnailYLT(v int) predicate.Meta
- func ThumbnailYLTE(v int) predicate.Meta
- func ThumbnailYNEQ(v int) predicate.Meta
- func ThumbnailYNotIn(vs ...int) predicate.Meta
- func ThumbnailYNotNil() predicate.Meta
- func ValidColumn(column string) bool
- type ContainerType
- type OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByContainerType(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByFavorite(opts ...sql.OrderTermOption) OrderOption
- func ByHidden(opts ...sql.OrderTermOption) OrderOption
- func ByHistories(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByHistoriesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRead(opts ...sql.OrderTermOption) OrderOption
- func ByTags(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTagsCount(opts ...sql.OrderTermOption) OrderOption
- func ByThumbnailHeight(opts ...sql.OrderTermOption) OrderOption
- func ByThumbnailIndex(opts ...sql.OrderTermOption) OrderOption
- func ByThumbnailWidth(opts ...sql.OrderTermOption) OrderOption
- func ByThumbnailX(opts ...sql.OrderTermOption) OrderOption
- func ByThumbnailY(opts ...sql.OrderTermOption) OrderOption
- func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUserCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the meta type in the database. Label = "meta" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldFavorite holds the string denoting the favorite field in the database. FieldFavorite = "favorite" // FieldFileIndices holds the string denoting the file_indices field in the database. FieldFileIndices = "file_indices" // FieldRead holds the string denoting the read field in the database. FieldRead = "read" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldHidden holds the string denoting the hidden field in the database. FieldHidden = "hidden" // FieldContainerType holds the string denoting the container_type field in the database. FieldContainerType = "container_type" // FieldThumbnailIndex holds the string denoting the thumbnail_index field in the database. FieldThumbnailIndex = "thumbnail_index" // FieldThumbnailX holds the string denoting the thumbnail_x field in the database. FieldThumbnailX = "thumbnail_x" // FieldThumbnailY holds the string denoting the thumbnail_y field in the database. FieldThumbnailY = "thumbnail_y" // FieldThumbnailWidth holds the string denoting the thumbnail_width field in the database. FieldThumbnailWidth = "thumbnail_width" // FieldThumbnailHeight holds the string denoting the thumbnail_height field in the database. FieldThumbnailHeight = "thumbnail_height" // EdgeTags holds the string denoting the tags edge name in mutations. EdgeTags = "tags" // EdgeHistories holds the string denoting the histories edge name in mutations. EdgeHistories = "histories" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the meta in the database. Table = "meta" // TagsTable is the table that holds the tags relation/edge. The primary key declared below. TagsTable = "meta_tags" // TagsInverseTable is the table name for the Tag entity. // It exists in this package in order to avoid circular dependency with the "tag" package. TagsInverseTable = "tags" // HistoriesTable is the table that holds the histories relation/edge. HistoriesTable = "histories" // HistoriesInverseTable is the table name for the History entity. // It exists in this package in order to avoid circular dependency with the "history" package. HistoriesInverseTable = "histories" // HistoriesColumn is the table column denoting the histories relation/edge. HistoriesColumn = "meta_histories" // UserTable is the table that holds the user relation/edge. The primary key declared below. UserTable = "user_favorite_items" // 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" )
const DefaultContainerType = ContainerTypeZip
ContainerTypeZip is the default value of the ContainerType enum.
Variables ¶
var ( // TagsPrimaryKey and TagsColumn2 are the table columns denoting the // primary key for the tags relation (M2M). TagsPrimaryKey = []string{"meta_id", "tag_id"} // UserPrimaryKey and UserColumn2 are the table columns denoting the // primary key for the user relation (M2M). UserPrimaryKey = []string{"user_id", "meta_id"} )
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultFavorite holds the default value on creation for the "favorite" field. DefaultFavorite bool // DefaultFileIndices holds the default value on creation for the "file_indices" field. DefaultFileIndices []int // DefaultRead holds the default value on creation for the "read" field. DefaultRead bool // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // DefaultHidden holds the default value on creation for the "hidden" field. DefaultHidden bool // DefaultThumbnailIndex holds the default value on creation for the "thumbnail_index" field. DefaultThumbnailIndex int // DefaultThumbnailX holds the default value on creation for the "thumbnail_x" field. DefaultThumbnailX int // DefaultThumbnailY holds the default value on creation for the "thumbnail_y" field. DefaultThumbnailY int // DefaultThumbnailWidth holds the default value on creation for the "thumbnail_width" field. DefaultThumbnailWidth int // DefaultThumbnailHeight holds the default value on creation for the "thumbnail_height" field. DefaultThumbnailHeight int )
var Columns = []string{ FieldID, FieldName, FieldCreateTime, FieldFavorite, FieldFileIndices, FieldRead, FieldActive, FieldHidden, FieldContainerType, FieldThumbnailIndex, FieldThumbnailX, FieldThumbnailY, FieldThumbnailWidth, FieldThumbnailHeight, }
Columns holds all SQL columns for meta fields.
Functions ¶
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ContainerTypeEQ ¶
func ContainerTypeEQ(v ContainerType) predicate.Meta
ContainerTypeEQ applies the EQ predicate on the "container_type" field.
func ContainerTypeIn ¶
func ContainerTypeIn(vs ...ContainerType) predicate.Meta
ContainerTypeIn applies the In predicate on the "container_type" field.
func ContainerTypeNEQ ¶
func ContainerTypeNEQ(v ContainerType) predicate.Meta
ContainerTypeNEQ applies the NEQ predicate on the "container_type" field.
func ContainerTypeNotIn ¶
func ContainerTypeNotIn(vs ...ContainerType) predicate.Meta
ContainerTypeNotIn applies the NotIn predicate on the "container_type" field.
func ContainerTypeValidator ¶
func ContainerTypeValidator(ct ContainerType) error
ContainerTypeValidator is a validator for the "container_type" field enum values. It is called by the builders before save.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Favorite ¶
Favorite applies equality check predicate on the "favorite" field. It's identical to FavoriteEQ.
func FavoriteEQ ¶
FavoriteEQ applies the EQ predicate on the "favorite" field.
func FavoriteNEQ ¶
FavoriteNEQ applies the NEQ predicate on the "favorite" field.
func HasHistories ¶
HasHistories applies the HasEdge predicate on the "histories" edge.
func HasHistoriesWith ¶
HasHistoriesWith applies the HasEdge predicate on the "histories" edge with a given conditions (other predicates).
func HasTagsWith ¶
HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func Hidden ¶
Hidden applies equality check predicate on the "hidden" field. It's identical to HiddenEQ.
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 ThumbnailHeight ¶
ThumbnailHeight applies equality check predicate on the "thumbnail_height" field. It's identical to ThumbnailHeightEQ.
func ThumbnailHeightEQ ¶
ThumbnailHeightEQ applies the EQ predicate on the "thumbnail_height" field.
func ThumbnailHeightGT ¶
ThumbnailHeightGT applies the GT predicate on the "thumbnail_height" field.
func ThumbnailHeightGTE ¶
ThumbnailHeightGTE applies the GTE predicate on the "thumbnail_height" field.
func ThumbnailHeightIn ¶
ThumbnailHeightIn applies the In predicate on the "thumbnail_height" field.
func ThumbnailHeightIsNil ¶
ThumbnailHeightIsNil applies the IsNil predicate on the "thumbnail_height" field.
func ThumbnailHeightLT ¶
ThumbnailHeightLT applies the LT predicate on the "thumbnail_height" field.
func ThumbnailHeightLTE ¶
ThumbnailHeightLTE applies the LTE predicate on the "thumbnail_height" field.
func ThumbnailHeightNEQ ¶
ThumbnailHeightNEQ applies the NEQ predicate on the "thumbnail_height" field.
func ThumbnailHeightNotIn ¶
ThumbnailHeightNotIn applies the NotIn predicate on the "thumbnail_height" field.
func ThumbnailHeightNotNil ¶
ThumbnailHeightNotNil applies the NotNil predicate on the "thumbnail_height" field.
func ThumbnailIndex ¶
ThumbnailIndex applies equality check predicate on the "thumbnail_index" field. It's identical to ThumbnailIndexEQ.
func ThumbnailIndexEQ ¶
ThumbnailIndexEQ applies the EQ predicate on the "thumbnail_index" field.
func ThumbnailIndexGT ¶
ThumbnailIndexGT applies the GT predicate on the "thumbnail_index" field.
func ThumbnailIndexGTE ¶
ThumbnailIndexGTE applies the GTE predicate on the "thumbnail_index" field.
func ThumbnailIndexIn ¶
ThumbnailIndexIn applies the In predicate on the "thumbnail_index" field.
func ThumbnailIndexIsNil ¶
ThumbnailIndexIsNil applies the IsNil predicate on the "thumbnail_index" field.
func ThumbnailIndexLT ¶
ThumbnailIndexLT applies the LT predicate on the "thumbnail_index" field.
func ThumbnailIndexLTE ¶
ThumbnailIndexLTE applies the LTE predicate on the "thumbnail_index" field.
func ThumbnailIndexNEQ ¶
ThumbnailIndexNEQ applies the NEQ predicate on the "thumbnail_index" field.
func ThumbnailIndexNotIn ¶
ThumbnailIndexNotIn applies the NotIn predicate on the "thumbnail_index" field.
func ThumbnailIndexNotNil ¶
ThumbnailIndexNotNil applies the NotNil predicate on the "thumbnail_index" field.
func ThumbnailWidth ¶
ThumbnailWidth applies equality check predicate on the "thumbnail_width" field. It's identical to ThumbnailWidthEQ.
func ThumbnailWidthEQ ¶
ThumbnailWidthEQ applies the EQ predicate on the "thumbnail_width" field.
func ThumbnailWidthGT ¶
ThumbnailWidthGT applies the GT predicate on the "thumbnail_width" field.
func ThumbnailWidthGTE ¶
ThumbnailWidthGTE applies the GTE predicate on the "thumbnail_width" field.
func ThumbnailWidthIn ¶
ThumbnailWidthIn applies the In predicate on the "thumbnail_width" field.
func ThumbnailWidthIsNil ¶
ThumbnailWidthIsNil applies the IsNil predicate on the "thumbnail_width" field.
func ThumbnailWidthLT ¶
ThumbnailWidthLT applies the LT predicate on the "thumbnail_width" field.
func ThumbnailWidthLTE ¶
ThumbnailWidthLTE applies the LTE predicate on the "thumbnail_width" field.
func ThumbnailWidthNEQ ¶
ThumbnailWidthNEQ applies the NEQ predicate on the "thumbnail_width" field.
func ThumbnailWidthNotIn ¶
ThumbnailWidthNotIn applies the NotIn predicate on the "thumbnail_width" field.
func ThumbnailWidthNotNil ¶
ThumbnailWidthNotNil applies the NotNil predicate on the "thumbnail_width" field.
func ThumbnailX ¶
ThumbnailX applies equality check predicate on the "thumbnail_x" field. It's identical to ThumbnailXEQ.
func ThumbnailXEQ ¶
ThumbnailXEQ applies the EQ predicate on the "thumbnail_x" field.
func ThumbnailXGT ¶
ThumbnailXGT applies the GT predicate on the "thumbnail_x" field.
func ThumbnailXGTE ¶
ThumbnailXGTE applies the GTE predicate on the "thumbnail_x" field.
func ThumbnailXIn ¶
ThumbnailXIn applies the In predicate on the "thumbnail_x" field.
func ThumbnailXIsNil ¶
ThumbnailXIsNil applies the IsNil predicate on the "thumbnail_x" field.
func ThumbnailXLT ¶
ThumbnailXLT applies the LT predicate on the "thumbnail_x" field.
func ThumbnailXLTE ¶
ThumbnailXLTE applies the LTE predicate on the "thumbnail_x" field.
func ThumbnailXNEQ ¶
ThumbnailXNEQ applies the NEQ predicate on the "thumbnail_x" field.
func ThumbnailXNotIn ¶
ThumbnailXNotIn applies the NotIn predicate on the "thumbnail_x" field.
func ThumbnailXNotNil ¶
ThumbnailXNotNil applies the NotNil predicate on the "thumbnail_x" field.
func ThumbnailY ¶
ThumbnailY applies equality check predicate on the "thumbnail_y" field. It's identical to ThumbnailYEQ.
func ThumbnailYEQ ¶
ThumbnailYEQ applies the EQ predicate on the "thumbnail_y" field.
func ThumbnailYGT ¶
ThumbnailYGT applies the GT predicate on the "thumbnail_y" field.
func ThumbnailYGTE ¶
ThumbnailYGTE applies the GTE predicate on the "thumbnail_y" field.
func ThumbnailYIn ¶
ThumbnailYIn applies the In predicate on the "thumbnail_y" field.
func ThumbnailYIsNil ¶
ThumbnailYIsNil applies the IsNil predicate on the "thumbnail_y" field.
func ThumbnailYLT ¶
ThumbnailYLT applies the LT predicate on the "thumbnail_y" field.
func ThumbnailYLTE ¶
ThumbnailYLTE applies the LTE predicate on the "thumbnail_y" field.
func ThumbnailYNEQ ¶
ThumbnailYNEQ applies the NEQ predicate on the "thumbnail_y" field.
func ThumbnailYNotIn ¶
ThumbnailYNotIn applies the NotIn predicate on the "thumbnail_y" field.
func ThumbnailYNotNil ¶
ThumbnailYNotNil applies the NotNil predicate on the "thumbnail_y" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type ContainerType ¶
type ContainerType string
ContainerType defines the type for the "container_type" enum field.
const ( ContainerTypeZip ContainerType = "zip" ContainerTypeDirectory ContainerType = "directory" )
ContainerType values.
func (ContainerType) String ¶
func (ct ContainerType) String() string
type OrderOption ¶
OrderOption defines the ordering options for the Meta queries.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByContainerType ¶
func ByContainerType(opts ...sql.OrderTermOption) OrderOption
ByContainerType orders the results by the container_type field.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByFavorite ¶
func ByFavorite(opts ...sql.OrderTermOption) OrderOption
ByFavorite orders the results by the favorite field.
func ByHidden ¶
func ByHidden(opts ...sql.OrderTermOption) OrderOption
ByHidden orders the results by the hidden field.
func ByHistories ¶
func ByHistories(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByHistories orders the results by histories terms.
func ByHistoriesCount ¶
func ByHistoriesCount(opts ...sql.OrderTermOption) OrderOption
ByHistoriesCount orders the results by histories count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRead ¶
func ByRead(opts ...sql.OrderTermOption) OrderOption
ByRead orders the results by the read field.
func ByTags ¶
func ByTags(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTags orders the results by tags terms.
func ByTagsCount ¶
func ByTagsCount(opts ...sql.OrderTermOption) OrderOption
ByTagsCount orders the results by tags count.
func ByThumbnailHeight ¶
func ByThumbnailHeight(opts ...sql.OrderTermOption) OrderOption
ByThumbnailHeight orders the results by the thumbnail_height field.
func ByThumbnailIndex ¶
func ByThumbnailIndex(opts ...sql.OrderTermOption) OrderOption
ByThumbnailIndex orders the results by the thumbnail_index field.
func ByThumbnailWidth ¶
func ByThumbnailWidth(opts ...sql.OrderTermOption) OrderOption
ByThumbnailWidth orders the results by the thumbnail_width field.
func ByThumbnailX ¶
func ByThumbnailX(opts ...sql.OrderTermOption) OrderOption
ByThumbnailX orders the results by the thumbnail_x field.
func ByThumbnailY ¶
func ByThumbnailY(opts ...sql.OrderTermOption) OrderOption
ByThumbnailY orders the results by the thumbnail_y field.
func ByUser ¶
func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUser orders the results by user terms.
func ByUserCount ¶
func ByUserCount(opts ...sql.OrderTermOption) OrderOption
ByUserCount orders the results by user count.