adminuser

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for adminuser fields.

View Source
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.

View Source
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 And

func And(predicates ...predicate.AdminUser) predicate.AdminUser

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.AdminUser

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AdminUser

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AdminUser

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AdminUser

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AdminUser

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.AdminUser

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AdminUser

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AdminUser

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AdminUser

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AdminUser

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.AdminUser

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func Email

func Email(v string) predicate.AdminUser

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

func EmailContains

func EmailContains(v string) predicate.AdminUser

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

func EmailContainsFold

func EmailContainsFold(v string) predicate.AdminUser

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

func EmailEQ

func EmailEQ(v string) predicate.AdminUser

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

func EmailEqualFold

func EmailEqualFold(v string) predicate.AdminUser

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

func EmailGT

func EmailGT(v string) predicate.AdminUser

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

func EmailGTE

func EmailGTE(v string) predicate.AdminUser

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.AdminUser

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.AdminUser

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

func EmailIn

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

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

func EmailLT

func EmailLT(v string) predicate.AdminUser

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

func EmailLTE

func EmailLTE(v string) predicate.AdminUser

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

func EmailNEQ

func EmailNEQ(v string) predicate.AdminUser

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

func EmailNotIn

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

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

func FirstName

func FirstName(v string) predicate.AdminUser

FirstName applies equality check predicate on the "first_name" field. It's identical to FirstNameEQ.

func FirstNameContains

func FirstNameContains(v string) predicate.AdminUser

FirstNameContains applies the Contains predicate on the "first_name" field.

func FirstNameContainsFold

func FirstNameContainsFold(v string) predicate.AdminUser

FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.

func FirstNameEQ

func FirstNameEQ(v string) predicate.AdminUser

FirstNameEQ applies the EQ predicate on the "first_name" field.

func FirstNameEqualFold

func FirstNameEqualFold(v string) predicate.AdminUser

FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.

func FirstNameGT

func FirstNameGT(v string) predicate.AdminUser

FirstNameGT applies the GT predicate on the "first_name" field.

func FirstNameGTE

func FirstNameGTE(v string) predicate.AdminUser

FirstNameGTE applies the GTE predicate on the "first_name" field.

func FirstNameHasPrefix

func FirstNameHasPrefix(v string) predicate.AdminUser

FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.

func FirstNameHasSuffix

func FirstNameHasSuffix(v string) predicate.AdminUser

FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.

func FirstNameIn

func FirstNameIn(vs ...string) predicate.AdminUser

FirstNameIn applies the In predicate on the "first_name" field.

func FirstNameLT

func FirstNameLT(v string) predicate.AdminUser

FirstNameLT applies the LT predicate on the "first_name" field.

func FirstNameLTE

func FirstNameLTE(v string) predicate.AdminUser

FirstNameLTE applies the LTE predicate on the "first_name" field.

func FirstNameNEQ

func FirstNameNEQ(v string) predicate.AdminUser

FirstNameNEQ applies the NEQ predicate on the "first_name" field.

func FirstNameNotIn

func FirstNameNotIn(vs ...string) predicate.AdminUser

FirstNameNotIn applies the NotIn predicate on the "first_name" field.

func HasAdminCreatedBy

func HasAdminCreatedBy() predicate.AdminUser

HasAdminCreatedBy applies the HasEdge predicate on the "admin_created_by" edge.

func HasAdminCreatedByWith

func HasAdminCreatedByWith(preds ...predicate.AdminUser) predicate.AdminUser

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

func HasAdminUpdatedBy

func HasAdminUpdatedBy() predicate.AdminUser

HasAdminUpdatedBy applies the HasEdge predicate on the "admin_updated_by" edge.

func HasAdminUpdatedByWith

func HasAdminUpdatedByWith(preds ...predicate.AdminUser) predicate.AdminUser

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

func HasDefaultRole

func HasDefaultRole() predicate.AdminUser

HasDefaultRole applies the HasEdge predicate on the "default_role" edge.

func HasDefaultRoleWith

func HasDefaultRoleWith(preds ...predicate.Role) predicate.AdminUser

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

func HasRefAdminCreatedBy

func HasRefAdminCreatedBy() predicate.AdminUser

HasRefAdminCreatedBy applies the HasEdge predicate on the "ref_admin_created_by" edge.

func HasRefAdminCreatedByWith

func HasRefAdminCreatedByWith(preds ...predicate.AdminUser) predicate.AdminUser

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

func HasRefAdminUpdatedBy

func HasRefAdminUpdatedBy() predicate.AdminUser

HasRefAdminUpdatedBy applies the HasEdge predicate on the "ref_admin_updated_by" edge.

func HasRefAdminUpdatedByWith

func HasRefAdminUpdatedByWith(preds ...predicate.AdminUser) predicate.AdminUser

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

func HasRoles

func HasRoles() predicate.AdminUser

HasRoles applies the HasEdge predicate on the "roles" edge.

func HasRolesWith

func HasRolesWith(preds ...predicate.Role) predicate.AdminUser

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

func ID

func ID(id string) predicate.AdminUser

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.AdminUser

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.AdminUser

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.AdminUser

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.AdminUser

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.AdminUser

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.AdminUser

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.AdminUser

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.AdminUser

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.AdminUser

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.AdminUser

IDNotIn applies the NotIn predicate on the ID field.

func LastName

func LastName(v string) predicate.AdminUser

LastName applies equality check predicate on the "last_name" field. It's identical to LastNameEQ.

func LastNameContains

func LastNameContains(v string) predicate.AdminUser

LastNameContains applies the Contains predicate on the "last_name" field.

func LastNameContainsFold

func LastNameContainsFold(v string) predicate.AdminUser

LastNameContainsFold applies the ContainsFold predicate on the "last_name" field.

func LastNameEQ

func LastNameEQ(v string) predicate.AdminUser

LastNameEQ applies the EQ predicate on the "last_name" field.

func LastNameEqualFold

func LastNameEqualFold(v string) predicate.AdminUser

LastNameEqualFold applies the EqualFold predicate on the "last_name" field.

func LastNameGT

func LastNameGT(v string) predicate.AdminUser

LastNameGT applies the GT predicate on the "last_name" field.

func LastNameGTE

func LastNameGTE(v string) predicate.AdminUser

LastNameGTE applies the GTE predicate on the "last_name" field.

func LastNameHasPrefix

func LastNameHasPrefix(v string) predicate.AdminUser

LastNameHasPrefix applies the HasPrefix predicate on the "last_name" field.

func LastNameHasSuffix

func LastNameHasSuffix(v string) predicate.AdminUser

LastNameHasSuffix applies the HasSuffix predicate on the "last_name" field.

func LastNameIn

func LastNameIn(vs ...string) predicate.AdminUser

LastNameIn applies the In predicate on the "last_name" field.

func LastNameLT

func LastNameLT(v string) predicate.AdminUser

LastNameLT applies the LT predicate on the "last_name" field.

func LastNameLTE

func LastNameLTE(v string) predicate.AdminUser

LastNameLTE applies the LTE predicate on the "last_name" field.

func LastNameNEQ

func LastNameNEQ(v string) predicate.AdminUser

LastNameNEQ applies the NEQ predicate on the "last_name" field.

func LastNameNotIn

func LastNameNotIn(vs ...string) predicate.AdminUser

LastNameNotIn applies the NotIn predicate on the "last_name" field.

func Name

func Name(v string) predicate.AdminUser

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.AdminUser

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.AdminUser

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.AdminUser

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.AdminUser

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.AdminUser

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.AdminUser

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.AdminUser

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.AdminUser

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.AdminUser

NameIn applies the In predicate on the "name" field.

func NameIsNil

func NameIsNil() predicate.AdminUser

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.AdminUser

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.AdminUser

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.AdminUser

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.AdminUser

NameNotIn applies the NotIn predicate on the "name" field.

func NameNotNil

func NameNotNil() predicate.AdminUser

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AdminUser) predicate.AdminUser

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.AdminUser

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.AdminUser

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.AdminUser

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.AdminUser

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.AdminUser

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.AdminUser

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.AdminUser

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.AdminUser

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.AdminUser

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.AdminUser

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.AdminUser

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.AdminUser

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.AdminUser

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.AdminUser

PasswordNotIn applies the NotIn predicate on the "password" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AdminUser

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AdminUser

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AdminUser

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AdminUser

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AdminUser

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.AdminUser

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AdminUser

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AdminUser

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AdminUser

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AdminUser

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.AdminUser

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the 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.

Jump to

Keyboard shortcuts

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