meta

package
v0.0.0-...-47c950a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const DefaultContainerType = ContainerTypeZip

ContainerTypeZip is the default value of the ContainerType enum.

Variables

View Source
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"}
)
View Source
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
)

Columns holds all SQL columns for meta fields.

Functions

func Active

func Active(v bool) predicate.Meta

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v bool) predicate.Meta

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.Meta

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

func And(predicates ...predicate.Meta) predicate.Meta

And groups predicates with the AND operator between them.

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

func CreateTime(v time.Time) predicate.Meta

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Meta

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Meta

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Meta

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.Meta

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Meta

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Meta

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Meta

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.Meta

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Favorite

func Favorite(v bool) predicate.Meta

Favorite applies equality check predicate on the "favorite" field. It's identical to FavoriteEQ.

func FavoriteEQ

func FavoriteEQ(v bool) predicate.Meta

FavoriteEQ applies the EQ predicate on the "favorite" field.

func FavoriteNEQ

func FavoriteNEQ(v bool) predicate.Meta

FavoriteNEQ applies the NEQ predicate on the "favorite" field.

func HasHistories

func HasHistories() predicate.Meta

HasHistories applies the HasEdge predicate on the "histories" edge.

func HasHistoriesWith

func HasHistoriesWith(preds ...predicate.History) predicate.Meta

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

func HasTags

func HasTags() predicate.Meta

HasTags applies the HasEdge predicate on the "tags" edge.

func HasTagsWith

func HasTagsWith(preds ...predicate.Tag) predicate.Meta

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

func HasUser

func HasUser() predicate.Meta

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Meta

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

func Hidden

func Hidden(v bool) predicate.Meta

Hidden applies equality check predicate on the "hidden" field. It's identical to HiddenEQ.

func HiddenEQ

func HiddenEQ(v bool) predicate.Meta

HiddenEQ applies the EQ predicate on the "hidden" field.

func HiddenNEQ

func HiddenNEQ(v bool) predicate.Meta

HiddenNEQ applies the NEQ predicate on the "hidden" field.

func ID

func ID(id int) predicate.Meta

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Meta

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Meta

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Meta

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Meta

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Meta

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Meta

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Meta

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Meta

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Meta

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Meta

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Meta

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Meta

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Meta

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Meta

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Meta

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Meta

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Meta

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Meta

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Meta

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Meta

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Meta

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Meta

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Meta) predicate.Meta

Or groups predicates with the OR operator between them.

func Read

func Read(v bool) predicate.Meta

Read applies equality check predicate on the "read" field. It's identical to ReadEQ.

func ReadEQ

func ReadEQ(v bool) predicate.Meta

ReadEQ applies the EQ predicate on the "read" field.

func ReadNEQ

func ReadNEQ(v bool) predicate.Meta

ReadNEQ applies the NEQ predicate on the "read" field.

func ThumbnailHeight

func ThumbnailHeight(v int) predicate.Meta

ThumbnailHeight applies equality check predicate on the "thumbnail_height" field. It's identical to ThumbnailHeightEQ.

func ThumbnailHeightEQ

func ThumbnailHeightEQ(v int) predicate.Meta

ThumbnailHeightEQ applies the EQ predicate on the "thumbnail_height" field.

func ThumbnailHeightGT

func ThumbnailHeightGT(v int) predicate.Meta

ThumbnailHeightGT applies the GT predicate on the "thumbnail_height" field.

func ThumbnailHeightGTE

func ThumbnailHeightGTE(v int) predicate.Meta

ThumbnailHeightGTE applies the GTE predicate on the "thumbnail_height" field.

func ThumbnailHeightIn

func ThumbnailHeightIn(vs ...int) predicate.Meta

ThumbnailHeightIn applies the In predicate on the "thumbnail_height" field.

func ThumbnailHeightIsNil

func ThumbnailHeightIsNil() predicate.Meta

ThumbnailHeightIsNil applies the IsNil predicate on the "thumbnail_height" field.

func ThumbnailHeightLT

func ThumbnailHeightLT(v int) predicate.Meta

ThumbnailHeightLT applies the LT predicate on the "thumbnail_height" field.

func ThumbnailHeightLTE

func ThumbnailHeightLTE(v int) predicate.Meta

ThumbnailHeightLTE applies the LTE predicate on the "thumbnail_height" field.

func ThumbnailHeightNEQ

func ThumbnailHeightNEQ(v int) predicate.Meta

ThumbnailHeightNEQ applies the NEQ predicate on the "thumbnail_height" field.

func ThumbnailHeightNotIn

func ThumbnailHeightNotIn(vs ...int) predicate.Meta

ThumbnailHeightNotIn applies the NotIn predicate on the "thumbnail_height" field.

func ThumbnailHeightNotNil

func ThumbnailHeightNotNil() predicate.Meta

ThumbnailHeightNotNil applies the NotNil predicate on the "thumbnail_height" field.

func ThumbnailIndex

func ThumbnailIndex(v int) predicate.Meta

ThumbnailIndex applies equality check predicate on the "thumbnail_index" field. It's identical to ThumbnailIndexEQ.

func ThumbnailIndexEQ

func ThumbnailIndexEQ(v int) predicate.Meta

ThumbnailIndexEQ applies the EQ predicate on the "thumbnail_index" field.

func ThumbnailIndexGT

func ThumbnailIndexGT(v int) predicate.Meta

ThumbnailIndexGT applies the GT predicate on the "thumbnail_index" field.

func ThumbnailIndexGTE

func ThumbnailIndexGTE(v int) predicate.Meta

ThumbnailIndexGTE applies the GTE predicate on the "thumbnail_index" field.

func ThumbnailIndexIn

func ThumbnailIndexIn(vs ...int) predicate.Meta

ThumbnailIndexIn applies the In predicate on the "thumbnail_index" field.

func ThumbnailIndexIsNil

func ThumbnailIndexIsNil() predicate.Meta

ThumbnailIndexIsNil applies the IsNil predicate on the "thumbnail_index" field.

func ThumbnailIndexLT

func ThumbnailIndexLT(v int) predicate.Meta

ThumbnailIndexLT applies the LT predicate on the "thumbnail_index" field.

func ThumbnailIndexLTE

func ThumbnailIndexLTE(v int) predicate.Meta

ThumbnailIndexLTE applies the LTE predicate on the "thumbnail_index" field.

func ThumbnailIndexNEQ

func ThumbnailIndexNEQ(v int) predicate.Meta

ThumbnailIndexNEQ applies the NEQ predicate on the "thumbnail_index" field.

func ThumbnailIndexNotIn

func ThumbnailIndexNotIn(vs ...int) predicate.Meta

ThumbnailIndexNotIn applies the NotIn predicate on the "thumbnail_index" field.

func ThumbnailIndexNotNil

func ThumbnailIndexNotNil() predicate.Meta

ThumbnailIndexNotNil applies the NotNil predicate on the "thumbnail_index" field.

func ThumbnailWidth

func ThumbnailWidth(v int) predicate.Meta

ThumbnailWidth applies equality check predicate on the "thumbnail_width" field. It's identical to ThumbnailWidthEQ.

func ThumbnailWidthEQ

func ThumbnailWidthEQ(v int) predicate.Meta

ThumbnailWidthEQ applies the EQ predicate on the "thumbnail_width" field.

func ThumbnailWidthGT

func ThumbnailWidthGT(v int) predicate.Meta

ThumbnailWidthGT applies the GT predicate on the "thumbnail_width" field.

func ThumbnailWidthGTE

func ThumbnailWidthGTE(v int) predicate.Meta

ThumbnailWidthGTE applies the GTE predicate on the "thumbnail_width" field.

func ThumbnailWidthIn

func ThumbnailWidthIn(vs ...int) predicate.Meta

ThumbnailWidthIn applies the In predicate on the "thumbnail_width" field.

func ThumbnailWidthIsNil

func ThumbnailWidthIsNil() predicate.Meta

ThumbnailWidthIsNil applies the IsNil predicate on the "thumbnail_width" field.

func ThumbnailWidthLT

func ThumbnailWidthLT(v int) predicate.Meta

ThumbnailWidthLT applies the LT predicate on the "thumbnail_width" field.

func ThumbnailWidthLTE

func ThumbnailWidthLTE(v int) predicate.Meta

ThumbnailWidthLTE applies the LTE predicate on the "thumbnail_width" field.

func ThumbnailWidthNEQ

func ThumbnailWidthNEQ(v int) predicate.Meta

ThumbnailWidthNEQ applies the NEQ predicate on the "thumbnail_width" field.

func ThumbnailWidthNotIn

func ThumbnailWidthNotIn(vs ...int) predicate.Meta

ThumbnailWidthNotIn applies the NotIn predicate on the "thumbnail_width" field.

func ThumbnailWidthNotNil

func ThumbnailWidthNotNil() predicate.Meta

ThumbnailWidthNotNil applies the NotNil predicate on the "thumbnail_width" field.

func ThumbnailX

func ThumbnailX(v int) predicate.Meta

ThumbnailX applies equality check predicate on the "thumbnail_x" field. It's identical to ThumbnailXEQ.

func ThumbnailXEQ

func ThumbnailXEQ(v int) predicate.Meta

ThumbnailXEQ applies the EQ predicate on the "thumbnail_x" field.

func ThumbnailXGT

func ThumbnailXGT(v int) predicate.Meta

ThumbnailXGT applies the GT predicate on the "thumbnail_x" field.

func ThumbnailXGTE

func ThumbnailXGTE(v int) predicate.Meta

ThumbnailXGTE applies the GTE predicate on the "thumbnail_x" field.

func ThumbnailXIn

func ThumbnailXIn(vs ...int) predicate.Meta

ThumbnailXIn applies the In predicate on the "thumbnail_x" field.

func ThumbnailXIsNil

func ThumbnailXIsNil() predicate.Meta

ThumbnailXIsNil applies the IsNil predicate on the "thumbnail_x" field.

func ThumbnailXLT

func ThumbnailXLT(v int) predicate.Meta

ThumbnailXLT applies the LT predicate on the "thumbnail_x" field.

func ThumbnailXLTE

func ThumbnailXLTE(v int) predicate.Meta

ThumbnailXLTE applies the LTE predicate on the "thumbnail_x" field.

func ThumbnailXNEQ

func ThumbnailXNEQ(v int) predicate.Meta

ThumbnailXNEQ applies the NEQ predicate on the "thumbnail_x" field.

func ThumbnailXNotIn

func ThumbnailXNotIn(vs ...int) predicate.Meta

ThumbnailXNotIn applies the NotIn predicate on the "thumbnail_x" field.

func ThumbnailXNotNil

func ThumbnailXNotNil() predicate.Meta

ThumbnailXNotNil applies the NotNil predicate on the "thumbnail_x" field.

func ThumbnailY

func ThumbnailY(v int) predicate.Meta

ThumbnailY applies equality check predicate on the "thumbnail_y" field. It's identical to ThumbnailYEQ.

func ThumbnailYEQ

func ThumbnailYEQ(v int) predicate.Meta

ThumbnailYEQ applies the EQ predicate on the "thumbnail_y" field.

func ThumbnailYGT

func ThumbnailYGT(v int) predicate.Meta

ThumbnailYGT applies the GT predicate on the "thumbnail_y" field.

func ThumbnailYGTE

func ThumbnailYGTE(v int) predicate.Meta

ThumbnailYGTE applies the GTE predicate on the "thumbnail_y" field.

func ThumbnailYIn

func ThumbnailYIn(vs ...int) predicate.Meta

ThumbnailYIn applies the In predicate on the "thumbnail_y" field.

func ThumbnailYIsNil

func ThumbnailYIsNil() predicate.Meta

ThumbnailYIsNil applies the IsNil predicate on the "thumbnail_y" field.

func ThumbnailYLT

func ThumbnailYLT(v int) predicate.Meta

ThumbnailYLT applies the LT predicate on the "thumbnail_y" field.

func ThumbnailYLTE

func ThumbnailYLTE(v int) predicate.Meta

ThumbnailYLTE applies the LTE predicate on the "thumbnail_y" field.

func ThumbnailYNEQ

func ThumbnailYNEQ(v int) predicate.Meta

ThumbnailYNEQ applies the NEQ predicate on the "thumbnail_y" field.

func ThumbnailYNotIn

func ThumbnailYNotIn(vs ...int) predicate.Meta

ThumbnailYNotIn applies the NotIn predicate on the "thumbnail_y" field.

func ThumbnailYNotNil

func ThumbnailYNotNil() predicate.Meta

ThumbnailYNotNil applies the NotNil predicate on the "thumbnail_y" field.

func ValidColumn

func ValidColumn(column string) bool

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

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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