Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) 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 HasApp() predicate.User
- func HasAppInst() predicate.User
- func HasAppInstWith(preds ...predicate.AppInst) predicate.User
- func HasAppWith(preds ...predicate.App) predicate.User
- func HasBindAccount() predicate.User
- func HasBindAccountWith(preds ...predicate.Account) predicate.User
- func HasCreatedUser() predicate.User
- func HasCreatedUserWith(preds ...predicate.User) predicate.User
- func HasCreator() predicate.User
- func HasCreatorWith(preds ...predicate.User) predicate.User
- func HasDeviceInfo() predicate.User
- func HasDeviceInfoWith(preds ...predicate.DeviceInfo) predicate.User
- func HasFeedConfig() predicate.User
- func HasFeedConfigWith(preds ...predicate.FeedConfig) predicate.User
- func HasFile() predicate.User
- func HasFileWith(preds ...predicate.File) predicate.User
- func HasImage() predicate.User
- func HasImageWith(preds ...predicate.Image) predicate.User
- func HasNotifyFlow() predicate.User
- func HasNotifyFlowWith(preds ...predicate.NotifyFlow) predicate.User
- func HasNotifyTarget() predicate.User
- func HasNotifyTargetWith(preds ...predicate.NotifyTarget) predicate.User
- func HasPurchasedApp() predicate.User
- func HasPurchasedAppWith(preds ...predicate.AppInfo) predicate.User
- func HasUserDevice() predicate.User
- func HasUserDeviceWith(preds ...predicate.UserDevice) predicate.User
- func ID(id model.InternalID) predicate.User
- func IDEQ(id model.InternalID) predicate.User
- func IDGT(id model.InternalID) predicate.User
- func IDGTE(id model.InternalID) predicate.User
- func IDIn(ids ...model.InternalID) predicate.User
- func IDLT(id model.InternalID) predicate.User
- func IDLTE(id model.InternalID) predicate.User
- func IDNEQ(id model.InternalID) predicate.User
- func IDNotIn(ids ...model.InternalID) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Password(v string) predicate.User
- func PasswordContains(v string) predicate.User
- func PasswordContainsFold(v string) predicate.User
- func PasswordEQ(v string) predicate.User
- func PasswordEqualFold(v string) predicate.User
- func PasswordGT(v string) predicate.User
- func PasswordGTE(v string) predicate.User
- func PasswordHasPrefix(v string) predicate.User
- func PasswordHasSuffix(v string) predicate.User
- func PasswordIn(vs ...string) predicate.User
- func PasswordLT(v string) predicate.User
- func PasswordLTE(v string) predicate.User
- func PasswordNEQ(v string) predicate.User
- func PasswordNotIn(vs ...string) predicate.User
- func StatusEQ(v Status) predicate.User
- func StatusIn(vs ...Status) predicate.User
- func StatusNEQ(v Status) predicate.User
- func StatusNotIn(vs ...Status) predicate.User
- func StatusValidator(s Status) error
- 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 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 ByApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAppCount(opts ...sql.OrderTermOption) OrderOption
- func ByAppInst(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAppInstCount(opts ...sql.OrderTermOption) OrderOption
- func ByBindAccount(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBindAccountCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCreatedUserCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatorField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDeviceInfo(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDeviceInfoCount(opts ...sql.OrderTermOption) OrderOption
- func ByFeedConfig(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFeedConfigCount(opts ...sql.OrderTermOption) OrderOption
- func ByFile(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFileCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImage(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByImageCount(opts ...sql.OrderTermOption) OrderOption
- func ByNotifyFlow(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNotifyFlowCount(opts ...sql.OrderTermOption) OrderOption
- func ByNotifyTarget(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNotifyTargetCount(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByPurchasedApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPurchasedAppCount(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserDevice(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUserDeviceCount(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
- type Status
- 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" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeBindAccount holds the string denoting the bind_account edge name in mutations. EdgeBindAccount = "bind_account" // EdgePurchasedApp holds the string denoting the purchased_app edge name in mutations. EdgePurchasedApp = "purchased_app" // EdgeApp holds the string denoting the app edge name in mutations. EdgeApp = "app" // EdgeAppInst holds the string denoting the app_inst edge name in mutations. EdgeAppInst = "app_inst" // EdgeFeedConfig holds the string denoting the feed_config edge name in mutations. EdgeFeedConfig = "feed_config" // EdgeNotifyTarget holds the string denoting the notify_target edge name in mutations. EdgeNotifyTarget = "notify_target" // EdgeNotifyFlow holds the string denoting the notify_flow edge name in mutations. EdgeNotifyFlow = "notify_flow" // EdgeImage holds the string denoting the image edge name in mutations. EdgeImage = "image" // EdgeFile holds the string denoting the file edge name in mutations. EdgeFile = "file" // EdgeDeviceInfo holds the string denoting the device_info edge name in mutations. EdgeDeviceInfo = "device_info" // EdgeCreator holds the string denoting the creator edge name in mutations. EdgeCreator = "creator" // EdgeCreatedUser holds the string denoting the created_user edge name in mutations. EdgeCreatedUser = "created_user" // EdgeUserDevice holds the string denoting the user_device edge name in mutations. EdgeUserDevice = "user_device" // Table holds the table name of the user in the database. Table = "users" // BindAccountTable is the table that holds the bind_account relation/edge. BindAccountTable = "accounts" // BindAccountInverseTable is the table name for the Account entity. // It exists in this package in order to avoid circular dependency with the "account" package. BindAccountInverseTable = "accounts" // BindAccountColumn is the table column denoting the bind_account relation/edge. BindAccountColumn = "user_bind_account" // PurchasedAppTable is the table that holds the purchased_app relation/edge. The primary key declared below. PurchasedAppTable = "user_purchased_app" // PurchasedAppInverseTable is the table name for the AppInfo entity. // It exists in this package in order to avoid circular dependency with the "appinfo" package. PurchasedAppInverseTable = "app_infos" // AppTable is the table that holds the app relation/edge. AppTable = "apps" // AppInverseTable is the table name for the App entity. // It exists in this package in order to avoid circular dependency with the "app" package. AppInverseTable = "apps" // AppColumn is the table column denoting the app relation/edge. AppColumn = "user_app" // AppInstTable is the table that holds the app_inst relation/edge. AppInstTable = "app_insts" // AppInstInverseTable is the table name for the AppInst entity. // It exists in this package in order to avoid circular dependency with the "appinst" package. AppInstInverseTable = "app_insts" // AppInstColumn is the table column denoting the app_inst relation/edge. AppInstColumn = "user_app_inst" // FeedConfigTable is the table that holds the feed_config relation/edge. FeedConfigTable = "feed_configs" // FeedConfigInverseTable is the table name for the FeedConfig entity. // It exists in this package in order to avoid circular dependency with the "feedconfig" package. FeedConfigInverseTable = "feed_configs" // FeedConfigColumn is the table column denoting the feed_config relation/edge. FeedConfigColumn = "user_feed_config" // NotifyTargetTable is the table that holds the notify_target relation/edge. NotifyTargetTable = "notify_targets" // NotifyTargetInverseTable is the table name for the NotifyTarget entity. // It exists in this package in order to avoid circular dependency with the "notifytarget" package. NotifyTargetInverseTable = "notify_targets" // NotifyTargetColumn is the table column denoting the notify_target relation/edge. NotifyTargetColumn = "user_notify_target" // NotifyFlowTable is the table that holds the notify_flow relation/edge. NotifyFlowTable = "notify_flows" // NotifyFlowInverseTable is the table name for the NotifyFlow entity. // It exists in this package in order to avoid circular dependency with the "notifyflow" package. NotifyFlowInverseTable = "notify_flows" // NotifyFlowColumn is the table column denoting the notify_flow relation/edge. NotifyFlowColumn = "user_notify_flow" // ImageTable is the table that holds the image relation/edge. ImageTable = "images" // ImageInverseTable is the table name for the Image entity. // It exists in this package in order to avoid circular dependency with the "image" package. ImageInverseTable = "images" // ImageColumn is the table column denoting the image relation/edge. ImageColumn = "user_image" // FileTable is the table that holds the file relation/edge. FileTable = "files" // FileInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FileInverseTable = "files" // FileColumn is the table column denoting the file relation/edge. FileColumn = "user_file" // DeviceInfoTable is the table that holds the device_info relation/edge. The primary key declared below. DeviceInfoTable = "user_devices" // DeviceInfoInverseTable is the table name for the DeviceInfo entity. // It exists in this package in order to avoid circular dependency with the "deviceinfo" package. DeviceInfoInverseTable = "device_infos" // CreatorTable is the table that holds the creator relation/edge. CreatorTable = "users" // CreatorColumn is the table column denoting the creator relation/edge. CreatorColumn = "user_created_user" // CreatedUserTable is the table that holds the created_user relation/edge. CreatedUserTable = "users" // CreatedUserColumn is the table column denoting the created_user relation/edge. CreatedUserColumn = "user_created_user" // UserDeviceTable is the table that holds the user_device relation/edge. UserDeviceTable = "user_devices" // UserDeviceInverseTable is the table name for the UserDevice entity. // It exists in this package in order to avoid circular dependency with the "userdevice" package. UserDeviceInverseTable = "user_devices" // UserDeviceColumn is the table column denoting the user_device relation/edge. UserDeviceColumn = "user_id" )
Variables ¶
var ( // PurchasedAppPrimaryKey and PurchasedAppColumn2 are the table columns denoting the // primary key for the purchased_app relation (M2M). PurchasedAppPrimaryKey = []string{"user_id", "app_info_id"} // DeviceInfoPrimaryKey and DeviceInfoColumn2 are the table columns denoting the // primary key for the device_info relation (M2M). DeviceInfoPrimaryKey = []string{"user_id", "device_id"} )
var ( // 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 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldUsername, FieldPassword, FieldStatus, FieldType, FieldUpdatedAt, FieldCreatedAt, }
Columns holds all SQL columns for user fields.
var ForeignKeys = []string{
"user_created_user",
}
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 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 HasAppInst ¶ added in v0.2.3
HasAppInst applies the HasEdge predicate on the "app_inst" edge.
func HasAppInstWith ¶ added in v0.2.3
HasAppInstWith applies the HasEdge predicate on the "app_inst" edge with a given conditions (other predicates).
func HasAppWith ¶ added in v0.2.3
HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).
func HasBindAccount ¶
HasBindAccount applies the HasEdge predicate on the "bind_account" edge.
func HasBindAccountWith ¶
HasBindAccountWith applies the HasEdge predicate on the "bind_account" edge with a given conditions (other predicates).
func HasCreatedUser ¶
HasCreatedUser applies the HasEdge predicate on the "created_user" edge.
func HasCreatedUserWith ¶
HasCreatedUserWith applies the HasEdge predicate on the "created_user" edge with a given conditions (other predicates).
func HasCreator ¶
HasCreator applies the HasEdge predicate on the "creator" edge.
func HasCreatorWith ¶
HasCreatorWith applies the HasEdge predicate on the "creator" edge with a given conditions (other predicates).
func HasDeviceInfo ¶ added in v0.2.1
HasDeviceInfo applies the HasEdge predicate on the "device_info" edge.
func HasDeviceInfoWith ¶ added in v0.2.1
func HasDeviceInfoWith(preds ...predicate.DeviceInfo) predicate.User
HasDeviceInfoWith applies the HasEdge predicate on the "device_info" edge with a given conditions (other predicates).
func HasFeedConfig ¶
HasFeedConfig applies the HasEdge predicate on the "feed_config" edge.
func HasFeedConfigWith ¶
func HasFeedConfigWith(preds ...predicate.FeedConfig) predicate.User
HasFeedConfigWith applies the HasEdge predicate on the "feed_config" edge with a given conditions (other predicates).
func HasFileWith ¶ added in v0.1.3
HasFileWith applies the HasEdge predicate on the "file" edge with a given conditions (other predicates).
func HasImageWith ¶ added in v0.1.3
HasImageWith applies the HasEdge predicate on the "image" edge with a given conditions (other predicates).
func HasNotifyFlow ¶ added in v0.1.0
HasNotifyFlow applies the HasEdge predicate on the "notify_flow" edge.
func HasNotifyFlowWith ¶ added in v0.1.0
func HasNotifyFlowWith(preds ...predicate.NotifyFlow) predicate.User
HasNotifyFlowWith applies the HasEdge predicate on the "notify_flow" edge with a given conditions (other predicates).
func HasNotifyTarget ¶ added in v0.1.0
HasNotifyTarget applies the HasEdge predicate on the "notify_target" edge.
func HasNotifyTargetWith ¶ added in v0.1.0
func HasNotifyTargetWith(preds ...predicate.NotifyTarget) predicate.User
HasNotifyTargetWith applies the HasEdge predicate on the "notify_target" edge with a given conditions (other predicates).
func HasPurchasedApp ¶
HasPurchasedApp applies the HasEdge predicate on the "purchased_app" edge.
func HasPurchasedAppWith ¶
HasPurchasedAppWith applies the HasEdge predicate on the "purchased_app" edge with a given conditions (other predicates).
func HasUserDevice ¶ added in v0.2.3
HasUserDevice applies the HasEdge predicate on the "user_device" edge.
func HasUserDeviceWith ¶ added in v0.2.3
func HasUserDeviceWith(preds ...predicate.UserDevice) predicate.User
HasUserDeviceWith applies the HasEdge predicate on the "user_device" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id model.InternalID) predicate.User
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id model.InternalID) predicate.User
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id model.InternalID) predicate.User
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...model.InternalID) predicate.User
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id model.InternalID) predicate.User
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id model.InternalID) predicate.User
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id model.InternalID) predicate.User
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...model.InternalID) predicate.User
IDNotIn applies the NotIn predicate on the ID field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
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 Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶ added in v0.1.4
OrderOption defines the ordering options for the User queries.
func ByApp ¶ added in v0.2.3
func ByApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByApp orders the results by app terms.
func ByAppCount ¶ added in v0.2.3
func ByAppCount(opts ...sql.OrderTermOption) OrderOption
ByAppCount orders the results by app count.
func ByAppInst ¶ added in v0.2.3
func ByAppInst(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAppInst orders the results by app_inst terms.
func ByAppInstCount ¶ added in v0.2.3
func ByAppInstCount(opts ...sql.OrderTermOption) OrderOption
ByAppInstCount orders the results by app_inst count.
func ByBindAccount ¶ added in v0.1.4
func ByBindAccount(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBindAccount orders the results by bind_account terms.
func ByBindAccountCount ¶ added in v0.1.4
func ByBindAccountCount(opts ...sql.OrderTermOption) OrderOption
ByBindAccountCount orders the results by bind_account count.
func ByCreatedAt ¶ added in v0.1.4
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedUser ¶ added in v0.1.4
func ByCreatedUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCreatedUser orders the results by created_user terms.
func ByCreatedUserCount ¶ added in v0.1.4
func ByCreatedUserCount(opts ...sql.OrderTermOption) OrderOption
ByCreatedUserCount orders the results by created_user count.
func ByCreatorField ¶ added in v0.1.4
func ByCreatorField(field string, opts ...sql.OrderTermOption) OrderOption
ByCreatorField orders the results by creator field.
func ByDeviceInfo ¶ added in v0.2.1
func ByDeviceInfo(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDeviceInfo orders the results by device_info terms.
func ByDeviceInfoCount ¶ added in v0.2.1
func ByDeviceInfoCount(opts ...sql.OrderTermOption) OrderOption
ByDeviceInfoCount orders the results by device_info count.
func ByFeedConfig ¶ added in v0.1.4
func ByFeedConfig(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFeedConfig orders the results by feed_config terms.
func ByFeedConfigCount ¶ added in v0.1.4
func ByFeedConfigCount(opts ...sql.OrderTermOption) OrderOption
ByFeedConfigCount orders the results by feed_config count.
func ByFile ¶ added in v0.1.4
func ByFile(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFile orders the results by file terms.
func ByFileCount ¶ added in v0.1.4
func ByFileCount(opts ...sql.OrderTermOption) OrderOption
ByFileCount orders the results by file count.
func ByID ¶ added in v0.1.4
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByImage ¶ added in v0.1.4
func ByImage(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByImage orders the results by image terms.
func ByImageCount ¶ added in v0.1.4
func ByImageCount(opts ...sql.OrderTermOption) OrderOption
ByImageCount orders the results by image count.
func ByNotifyFlow ¶ added in v0.1.4
func ByNotifyFlow(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNotifyFlow orders the results by notify_flow terms.
func ByNotifyFlowCount ¶ added in v0.1.4
func ByNotifyFlowCount(opts ...sql.OrderTermOption) OrderOption
ByNotifyFlowCount orders the results by notify_flow count.
func ByNotifyTarget ¶ added in v0.1.4
func ByNotifyTarget(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNotifyTarget orders the results by notify_target terms.
func ByNotifyTargetCount ¶ added in v0.1.4
func ByNotifyTargetCount(opts ...sql.OrderTermOption) OrderOption
ByNotifyTargetCount orders the results by notify_target count.
func ByPassword ¶ added in v0.1.4
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.
func ByPurchasedApp ¶ added in v0.1.4
func ByPurchasedApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPurchasedApp orders the results by purchased_app terms.
func ByPurchasedAppCount ¶ added in v0.1.4
func ByPurchasedAppCount(opts ...sql.OrderTermOption) OrderOption
ByPurchasedAppCount orders the results by purchased_app count.
func ByStatus ¶ added in v0.1.4
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByType ¶ added in v0.1.4
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶ added in v0.1.4
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserDevice ¶ added in v0.2.3
func ByUserDevice(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUserDevice orders the results by user_device terms.
func ByUserDeviceCount ¶ added in v0.2.3
func ByUserDeviceCount(opts ...sql.OrderTermOption) OrderOption
ByUserDeviceCount orders the results by user_device count.
func ByUsername ¶ added in v0.1.4
func ByUsername(opts ...sql.OrderTermOption) OrderOption
ByUsername orders the results by the username field.