Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AdminUser) predicate.AdminUser
- func CreatedAt(v time.Time) predicate.AdminUser
- func CreatedAtEQ(v time.Time) predicate.AdminUser
- func CreatedAtGT(v time.Time) predicate.AdminUser
- func CreatedAtGTE(v time.Time) predicate.AdminUser
- func CreatedAtIn(vs ...time.Time) predicate.AdminUser
- func CreatedAtIsNil() predicate.AdminUser
- func CreatedAtLT(v time.Time) predicate.AdminUser
- func CreatedAtLTE(v time.Time) predicate.AdminUser
- func CreatedAtNEQ(v time.Time) predicate.AdminUser
- func CreatedAtNotIn(vs ...time.Time) predicate.AdminUser
- func CreatedAtNotNil() predicate.AdminUser
- func Email(v string) predicate.AdminUser
- func EmailContains(v string) predicate.AdminUser
- func EmailContainsFold(v string) predicate.AdminUser
- func EmailEQ(v string) predicate.AdminUser
- func EmailEqualFold(v string) predicate.AdminUser
- func EmailGT(v string) predicate.AdminUser
- func EmailGTE(v string) predicate.AdminUser
- func EmailHasPrefix(v string) predicate.AdminUser
- func EmailHasSuffix(v string) predicate.AdminUser
- func EmailIn(vs ...string) predicate.AdminUser
- func EmailLT(v string) predicate.AdminUser
- func EmailLTE(v string) predicate.AdminUser
- func EmailNEQ(v string) predicate.AdminUser
- func EmailNotIn(vs ...string) predicate.AdminUser
- func FirstName(v string) predicate.AdminUser
- func FirstNameContains(v string) predicate.AdminUser
- func FirstNameContainsFold(v string) predicate.AdminUser
- func FirstNameEQ(v string) predicate.AdminUser
- func FirstNameEqualFold(v string) predicate.AdminUser
- func FirstNameGT(v string) predicate.AdminUser
- func FirstNameGTE(v string) predicate.AdminUser
- func FirstNameHasPrefix(v string) predicate.AdminUser
- func FirstNameHasSuffix(v string) predicate.AdminUser
- func FirstNameIn(vs ...string) predicate.AdminUser
- func FirstNameLT(v string) predicate.AdminUser
- func FirstNameLTE(v string) predicate.AdminUser
- func FirstNameNEQ(v string) predicate.AdminUser
- func FirstNameNotIn(vs ...string) predicate.AdminUser
- func HasAdminCreatedBy() predicate.AdminUser
- func HasAdminCreatedByWith(preds ...predicate.AdminUser) predicate.AdminUser
- func HasAdminUpdatedBy() predicate.AdminUser
- func HasAdminUpdatedByWith(preds ...predicate.AdminUser) predicate.AdminUser
- func HasDefaultRole() predicate.AdminUser
- func HasDefaultRoleWith(preds ...predicate.Role) predicate.AdminUser
- func HasRefAdminCreatedBy() predicate.AdminUser
- func HasRefAdminCreatedByWith(preds ...predicate.AdminUser) predicate.AdminUser
- func HasRefAdminUpdatedBy() predicate.AdminUser
- func HasRefAdminUpdatedByWith(preds ...predicate.AdminUser) predicate.AdminUser
- func HasRoles() predicate.AdminUser
- func HasRolesWith(preds ...predicate.Role) predicate.AdminUser
- func ID(id string) predicate.AdminUser
- func IDContainsFold(id string) predicate.AdminUser
- func IDEQ(id string) predicate.AdminUser
- func IDEqualFold(id string) predicate.AdminUser
- func IDGT(id string) predicate.AdminUser
- func IDGTE(id string) predicate.AdminUser
- func IDIn(ids ...string) predicate.AdminUser
- func IDLT(id string) predicate.AdminUser
- func IDLTE(id string) predicate.AdminUser
- func IDNEQ(id string) predicate.AdminUser
- func IDNotIn(ids ...string) predicate.AdminUser
- func LastName(v string) predicate.AdminUser
- func LastNameContains(v string) predicate.AdminUser
- func LastNameContainsFold(v string) predicate.AdminUser
- func LastNameEQ(v string) predicate.AdminUser
- func LastNameEqualFold(v string) predicate.AdminUser
- func LastNameGT(v string) predicate.AdminUser
- func LastNameGTE(v string) predicate.AdminUser
- func LastNameHasPrefix(v string) predicate.AdminUser
- func LastNameHasSuffix(v string) predicate.AdminUser
- func LastNameIn(vs ...string) predicate.AdminUser
- func LastNameLT(v string) predicate.AdminUser
- func LastNameLTE(v string) predicate.AdminUser
- func LastNameNEQ(v string) predicate.AdminUser
- func LastNameNotIn(vs ...string) predicate.AdminUser
- func Name(v string) predicate.AdminUser
- func NameContains(v string) predicate.AdminUser
- func NameContainsFold(v string) predicate.AdminUser
- func NameEQ(v string) predicate.AdminUser
- func NameEqualFold(v string) predicate.AdminUser
- func NameGT(v string) predicate.AdminUser
- func NameGTE(v string) predicate.AdminUser
- func NameHasPrefix(v string) predicate.AdminUser
- func NameHasSuffix(v string) predicate.AdminUser
- func NameIn(vs ...string) predicate.AdminUser
- func NameIsNil() predicate.AdminUser
- func NameLT(v string) predicate.AdminUser
- func NameLTE(v string) predicate.AdminUser
- func NameNEQ(v string) predicate.AdminUser
- func NameNotIn(vs ...string) predicate.AdminUser
- func NameNotNil() predicate.AdminUser
- func Not(p predicate.AdminUser) predicate.AdminUser
- func Or(predicates ...predicate.AdminUser) predicate.AdminUser
- func Password(v string) predicate.AdminUser
- func PasswordContains(v string) predicate.AdminUser
- func PasswordContainsFold(v string) predicate.AdminUser
- func PasswordEQ(v string) predicate.AdminUser
- func PasswordEqualFold(v string) predicate.AdminUser
- func PasswordGT(v string) predicate.AdminUser
- func PasswordGTE(v string) predicate.AdminUser
- func PasswordHasPrefix(v string) predicate.AdminUser
- func PasswordHasSuffix(v string) predicate.AdminUser
- func PasswordIn(vs ...string) predicate.AdminUser
- func PasswordLT(v string) predicate.AdminUser
- func PasswordLTE(v string) predicate.AdminUser
- func PasswordNEQ(v string) predicate.AdminUser
- func PasswordNotIn(vs ...string) predicate.AdminUser
- func UpdatedAt(v time.Time) predicate.AdminUser
- func UpdatedAtEQ(v time.Time) predicate.AdminUser
- func UpdatedAtGT(v time.Time) predicate.AdminUser
- func UpdatedAtGTE(v time.Time) predicate.AdminUser
- func UpdatedAtIn(vs ...time.Time) predicate.AdminUser
- func UpdatedAtIsNil() predicate.AdminUser
- func UpdatedAtLT(v time.Time) predicate.AdminUser
- func UpdatedAtLTE(v time.Time) predicate.AdminUser
- func UpdatedAtNEQ(v time.Time) predicate.AdminUser
- func UpdatedAtNotIn(vs ...time.Time) predicate.AdminUser
- func UpdatedAtNotNil() predicate.AdminUser
- func ValidColumn(column string) bool
- type OrderOption
- func ByAdminCreatedByField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAdminUpdatedByField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDefaultRoleField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByFirstName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastName(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByRefAdminCreatedBy(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRefAdminCreatedByCount(opts ...sql.OrderTermOption) OrderOption
- func ByRefAdminUpdatedBy(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRefAdminUpdatedByCount(opts ...sql.OrderTermOption) OrderOption
- func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the adminuser type in the database. Label = "admin_user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldFirstName holds the string denoting the first_name field in the database. FieldFirstName = "first_name" // FieldLastName holds the string denoting the last_name field in the database. FieldLastName = "last_name" // 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" // EdgeRefAdminCreatedBy holds the string denoting the ref_admin_created_by edge name in mutations. EdgeRefAdminCreatedBy = "ref_admin_created_by" // EdgeAdminCreatedBy holds the string denoting the admin_created_by edge name in mutations. EdgeAdminCreatedBy = "admin_created_by" // EdgeRefAdminUpdatedBy holds the string denoting the ref_admin_updated_by edge name in mutations. EdgeRefAdminUpdatedBy = "ref_admin_updated_by" // EdgeAdminUpdatedBy holds the string denoting the admin_updated_by edge name in mutations. EdgeAdminUpdatedBy = "admin_updated_by" // EdgeRoles holds the string denoting the roles edge name in mutations. EdgeRoles = "roles" // EdgeDefaultRole holds the string denoting the default_role edge name in mutations. EdgeDefaultRole = "default_role" // Table holds the table name of the adminuser in the database. Table = "admin_users" // RefAdminCreatedByTable is the table that holds the ref_admin_created_by relation/edge. RefAdminCreatedByTable = "admin_users" // RefAdminCreatedByColumn is the table column denoting the ref_admin_created_by relation/edge. RefAdminCreatedByColumn = "admin_user_admin_created_by" // AdminCreatedByTable is the table that holds the admin_created_by relation/edge. AdminCreatedByTable = "admin_users" // AdminCreatedByColumn is the table column denoting the admin_created_by relation/edge. AdminCreatedByColumn = "admin_user_admin_created_by" // RefAdminUpdatedByTable is the table that holds the ref_admin_updated_by relation/edge. RefAdminUpdatedByTable = "admin_users" // RefAdminUpdatedByColumn is the table column denoting the ref_admin_updated_by relation/edge. RefAdminUpdatedByColumn = "admin_user_admin_updated_by" // AdminUpdatedByTable is the table that holds the admin_updated_by relation/edge. AdminUpdatedByTable = "admin_users" // AdminUpdatedByColumn is the table column denoting the admin_updated_by relation/edge. AdminUpdatedByColumn = "admin_user_admin_updated_by" // RolesTable is the table that holds the roles relation/edge. The primary key declared below. RolesTable = "admin_user_roles" // RolesInverseTable is the table name for the Role entity. // It exists in this package in order to avoid circular dependency with the "role" package. RolesInverseTable = "roles" // DefaultRoleTable is the table that holds the default_role relation/edge. DefaultRoleTable = "admin_users" // DefaultRoleInverseTable is the table name for the Role entity. // It exists in this package in order to avoid circular dependency with the "role" package. DefaultRoleInverseTable = "roles" // DefaultRoleColumn is the table column denoting the default_role relation/edge. DefaultRoleColumn = "admin_user_default_role" )
Variables ¶
var ( // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // PasswordValidator is a validator for the "password" field. It is called by the builders before save. PasswordValidator func(string) error // FirstNameValidator is a validator for the "first_name" field. It is called by the builders before save. FirstNameValidator func(string) error // LastNameValidator is a validator for the "last_name" field. It is called by the builders before save. LastNameValidator func(string) error // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldName, FieldEmail, FieldPassword, FieldFirstName, FieldLastName, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for adminuser fields.
var ForeignKeys = []string{
"admin_user_admin_created_by",
"admin_user_admin_updated_by",
"admin_user_default_role",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "admin_users" table and are not defined as standalone fields in the schema.
var ( // RolesPrimaryKey and RolesColumn2 are the table columns denoting the // primary key for the roles relation (M2M). RolesPrimaryKey = []string{"admin_user_id", "role_id"} )
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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" 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 FirstName ¶
FirstName applies equality check predicate on the "first_name" field. It's identical to FirstNameEQ.
func FirstNameContains ¶
FirstNameContains applies the Contains predicate on the "first_name" field.
func FirstNameContainsFold ¶
FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.
func FirstNameEQ ¶
FirstNameEQ applies the EQ predicate on the "first_name" field.
func FirstNameEqualFold ¶
FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.
func FirstNameGT ¶
FirstNameGT applies the GT predicate on the "first_name" field.
func FirstNameGTE ¶
FirstNameGTE applies the GTE predicate on the "first_name" field.
func FirstNameHasPrefix ¶
FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.
func FirstNameHasSuffix ¶
FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.
func FirstNameIn ¶
FirstNameIn applies the In predicate on the "first_name" field.
func FirstNameLT ¶
FirstNameLT applies the LT predicate on the "first_name" field.
func FirstNameLTE ¶
FirstNameLTE applies the LTE predicate on the "first_name" field.
func FirstNameNEQ ¶
FirstNameNEQ applies the NEQ predicate on the "first_name" field.
func FirstNameNotIn ¶
FirstNameNotIn applies the NotIn predicate on the "first_name" field.
func HasAdminCreatedBy ¶
HasAdminCreatedBy applies the HasEdge predicate on the "admin_created_by" edge.
func HasAdminCreatedByWith ¶
HasAdminCreatedByWith applies the HasEdge predicate on the "admin_created_by" edge with a given conditions (other predicates).
func HasAdminUpdatedBy ¶
HasAdminUpdatedBy applies the HasEdge predicate on the "admin_updated_by" edge.
func HasAdminUpdatedByWith ¶
HasAdminUpdatedByWith applies the HasEdge predicate on the "admin_updated_by" edge with a given conditions (other predicates).
func HasDefaultRole ¶
HasDefaultRole applies the HasEdge predicate on the "default_role" edge.
func HasDefaultRoleWith ¶
HasDefaultRoleWith applies the HasEdge predicate on the "default_role" edge with a given conditions (other predicates).
func HasRefAdminCreatedBy ¶
HasRefAdminCreatedBy applies the HasEdge predicate on the "ref_admin_created_by" edge.
func HasRefAdminCreatedByWith ¶
HasRefAdminCreatedByWith applies the HasEdge predicate on the "ref_admin_created_by" edge with a given conditions (other predicates).
func HasRefAdminUpdatedBy ¶
HasRefAdminUpdatedBy applies the HasEdge predicate on the "ref_admin_updated_by" edge.
func HasRefAdminUpdatedByWith ¶
HasRefAdminUpdatedByWith applies the HasEdge predicate on the "ref_admin_updated_by" edge with a given conditions (other predicates).
func HasRolesWith ¶
HasRolesWith applies the HasEdge predicate on the "roles" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func LastName ¶
LastName applies equality check predicate on the "last_name" field. It's identical to LastNameEQ.
func LastNameContains ¶
LastNameContains applies the Contains predicate on the "last_name" field.
func LastNameContainsFold ¶
LastNameContainsFold applies the ContainsFold predicate on the "last_name" field.
func LastNameEQ ¶
LastNameEQ applies the EQ predicate on the "last_name" field.
func LastNameEqualFold ¶
LastNameEqualFold applies the EqualFold predicate on the "last_name" field.
func LastNameGT ¶
LastNameGT applies the GT predicate on the "last_name" field.
func LastNameGTE ¶
LastNameGTE applies the GTE predicate on the "last_name" field.
func LastNameHasPrefix ¶
LastNameHasPrefix applies the HasPrefix predicate on the "last_name" field.
func LastNameHasSuffix ¶
LastNameHasSuffix applies the HasSuffix predicate on the "last_name" field.
func LastNameIn ¶
LastNameIn applies the In predicate on the "last_name" field.
func LastNameLT ¶
LastNameLT applies the LT predicate on the "last_name" field.
func LastNameLTE ¶
LastNameLTE applies the LTE predicate on the "last_name" field.
func LastNameNEQ ¶
LastNameNEQ applies the NEQ predicate on the "last_name" field.
func LastNameNotIn ¶
LastNameNotIn applies the NotIn predicate on the "last_name" field.
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 NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" 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 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil 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 AdminUser queries.
func ByAdminCreatedByField ¶
func ByAdminCreatedByField(field string, opts ...sql.OrderTermOption) OrderOption
ByAdminCreatedByField orders the results by admin_created_by field.
func ByAdminUpdatedByField ¶
func ByAdminUpdatedByField(field string, opts ...sql.OrderTermOption) OrderOption
ByAdminUpdatedByField orders the results by admin_updated_by field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDefaultRoleField ¶
func ByDefaultRoleField(field string, opts ...sql.OrderTermOption) OrderOption
ByDefaultRoleField orders the results by default_role field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByFirstName ¶
func ByFirstName(opts ...sql.OrderTermOption) OrderOption
ByFirstName orders the results by the first_name field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastName ¶
func ByLastName(opts ...sql.OrderTermOption) OrderOption
ByLastName orders the results by the last_name field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPassword ¶
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.
func ByRefAdminCreatedBy ¶
func ByRefAdminCreatedBy(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRefAdminCreatedBy orders the results by ref_admin_created_by terms.
func ByRefAdminCreatedByCount ¶
func ByRefAdminCreatedByCount(opts ...sql.OrderTermOption) OrderOption
ByRefAdminCreatedByCount orders the results by ref_admin_created_by count.
func ByRefAdminUpdatedBy ¶
func ByRefAdminUpdatedBy(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRefAdminUpdatedBy orders the results by ref_admin_updated_by terms.
func ByRefAdminUpdatedByCount ¶
func ByRefAdminUpdatedByCount(opts ...sql.OrderTermOption) OrderOption
ByRefAdminUpdatedByCount orders the results by ref_admin_updated_by count.
func ByRoles ¶
func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRoles orders the results by roles terms.
func ByRolesCount ¶
func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
ByRolesCount orders the results by roles count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.