Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func Avatar(v []byte) predicate.User
- func AvatarEQ(v []byte) predicate.User
- func AvatarGT(v []byte) predicate.User
- func AvatarGTE(v []byte) predicate.User
- func AvatarIn(vs ...[]byte) predicate.User
- func AvatarIsNil() predicate.User
- func AvatarLT(v []byte) predicate.User
- func AvatarLTE(v []byte) predicate.User
- func AvatarNEQ(v []byte) predicate.User
- func AvatarNotIn(vs ...[]byte) predicate.User
- func AvatarNotNil() predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func Description(v string) predicate.User
- func DescriptionContains(v string) predicate.User
- func DescriptionContainsFold(v string) predicate.User
- func DescriptionEQ(v string) predicate.User
- func DescriptionEqualFold(v string) predicate.User
- func DescriptionGT(v string) predicate.User
- func DescriptionGTE(v string) predicate.User
- func DescriptionHasPrefix(v string) predicate.User
- func DescriptionHasSuffix(v string) predicate.User
- func DescriptionIn(vs ...string) predicate.User
- func DescriptionIsNil() predicate.User
- func DescriptionLT(v string) predicate.User
- func DescriptionLTE(v string) predicate.User
- func DescriptionNEQ(v string) predicate.User
- func DescriptionNotIn(vs ...string) predicate.User
- func DescriptionNotNil() 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 EmailIsNil() 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 EmailNotNil() predicate.User
- func Enabled(v bool) predicate.User
- func EnabledEQ(v bool) predicate.User
- func EnabledNEQ(v bool) predicate.User
- func GithubDataIsNil() predicate.User
- func GithubDataNotNil() predicate.User
- func HasFollowedPets() predicate.User
- func HasFollowedPetsWith(preds ...predicate.Pet) predicate.User
- func HasFollowing() predicate.User
- func HasFollowingWith(preds ...predicate.Follows) predicate.User
- func HasFriends() predicate.User
- func HasFriendsWith(preds ...predicate.User) predicate.User
- func HasFriendships() predicate.User
- func HasFriendshipsWith(preds ...predicate.Friendship) predicate.User
- func HasPets() predicate.User
- func HasPetsWith(preds ...predicate.Pet) predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func PasswordHashed(v string) predicate.User
- func PasswordHashedContains(v string) predicate.User
- func PasswordHashedContainsFold(v string) predicate.User
- func PasswordHashedEQ(v string) predicate.User
- func PasswordHashedEqualFold(v string) predicate.User
- func PasswordHashedGT(v string) predicate.User
- func PasswordHashedGTE(v string) predicate.User
- func PasswordHashedHasPrefix(v string) predicate.User
- func PasswordHashedHasSuffix(v string) predicate.User
- func PasswordHashedIn(vs ...string) predicate.User
- func PasswordHashedLT(v string) predicate.User
- func PasswordHashedLTE(v string) predicate.User
- func PasswordHashedNEQ(v string) predicate.User
- func PasswordHashedNotIn(vs ...string) predicate.User
- func ProfileURL(v *schema.ExampleValuer) predicate.User
- func ProfileURLEQ(v *schema.ExampleValuer) predicate.User
- func ProfileURLGT(v *schema.ExampleValuer) predicate.User
- func ProfileURLGTE(v *schema.ExampleValuer) predicate.User
- func ProfileURLIn(vs ...*schema.ExampleValuer) predicate.User
- func ProfileURLIsNil() predicate.User
- func ProfileURLLT(v *schema.ExampleValuer) predicate.User
- func ProfileURLLTE(v *schema.ExampleValuer) predicate.User
- func ProfileURLNEQ(v *schema.ExampleValuer) predicate.User
- func ProfileURLNotIn(vs ...*schema.ExampleValuer) predicate.User
- func ProfileURLNotNil() predicate.User
- func TypeEQ(v Type) predicate.User
- func TypeIn(vs ...Type) predicate.User
- func TypeNEQ(v Type) predicate.User
- func TypeNotIn(vs ...Type) predicate.User
- func TypeValidator(_type Type) error
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(vs ...time.Time) predicate.User
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByFollowedPets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFollowedPetsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFollowing(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFollowingCount(opts ...sql.OrderTermOption) OrderOption
- func ByFriends(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFriendsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFriendships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFriendshipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPasswordHashed(opts ...sql.OrderTermOption) OrderOption
- func ByPets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPetsCount(opts ...sql.OrderTermOption) OrderOption
- func ByProfileURL(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Type
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" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldAvatar holds the string denoting the avatar field in the database. FieldAvatar = "avatar" // FieldPasswordHashed holds the string denoting the password_hashed field in the database. FieldPasswordHashed = "password_hashed" // FieldGithubData holds the string denoting the github_data field in the database. FieldGithubData = "github_data" // FieldProfileURL holds the string denoting the profile_url field in the database. FieldProfileURL = "profile_url" // EdgePets holds the string denoting the pets edge name in mutations. EdgePets = "pets" // EdgeFollowedPets holds the string denoting the followed_pets edge name in mutations. EdgeFollowedPets = "followed_pets" // EdgeFriends holds the string denoting the friends edge name in mutations. EdgeFriends = "friends" // EdgeFollowing holds the string denoting the following edge name in mutations. EdgeFollowing = "following" // EdgeFriendships holds the string denoting the friendships edge name in mutations. EdgeFriendships = "friendships" // Table holds the table name of the user in the database. Table = "users" // PetsTable is the table that holds the pets relation/edge. PetsTable = "pets" // PetsInverseTable is the table name for the Pet entity. // It exists in this package in order to avoid circular dependency with the "pet" package. PetsInverseTable = "pets" // PetsColumn is the table column denoting the pets relation/edge. PetsColumn = "user_pets" // FollowedPetsTable is the table that holds the followed_pets relation/edge. The primary key declared below. FollowedPetsTable = "follows" // FollowedPetsInverseTable is the table name for the Pet entity. // It exists in this package in order to avoid circular dependency with the "pet" package. FollowedPetsInverseTable = "pets" // FriendsTable is the table that holds the friends relation/edge. The primary key declared below. FriendsTable = "friendships" // FollowingTable is the table that holds the following relation/edge. FollowingTable = "follows" // FollowingInverseTable is the table name for the Follows entity. // It exists in this package in order to avoid circular dependency with the "follows" package. FollowingInverseTable = "follows" // FollowingColumn is the table column denoting the following relation/edge. FollowingColumn = "user_id" // FriendshipsTable is the table that holds the friendships relation/edge. FriendshipsTable = "friendships" // FriendshipsInverseTable is the table name for the Friendship entity. // It exists in this package in order to avoid circular dependency with the "friendship" package. FriendshipsInverseTable = "friendships" // FriendshipsColumn is the table column denoting the friendships relation/edge. FriendshipsColumn = "user_id" )
const DefaultType = TypeUser
TypeUser is the default value of the Type enum.
Variables ¶
var ( // FollowedPetsPrimaryKey and FollowedPetsColumn2 are the table columns denoting the // primary key for the followed_pets relation (M2M). FollowedPetsPrimaryKey = []string{"user_id", "pet_id"} // FriendsPrimaryKey and FriendsColumn2 are the table columns denoting the // primary key for the friends relation (M2M). FriendsPrimaryKey = []string{"user_id", "friend_id"} )
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // AvatarValidator is a validator for the "avatar" field. It is called by the builders before save. AvatarValidator func([]byte) error // PasswordHashedValidator is a validator for the "password_hashed" field. It is called by the builders before save. PasswordHashedValidator func(string) error // DefaultProfileURL holds the default value on creation for the "profile_url" field. DefaultProfileURL *schema.ExampleValuer )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldType, FieldDescription, FieldEnabled, FieldEmail, FieldAvatar, FieldPasswordHashed, FieldGithubData, FieldProfileURL, }
Columns holds all SQL columns for user fields.
var ForeignKeys = []string{
"settings_admins",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "users" table and are not defined as standalone fields in the schema.
Functions ¶
func Avatar ¶
Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func AvatarIsNil ¶
AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarNotIn ¶
AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotNil ¶
AvatarNotNil applies the NotNil predicate on the "avatar" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" 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 EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func Enabled ¶
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledNEQ ¶
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func GithubDataIsNil ¶
GithubDataIsNil applies the IsNil predicate on the "github_data" field.
func GithubDataNotNil ¶
GithubDataNotNil applies the NotNil predicate on the "github_data" field.
func HasFollowedPets ¶
HasFollowedPets applies the HasEdge predicate on the "followed_pets" edge.
func HasFollowedPetsWith ¶
HasFollowedPetsWith applies the HasEdge predicate on the "followed_pets" edge with a given conditions (other predicates).
func HasFollowing ¶
HasFollowing applies the HasEdge predicate on the "following" edge.
func HasFollowingWith ¶
HasFollowingWith applies the HasEdge predicate on the "following" edge with a given conditions (other predicates).
func HasFriends ¶
HasFriends applies the HasEdge predicate on the "friends" edge.
func HasFriendsWith ¶
HasFriendsWith applies the HasEdge predicate on the "friends" edge with a given conditions (other predicates).
func HasFriendships ¶
HasFriendships applies the HasEdge predicate on the "friendships" edge.
func HasFriendshipsWith ¶
func HasFriendshipsWith(preds ...predicate.Friendship) predicate.User
HasFriendshipsWith applies the HasEdge predicate on the "friendships" edge with a given conditions (other predicates).
func HasPetsWith ¶
HasPetsWith applies the HasEdge predicate on the "pets" edge with a given conditions (other predicates).
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 PasswordHashed ¶
PasswordHashed applies equality check predicate on the "password_hashed" field. It's identical to PasswordHashedEQ.
func PasswordHashedContains ¶
PasswordHashedContains applies the Contains predicate on the "password_hashed" field.
func PasswordHashedContainsFold ¶
PasswordHashedContainsFold applies the ContainsFold predicate on the "password_hashed" field.
func PasswordHashedEQ ¶
PasswordHashedEQ applies the EQ predicate on the "password_hashed" field.
func PasswordHashedEqualFold ¶
PasswordHashedEqualFold applies the EqualFold predicate on the "password_hashed" field.
func PasswordHashedGT ¶
PasswordHashedGT applies the GT predicate on the "password_hashed" field.
func PasswordHashedGTE ¶
PasswordHashedGTE applies the GTE predicate on the "password_hashed" field.
func PasswordHashedHasPrefix ¶
PasswordHashedHasPrefix applies the HasPrefix predicate on the "password_hashed" field.
func PasswordHashedHasSuffix ¶
PasswordHashedHasSuffix applies the HasSuffix predicate on the "password_hashed" field.
func PasswordHashedIn ¶
PasswordHashedIn applies the In predicate on the "password_hashed" field.
func PasswordHashedLT ¶
PasswordHashedLT applies the LT predicate on the "password_hashed" field.
func PasswordHashedLTE ¶
PasswordHashedLTE applies the LTE predicate on the "password_hashed" field.
func PasswordHashedNEQ ¶
PasswordHashedNEQ applies the NEQ predicate on the "password_hashed" field.
func PasswordHashedNotIn ¶
PasswordHashedNotIn applies the NotIn predicate on the "password_hashed" field.
func ProfileURL ¶
func ProfileURL(v *schema.ExampleValuer) predicate.User
ProfileURL applies equality check predicate on the "profile_url" field. It's identical to ProfileURLEQ.
func ProfileURLEQ ¶
func ProfileURLEQ(v *schema.ExampleValuer) predicate.User
ProfileURLEQ applies the EQ predicate on the "profile_url" field.
func ProfileURLGT ¶
func ProfileURLGT(v *schema.ExampleValuer) predicate.User
ProfileURLGT applies the GT predicate on the "profile_url" field.
func ProfileURLGTE ¶
func ProfileURLGTE(v *schema.ExampleValuer) predicate.User
ProfileURLGTE applies the GTE predicate on the "profile_url" field.
func ProfileURLIn ¶
func ProfileURLIn(vs ...*schema.ExampleValuer) predicate.User
ProfileURLIn applies the In predicate on the "profile_url" field.
func ProfileURLIsNil ¶
ProfileURLIsNil applies the IsNil predicate on the "profile_url" field.
func ProfileURLLT ¶
func ProfileURLLT(v *schema.ExampleValuer) predicate.User
ProfileURLLT applies the LT predicate on the "profile_url" field.
func ProfileURLLTE ¶
func ProfileURLLTE(v *schema.ExampleValuer) predicate.User
ProfileURLLTE applies the LTE predicate on the "profile_url" field.
func ProfileURLNEQ ¶
func ProfileURLNEQ(v *schema.ExampleValuer) predicate.User
ProfileURLNEQ applies the NEQ predicate on the "profile_url" field.
func ProfileURLNotIn ¶
func ProfileURLNotIn(vs ...*schema.ExampleValuer) predicate.User
ProfileURLNotIn applies the NotIn predicate on the "profile_url" field.
func ProfileURLNotNil ¶
ProfileURLNotNil applies the NotNil predicate on the "profile_url" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func 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 ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByFollowedPets ¶
func ByFollowedPets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFollowedPets orders the results by followed_pets terms.
func ByFollowedPetsCount ¶
func ByFollowedPetsCount(opts ...sql.OrderTermOption) OrderOption
ByFollowedPetsCount orders the results by followed_pets count.
func ByFollowing ¶
func ByFollowing(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFollowing orders the results by following terms.
func ByFollowingCount ¶
func ByFollowingCount(opts ...sql.OrderTermOption) OrderOption
ByFollowingCount orders the results by following count.
func ByFriends ¶
func ByFriends(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFriends orders the results by friends terms.
func ByFriendsCount ¶
func ByFriendsCount(opts ...sql.OrderTermOption) OrderOption
ByFriendsCount orders the results by friends count.
func ByFriendships ¶
func ByFriendships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFriendships orders the results by friendships terms.
func ByFriendshipsCount ¶
func ByFriendshipsCount(opts ...sql.OrderTermOption) OrderOption
ByFriendshipsCount orders the results by friendships 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 ByPasswordHashed ¶
func ByPasswordHashed(opts ...sql.OrderTermOption) OrderOption
ByPasswordHashed orders the results by the password_hashed field.
func ByPets ¶
func ByPets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPets orders the results by pets terms.
func ByPetsCount ¶
func ByPetsCount(opts ...sql.OrderTermOption) OrderOption
ByPetsCount orders the results by pets count.
func ByProfileURL ¶
func ByProfileURL(opts ...sql.OrderTermOption) OrderOption
ByProfileURL orders the results by the profile_url field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.