user

package
v0.0.0-...-08f7c2a Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user type in the database.
	Label = "user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldUserName holds the string denoting the user_name field in the database.
	FieldUserName = "user_name"
	// FieldGivenName holds the string denoting the given_name field in the database.
	FieldGivenName = "given_name"
	// FieldFamilyName holds the string denoting the family_name field in the database.
	FieldFamilyName = "family_name"
	// FieldPhotoURL holds the string denoting the photo_url field in the database.
	FieldPhotoURL = "photo_url"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// EdgeMemos holds the string denoting the memos edge name in mutations.
	EdgeMemos = "memos"
	// EdgeSubscribingMemos holds the string denoting the subscribing_memos edge name in mutations.
	EdgeSubscribingMemos = "subscribing_memos"
	// EdgeCollaboratingMemos holds the string denoting the collaborating_memos edge name in mutations.
	EdgeCollaboratingMemos = "collaborating_memos"
	// EdgeSubscriptions holds the string denoting the subscriptions edge name in mutations.
	EdgeSubscriptions = "subscriptions"
	// EdgeCollaborations holds the string denoting the collaborations edge name in mutations.
	EdgeCollaborations = "collaborations"
	// Table holds the table name of the user in the database.
	Table = "users"
	// MemosTable is the table that holds the memos relation/edge.
	MemosTable = "memos"
	// MemosInverseTable is the table name for the Memo entity.
	// It exists in this package in order to avoid circular dependency with the "memo" package.
	MemosInverseTable = "memos"
	// MemosColumn is the table column denoting the memos relation/edge.
	MemosColumn = "owner_id"
	// SubscribingMemosTable is the table that holds the subscribing_memos relation/edge. The primary key declared below.
	SubscribingMemosTable = "subscriptions"
	// SubscribingMemosInverseTable is the table name for the Memo entity.
	// It exists in this package in order to avoid circular dependency with the "memo" package.
	SubscribingMemosInverseTable = "memos"
	// CollaboratingMemosTable is the table that holds the collaborating_memos relation/edge. The primary key declared below.
	CollaboratingMemosTable = "collaborations"
	// CollaboratingMemosInverseTable is the table name for the Memo entity.
	// It exists in this package in order to avoid circular dependency with the "memo" package.
	CollaboratingMemosInverseTable = "memos"
	// SubscriptionsTable is the table that holds the subscriptions relation/edge.
	SubscriptionsTable = "subscriptions"
	// SubscriptionsInverseTable is the table name for the Subscription entity.
	// It exists in this package in order to avoid circular dependency with the "subscription" package.
	SubscriptionsInverseTable = "subscriptions"
	// SubscriptionsColumn is the table column denoting the subscriptions relation/edge.
	SubscriptionsColumn = "user_id"
	// CollaborationsTable is the table that holds the collaborations relation/edge.
	CollaborationsTable = "collaborations"
	// CollaborationsInverseTable is the table name for the Collaboration entity.
	// It exists in this package in order to avoid circular dependency with the "collaboration" package.
	CollaborationsInverseTable = "collaborations"
	// CollaborationsColumn is the table column denoting the collaborations relation/edge.
	CollaborationsColumn = "user_id"
)
View Source
const DefaultType enum.UserType = "client"

Variables

View Source
var (
	// SubscribingMemosPrimaryKey and SubscribingMemosColumn2 are the table columns denoting the
	// primary key for the subscribing_memos relation (M2M).
	SubscribingMemosPrimaryKey = []string{"user_id", "memo_id"}
	// CollaboratingMemosPrimaryKey and CollaboratingMemosColumn2 are the table columns denoting the
	// primary key for the collaborating_memos relation (M2M).
	CollaboratingMemosPrimaryKey = []string{"user_id", "memo_id"}
)
View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// UserNameValidator is a validator for the "user_name" field. It is called by the builders before save.
	UserNameValidator func(string) error
	// GivenNameValidator is a validator for the "given_name" field. It is called by the builders before save.
	GivenNameValidator func(string) error
	// FamilyNameValidator is a validator for the "family_name" field. It is called by the builders before save.
	FamilyNameValidator func(string) error
	// PhotoURLValidator is a validator for the "photo_url" field. It is called by the builders before save.
	PhotoURLValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for user fields.

Functions

func And

func And(predicates ...predicate.User) predicate.User

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.User

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.User

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.User

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.User

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.User

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.User

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.User

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

func CreateTimeNotIn

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

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

func Email

func Email(v string) predicate.User

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.User

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.User

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.User

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.User

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.User

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.User

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.User

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.User

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.User

EmailIn applies the In predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.User

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.User

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.User

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.User

EmailNotIn applies the NotIn predicate on the "email" field.

func FamilyName

func FamilyName(v string) predicate.User

FamilyName applies equality check predicate on the "family_name" field. It's identical to FamilyNameEQ.

func FamilyNameContains

func FamilyNameContains(v string) predicate.User

FamilyNameContains applies the Contains predicate on the "family_name" field.

func FamilyNameContainsFold

func FamilyNameContainsFold(v string) predicate.User

FamilyNameContainsFold applies the ContainsFold predicate on the "family_name" field.

func FamilyNameEQ

func FamilyNameEQ(v string) predicate.User

FamilyNameEQ applies the EQ predicate on the "family_name" field.

func FamilyNameEqualFold

func FamilyNameEqualFold(v string) predicate.User

FamilyNameEqualFold applies the EqualFold predicate on the "family_name" field.

func FamilyNameGT

func FamilyNameGT(v string) predicate.User

FamilyNameGT applies the GT predicate on the "family_name" field.

func FamilyNameGTE

func FamilyNameGTE(v string) predicate.User

FamilyNameGTE applies the GTE predicate on the "family_name" field.

func FamilyNameHasPrefix

func FamilyNameHasPrefix(v string) predicate.User

FamilyNameHasPrefix applies the HasPrefix predicate on the "family_name" field.

func FamilyNameHasSuffix

func FamilyNameHasSuffix(v string) predicate.User

FamilyNameHasSuffix applies the HasSuffix predicate on the "family_name" field.

func FamilyNameIn

func FamilyNameIn(vs ...string) predicate.User

FamilyNameIn applies the In predicate on the "family_name" field.

func FamilyNameIsNil

func FamilyNameIsNil() predicate.User

FamilyNameIsNil applies the IsNil predicate on the "family_name" field.

func FamilyNameLT

func FamilyNameLT(v string) predicate.User

FamilyNameLT applies the LT predicate on the "family_name" field.

func FamilyNameLTE

func FamilyNameLTE(v string) predicate.User

FamilyNameLTE applies the LTE predicate on the "family_name" field.

func FamilyNameNEQ

func FamilyNameNEQ(v string) predicate.User

FamilyNameNEQ applies the NEQ predicate on the "family_name" field.

func FamilyNameNotIn

func FamilyNameNotIn(vs ...string) predicate.User

FamilyNameNotIn applies the NotIn predicate on the "family_name" field.

func FamilyNameNotNil

func FamilyNameNotNil() predicate.User

FamilyNameNotNil applies the NotNil predicate on the "family_name" field.

func GivenName

func GivenName(v string) predicate.User

GivenName applies equality check predicate on the "given_name" field. It's identical to GivenNameEQ.

func GivenNameContains

func GivenNameContains(v string) predicate.User

GivenNameContains applies the Contains predicate on the "given_name" field.

func GivenNameContainsFold

func GivenNameContainsFold(v string) predicate.User

GivenNameContainsFold applies the ContainsFold predicate on the "given_name" field.

func GivenNameEQ

func GivenNameEQ(v string) predicate.User

GivenNameEQ applies the EQ predicate on the "given_name" field.

func GivenNameEqualFold

func GivenNameEqualFold(v string) predicate.User

GivenNameEqualFold applies the EqualFold predicate on the "given_name" field.

func GivenNameGT

func GivenNameGT(v string) predicate.User

GivenNameGT applies the GT predicate on the "given_name" field.

func GivenNameGTE

func GivenNameGTE(v string) predicate.User

GivenNameGTE applies the GTE predicate on the "given_name" field.

func GivenNameHasPrefix

func GivenNameHasPrefix(v string) predicate.User

GivenNameHasPrefix applies the HasPrefix predicate on the "given_name" field.

func GivenNameHasSuffix

func GivenNameHasSuffix(v string) predicate.User

GivenNameHasSuffix applies the HasSuffix predicate on the "given_name" field.

func GivenNameIn

func GivenNameIn(vs ...string) predicate.User

GivenNameIn applies the In predicate on the "given_name" field.

func GivenNameIsNil

func GivenNameIsNil() predicate.User

GivenNameIsNil applies the IsNil predicate on the "given_name" field.

func GivenNameLT

func GivenNameLT(v string) predicate.User

GivenNameLT applies the LT predicate on the "given_name" field.

func GivenNameLTE

func GivenNameLTE(v string) predicate.User

GivenNameLTE applies the LTE predicate on the "given_name" field.

func GivenNameNEQ

func GivenNameNEQ(v string) predicate.User

GivenNameNEQ applies the NEQ predicate on the "given_name" field.

func GivenNameNotIn

func GivenNameNotIn(vs ...string) predicate.User

GivenNameNotIn applies the NotIn predicate on the "given_name" field.

func GivenNameNotNil

func GivenNameNotNil() predicate.User

GivenNameNotNil applies the NotNil predicate on the "given_name" field.

func HasCollaboratingMemos

func HasCollaboratingMemos() predicate.User

HasCollaboratingMemos applies the HasEdge predicate on the "collaborating_memos" edge.

func HasCollaboratingMemosWith

func HasCollaboratingMemosWith(preds ...predicate.Memo) predicate.User

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

func HasCollaborations

func HasCollaborations() predicate.User

HasCollaborations applies the HasEdge predicate on the "collaborations" edge.

func HasCollaborationsWith

func HasCollaborationsWith(preds ...predicate.Collaboration) predicate.User

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

func HasMemos

func HasMemos() predicate.User

HasMemos applies the HasEdge predicate on the "memos" edge.

func HasMemosWith

func HasMemosWith(preds ...predicate.Memo) predicate.User

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

func HasSubscribingMemos

func HasSubscribingMemos() predicate.User

HasSubscribingMemos applies the HasEdge predicate on the "subscribing_memos" edge.

func HasSubscribingMemosWith

func HasSubscribingMemosWith(preds ...predicate.Memo) predicate.User

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

func HasSubscriptions

func HasSubscriptions() predicate.User

HasSubscriptions applies the HasEdge predicate on the "subscriptions" edge.

func HasSubscriptionsWith

func HasSubscriptionsWith(preds ...predicate.Subscription) predicate.User

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

func ID

func ID(id uuid.UUID) predicate.User

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.User

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.User

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.User) predicate.User

Or groups predicates with the OR operator between them.

func PhotoURL

func PhotoURL(v string) predicate.User

PhotoURL applies equality check predicate on the "photo_url" field. It's identical to PhotoURLEQ.

func PhotoURLContains

func PhotoURLContains(v string) predicate.User

PhotoURLContains applies the Contains predicate on the "photo_url" field.

func PhotoURLContainsFold

func PhotoURLContainsFold(v string) predicate.User

PhotoURLContainsFold applies the ContainsFold predicate on the "photo_url" field.

func PhotoURLEQ

func PhotoURLEQ(v string) predicate.User

PhotoURLEQ applies the EQ predicate on the "photo_url" field.

func PhotoURLEqualFold

func PhotoURLEqualFold(v string) predicate.User

PhotoURLEqualFold applies the EqualFold predicate on the "photo_url" field.

func PhotoURLGT

func PhotoURLGT(v string) predicate.User

PhotoURLGT applies the GT predicate on the "photo_url" field.

func PhotoURLGTE

func PhotoURLGTE(v string) predicate.User

PhotoURLGTE applies the GTE predicate on the "photo_url" field.

func PhotoURLHasPrefix

func PhotoURLHasPrefix(v string) predicate.User

PhotoURLHasPrefix applies the HasPrefix predicate on the "photo_url" field.

func PhotoURLHasSuffix

func PhotoURLHasSuffix(v string) predicate.User

PhotoURLHasSuffix applies the HasSuffix predicate on the "photo_url" field.

func PhotoURLIn

func PhotoURLIn(vs ...string) predicate.User

PhotoURLIn applies the In predicate on the "photo_url" field.

func PhotoURLIsNil

func PhotoURLIsNil() predicate.User

PhotoURLIsNil applies the IsNil predicate on the "photo_url" field.

func PhotoURLLT

func PhotoURLLT(v string) predicate.User

PhotoURLLT applies the LT predicate on the "photo_url" field.

func PhotoURLLTE

func PhotoURLLTE(v string) predicate.User

PhotoURLLTE applies the LTE predicate on the "photo_url" field.

func PhotoURLNEQ

func PhotoURLNEQ(v string) predicate.User

PhotoURLNEQ applies the NEQ predicate on the "photo_url" field.

func PhotoURLNotIn

func PhotoURLNotIn(vs ...string) predicate.User

PhotoURLNotIn applies the NotIn predicate on the "photo_url" field.

func PhotoURLNotNil

func PhotoURLNotNil() predicate.User

PhotoURLNotNil applies the NotNil predicate on the "photo_url" field.

func TypeEQ

func TypeEQ(v enum.UserType) predicate.User

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...enum.UserType) predicate.User

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v enum.UserType) predicate.User

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...enum.UserType) predicate.User

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type enum.UserType) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func UpdateTime

func UpdateTime(v time.Time) predicate.User

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.User

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.User

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.User

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.User

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.User

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.User

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.User

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.User

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func UserName

func UserName(v string) predicate.User

UserName applies equality check predicate on the "user_name" field. It's identical to UserNameEQ.

func UserNameContains

func UserNameContains(v string) predicate.User

UserNameContains applies the Contains predicate on the "user_name" field.

func UserNameContainsFold

func UserNameContainsFold(v string) predicate.User

UserNameContainsFold applies the ContainsFold predicate on the "user_name" field.

func UserNameEQ

func UserNameEQ(v string) predicate.User

UserNameEQ applies the EQ predicate on the "user_name" field.

func UserNameEqualFold

func UserNameEqualFold(v string) predicate.User

UserNameEqualFold applies the EqualFold predicate on the "user_name" field.

func UserNameGT

func UserNameGT(v string) predicate.User

UserNameGT applies the GT predicate on the "user_name" field.

func UserNameGTE

func UserNameGTE(v string) predicate.User

UserNameGTE applies the GTE predicate on the "user_name" field.

func UserNameHasPrefix

func UserNameHasPrefix(v string) predicate.User

UserNameHasPrefix applies the HasPrefix predicate on the "user_name" field.

func UserNameHasSuffix

func UserNameHasSuffix(v string) predicate.User

UserNameHasSuffix applies the HasSuffix predicate on the "user_name" field.

func UserNameIn

func UserNameIn(vs ...string) predicate.User

UserNameIn applies the In predicate on the "user_name" field.

func UserNameLT

func UserNameLT(v string) predicate.User

UserNameLT applies the LT predicate on the "user_name" field.

func UserNameLTE

func UserNameLTE(v string) predicate.User

UserNameLTE applies the LTE predicate on the "user_name" field.

func UserNameNEQ

func UserNameNEQ(v string) predicate.User

UserNameNEQ applies the NEQ predicate on the "user_name" field.

func UserNameNotIn

func UserNameNotIn(vs ...string) predicate.User

UserNameNotIn applies the NotIn predicate on the "user_name" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the User queries.

func ByCollaboratingMemos

func ByCollaboratingMemos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCollaboratingMemos orders the results by collaborating_memos terms.

func ByCollaboratingMemosCount

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

ByCollaboratingMemosCount orders the results by collaborating_memos count.

func ByCollaborations

func ByCollaborations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCollaborations orders the results by collaborations terms.

func ByCollaborationsCount

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

ByCollaborationsCount orders the results by collaborations count.

func ByCreateTime

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

ByCreateTime orders the results by the create_time field.

func ByEmail

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

ByEmail orders the results by the email field.

func ByFamilyName

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

ByFamilyName orders the results by the family_name field.

func ByGivenName

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

ByGivenName orders the results by the given_name field.

func ByID

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

ByID orders the results by the id field.

func ByMemos

func ByMemos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByMemos orders the results by memos terms.

func ByMemosCount

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

ByMemosCount orders the results by memos count.

func ByPhotoURL

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

ByPhotoURL orders the results by the photo_url field.

func BySubscribingMemos

func BySubscribingMemos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySubscribingMemos orders the results by subscribing_memos terms.

func BySubscribingMemosCount

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

BySubscribingMemosCount orders the results by subscribing_memos count.

func BySubscriptions

func BySubscriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySubscriptions orders the results by subscriptions terms.

func BySubscriptionsCount

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

BySubscriptionsCount orders the results by subscriptions count.

func ByType

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

ByType orders the results by the type field.

func ByUpdateTime

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

ByUpdateTime orders the results by the update_time field.

func ByUserName

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

ByUserName orders the results by the user_name field.

Jump to

Keyboard shortcuts

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