Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func CreateTime(v time.Time) predicate.User
- func CreateTimeEQ(v time.Time) predicate.User
- func CreateTimeGT(v time.Time) predicate.User
- func CreateTimeGTE(v time.Time) predicate.User
- func CreateTimeIn(vs ...time.Time) predicate.User
- func CreateTimeLT(v time.Time) predicate.User
- func CreateTimeLTE(v time.Time) predicate.User
- func CreateTimeNEQ(v time.Time) predicate.User
- func CreateTimeNotIn(vs ...time.Time) predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func FamilyName(v string) predicate.User
- func FamilyNameContains(v string) predicate.User
- func FamilyNameContainsFold(v string) predicate.User
- func FamilyNameEQ(v string) predicate.User
- func FamilyNameEqualFold(v string) predicate.User
- func FamilyNameGT(v string) predicate.User
- func FamilyNameGTE(v string) predicate.User
- func FamilyNameHasPrefix(v string) predicate.User
- func FamilyNameHasSuffix(v string) predicate.User
- func FamilyNameIn(vs ...string) predicate.User
- func FamilyNameIsNil() predicate.User
- func FamilyNameLT(v string) predicate.User
- func FamilyNameLTE(v string) predicate.User
- func FamilyNameNEQ(v string) predicate.User
- func FamilyNameNotIn(vs ...string) predicate.User
- func FamilyNameNotNil() predicate.User
- func GivenName(v string) predicate.User
- func GivenNameContains(v string) predicate.User
- func GivenNameContainsFold(v string) predicate.User
- func GivenNameEQ(v string) predicate.User
- func GivenNameEqualFold(v string) predicate.User
- func GivenNameGT(v string) predicate.User
- func GivenNameGTE(v string) predicate.User
- func GivenNameHasPrefix(v string) predicate.User
- func GivenNameHasSuffix(v string) predicate.User
- func GivenNameIn(vs ...string) predicate.User
- func GivenNameIsNil() predicate.User
- func GivenNameLT(v string) predicate.User
- func GivenNameLTE(v string) predicate.User
- func GivenNameNEQ(v string) predicate.User
- func GivenNameNotIn(vs ...string) predicate.User
- func GivenNameNotNil() predicate.User
- func HasCollaboratingMemos() predicate.User
- func HasCollaboratingMemosWith(preds ...predicate.Memo) predicate.User
- func HasCollaborations() predicate.User
- func HasCollaborationsWith(preds ...predicate.Collaboration) predicate.User
- func HasMemos() predicate.User
- func HasMemosWith(preds ...predicate.Memo) predicate.User
- func HasSubscribingMemos() predicate.User
- func HasSubscribingMemosWith(preds ...predicate.Memo) predicate.User
- func HasSubscriptions() predicate.User
- func HasSubscriptionsWith(preds ...predicate.Subscription) predicate.User
- func ID(id uuid.UUID) predicate.User
- func IDEQ(id uuid.UUID) predicate.User
- func IDGT(id uuid.UUID) predicate.User
- func IDGTE(id uuid.UUID) predicate.User
- func IDIn(ids ...uuid.UUID) predicate.User
- func IDLT(id uuid.UUID) predicate.User
- func IDLTE(id uuid.UUID) predicate.User
- func IDNEQ(id uuid.UUID) predicate.User
- func IDNotIn(ids ...uuid.UUID) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func PhotoURL(v string) predicate.User
- func PhotoURLContains(v string) predicate.User
- func PhotoURLContainsFold(v string) predicate.User
- func PhotoURLEQ(v string) predicate.User
- func PhotoURLEqualFold(v string) predicate.User
- func PhotoURLGT(v string) predicate.User
- func PhotoURLGTE(v string) predicate.User
- func PhotoURLHasPrefix(v string) predicate.User
- func PhotoURLHasSuffix(v string) predicate.User
- func PhotoURLIn(vs ...string) predicate.User
- func PhotoURLIsNil() predicate.User
- func PhotoURLLT(v string) predicate.User
- func PhotoURLLTE(v string) predicate.User
- func PhotoURLNEQ(v string) predicate.User
- func PhotoURLNotIn(vs ...string) predicate.User
- func PhotoURLNotNil() predicate.User
- func TypeEQ(v enum.UserType) predicate.User
- func TypeIn(vs ...enum.UserType) predicate.User
- func TypeNEQ(v enum.UserType) predicate.User
- func TypeNotIn(vs ...enum.UserType) predicate.User
- func TypeValidator(_type enum.UserType) error
- func UpdateTime(v time.Time) predicate.User
- func UpdateTimeEQ(v time.Time) predicate.User
- func UpdateTimeGT(v time.Time) predicate.User
- func UpdateTimeGTE(v time.Time) predicate.User
- func UpdateTimeIn(vs ...time.Time) predicate.User
- func UpdateTimeLT(v time.Time) predicate.User
- func UpdateTimeLTE(v time.Time) predicate.User
- func UpdateTimeNEQ(v time.Time) predicate.User
- func UpdateTimeNotIn(vs ...time.Time) predicate.User
- func UserName(v string) predicate.User
- func UserNameContains(v string) predicate.User
- func UserNameContainsFold(v string) predicate.User
- func UserNameEQ(v string) predicate.User
- func UserNameEqualFold(v string) predicate.User
- func UserNameGT(v string) predicate.User
- func UserNameGTE(v string) predicate.User
- func UserNameHasPrefix(v string) predicate.User
- func UserNameHasSuffix(v string) predicate.User
- func UserNameIn(vs ...string) predicate.User
- func UserNameLT(v string) predicate.User
- func UserNameLTE(v string) predicate.User
- func UserNameNEQ(v string) predicate.User
- func UserNameNotIn(vs ...string) predicate.User
- func ValidColumn(column string) bool
- type OrderOption
- func ByCollaboratingMemos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCollaboratingMemosCount(opts ...sql.OrderTermOption) OrderOption
- func ByCollaborations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCollaborationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByFamilyName(opts ...sql.OrderTermOption) OrderOption
- func ByGivenName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMemos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMemosCount(opts ...sql.OrderTermOption) OrderOption
- func ByPhotoURL(opts ...sql.OrderTermOption) OrderOption
- func BySubscribingMemos(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubscribingMemosCount(opts ...sql.OrderTermOption) OrderOption
- func BySubscriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubscriptionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
- func ByUserName(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" )
const DefaultType enum.UserType = "client"
Variables ¶
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"} )
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 )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldEmail, FieldUserName, FieldGivenName, FieldFamilyName, FieldPhotoURL, FieldType, }
Columns holds all SQL columns for user fields.
Functions ¶
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 Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func FamilyName ¶
FamilyName applies equality check predicate on the "family_name" field. It's identical to FamilyNameEQ.
func FamilyNameContains ¶
FamilyNameContains applies the Contains predicate on the "family_name" field.
func FamilyNameContainsFold ¶
FamilyNameContainsFold applies the ContainsFold predicate on the "family_name" field.
func FamilyNameEQ ¶
FamilyNameEQ applies the EQ predicate on the "family_name" field.
func FamilyNameEqualFold ¶
FamilyNameEqualFold applies the EqualFold predicate on the "family_name" field.
func FamilyNameGT ¶
FamilyNameGT applies the GT predicate on the "family_name" field.
func FamilyNameGTE ¶
FamilyNameGTE applies the GTE predicate on the "family_name" field.
func FamilyNameHasPrefix ¶
FamilyNameHasPrefix applies the HasPrefix predicate on the "family_name" field.
func FamilyNameHasSuffix ¶
FamilyNameHasSuffix applies the HasSuffix predicate on the "family_name" field.
func FamilyNameIn ¶
FamilyNameIn applies the In predicate on the "family_name" field.
func FamilyNameIsNil ¶
FamilyNameIsNil applies the IsNil predicate on the "family_name" field.
func FamilyNameLT ¶
FamilyNameLT applies the LT predicate on the "family_name" field.
func FamilyNameLTE ¶
FamilyNameLTE applies the LTE predicate on the "family_name" field.
func FamilyNameNEQ ¶
FamilyNameNEQ applies the NEQ predicate on the "family_name" field.
func FamilyNameNotIn ¶
FamilyNameNotIn applies the NotIn predicate on the "family_name" field.
func FamilyNameNotNil ¶
FamilyNameNotNil applies the NotNil predicate on the "family_name" field.
func GivenName ¶
GivenName applies equality check predicate on the "given_name" field. It's identical to GivenNameEQ.
func GivenNameContains ¶
GivenNameContains applies the Contains predicate on the "given_name" field.
func GivenNameContainsFold ¶
GivenNameContainsFold applies the ContainsFold predicate on the "given_name" field.
func GivenNameEQ ¶
GivenNameEQ applies the EQ predicate on the "given_name" field.
func GivenNameEqualFold ¶
GivenNameEqualFold applies the EqualFold predicate on the "given_name" field.
func GivenNameGT ¶
GivenNameGT applies the GT predicate on the "given_name" field.
func GivenNameGTE ¶
GivenNameGTE applies the GTE predicate on the "given_name" field.
func GivenNameHasPrefix ¶
GivenNameHasPrefix applies the HasPrefix predicate on the "given_name" field.
func GivenNameHasSuffix ¶
GivenNameHasSuffix applies the HasSuffix predicate on the "given_name" field.
func GivenNameIn ¶
GivenNameIn applies the In predicate on the "given_name" field.
func GivenNameIsNil ¶
GivenNameIsNil applies the IsNil predicate on the "given_name" field.
func GivenNameLT ¶
GivenNameLT applies the LT predicate on the "given_name" field.
func GivenNameLTE ¶
GivenNameLTE applies the LTE predicate on the "given_name" field.
func GivenNameNEQ ¶
GivenNameNEQ applies the NEQ predicate on the "given_name" field.
func GivenNameNotIn ¶
GivenNameNotIn applies the NotIn predicate on the "given_name" field.
func GivenNameNotNil ¶
GivenNameNotNil applies the NotNil predicate on the "given_name" field.
func HasCollaboratingMemos ¶
HasCollaboratingMemos applies the HasEdge predicate on the "collaborating_memos" edge.
func HasCollaboratingMemosWith ¶
HasCollaboratingMemosWith applies the HasEdge predicate on the "collaborating_memos" edge with a given conditions (other predicates).
func HasCollaborations ¶
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 HasMemosWith ¶
HasMemosWith applies the HasEdge predicate on the "memos" edge with a given conditions (other predicates).
func HasSubscribingMemos ¶
HasSubscribingMemos applies the HasEdge predicate on the "subscribing_memos" edge.
func HasSubscribingMemosWith ¶
HasSubscribingMemosWith applies the HasEdge predicate on the "subscribing_memos" edge with a given conditions (other predicates).
func HasSubscriptions ¶
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 PhotoURL ¶
PhotoURL applies equality check predicate on the "photo_url" field. It's identical to PhotoURLEQ.
func PhotoURLContains ¶
PhotoURLContains applies the Contains predicate on the "photo_url" field.
func PhotoURLContainsFold ¶
PhotoURLContainsFold applies the ContainsFold predicate on the "photo_url" field.
func PhotoURLEQ ¶
PhotoURLEQ applies the EQ predicate on the "photo_url" field.
func PhotoURLEqualFold ¶
PhotoURLEqualFold applies the EqualFold predicate on the "photo_url" field.
func PhotoURLGT ¶
PhotoURLGT applies the GT predicate on the "photo_url" field.
func PhotoURLGTE ¶
PhotoURLGTE applies the GTE predicate on the "photo_url" field.
func PhotoURLHasPrefix ¶
PhotoURLHasPrefix applies the HasPrefix predicate on the "photo_url" field.
func PhotoURLHasSuffix ¶
PhotoURLHasSuffix applies the HasSuffix predicate on the "photo_url" field.
func PhotoURLIn ¶
PhotoURLIn applies the In predicate on the "photo_url" field.
func PhotoURLIsNil ¶
PhotoURLIsNil applies the IsNil predicate on the "photo_url" field.
func PhotoURLLT ¶
PhotoURLLT applies the LT predicate on the "photo_url" field.
func PhotoURLLTE ¶
PhotoURLLTE applies the LTE predicate on the "photo_url" field.
func PhotoURLNEQ ¶
PhotoURLNEQ applies the NEQ predicate on the "photo_url" field.
func PhotoURLNotIn ¶
PhotoURLNotIn applies the NotIn predicate on the "photo_url" field.
func PhotoURLNotNil ¶
PhotoURLNotNil applies the NotNil predicate on the "photo_url" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func UserName ¶
UserName applies equality check predicate on the "user_name" field. It's identical to UserNameEQ.
func UserNameContains ¶
UserNameContains applies the Contains predicate on the "user_name" field.
func UserNameContainsFold ¶
UserNameContainsFold applies the ContainsFold predicate on the "user_name" field.
func UserNameEQ ¶
UserNameEQ applies the EQ predicate on the "user_name" field.
func UserNameEqualFold ¶
UserNameEqualFold applies the EqualFold predicate on the "user_name" field.
func UserNameGT ¶
UserNameGT applies the GT predicate on the "user_name" field.
func UserNameGTE ¶
UserNameGTE applies the GTE predicate on the "user_name" field.
func UserNameHasPrefix ¶
UserNameHasPrefix applies the HasPrefix predicate on the "user_name" field.
func UserNameHasSuffix ¶
UserNameHasSuffix applies the HasSuffix predicate on the "user_name" field.
func UserNameIn ¶
UserNameIn applies the In predicate on the "user_name" field.
func UserNameLT ¶
UserNameLT applies the LT predicate on the "user_name" field.
func UserNameLTE ¶
UserNameLTE applies the LTE predicate on the "user_name" field.
func UserNameNEQ ¶
UserNameNEQ applies the NEQ predicate on the "user_name" field.
func UserNameNotIn ¶
UserNameNotIn applies the NotIn predicate on the "user_name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.