Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Roles) predicate.Roles
- func CreatedAt(v time.Time) predicate.Roles
- func CreatedAtEQ(v time.Time) predicate.Roles
- func CreatedAtGT(v time.Time) predicate.Roles
- func CreatedAtGTE(v time.Time) predicate.Roles
- func CreatedAtIn(vs ...time.Time) predicate.Roles
- func CreatedAtLT(v time.Time) predicate.Roles
- func CreatedAtLTE(v time.Time) predicate.Roles
- func CreatedAtNEQ(v time.Time) predicate.Roles
- func CreatedAtNotIn(vs ...time.Time) predicate.Roles
- func CreatedBy(v int64) predicate.Roles
- func CreatedByEQ(v int64) predicate.Roles
- func CreatedByGT(v int64) predicate.Roles
- func CreatedByGTE(v int64) predicate.Roles
- func CreatedByIn(vs ...int64) predicate.Roles
- func CreatedByIsNil() predicate.Roles
- func CreatedByLT(v int64) predicate.Roles
- func CreatedByLTE(v int64) predicate.Roles
- func CreatedByNEQ(v int64) predicate.Roles
- func CreatedByNotIn(vs ...int64) predicate.Roles
- func CreatedByNotNil() predicate.Roles
- func DeletedAt(v time.Time) predicate.Roles
- func DeletedAtEQ(v time.Time) predicate.Roles
- func DeletedAtGT(v time.Time) predicate.Roles
- func DeletedAtGTE(v time.Time) predicate.Roles
- func DeletedAtIn(vs ...time.Time) predicate.Roles
- func DeletedAtIsNil() predicate.Roles
- func DeletedAtLT(v time.Time) predicate.Roles
- func DeletedAtLTE(v time.Time) predicate.Roles
- func DeletedAtNEQ(v time.Time) predicate.Roles
- func DeletedAtNotIn(vs ...time.Time) predicate.Roles
- func DeletedAtNotNil() predicate.Roles
- func Description(v string) predicate.Roles
- func DescriptionContains(v string) predicate.Roles
- func DescriptionContainsFold(v string) predicate.Roles
- func DescriptionEQ(v string) predicate.Roles
- func DescriptionEqualFold(v string) predicate.Roles
- func DescriptionGT(v string) predicate.Roles
- func DescriptionGTE(v string) predicate.Roles
- func DescriptionHasPrefix(v string) predicate.Roles
- func DescriptionHasSuffix(v string) predicate.Roles
- func DescriptionIn(vs ...string) predicate.Roles
- func DescriptionLT(v string) predicate.Roles
- func DescriptionLTE(v string) predicate.Roles
- func DescriptionNEQ(v string) predicate.Roles
- func DescriptionNotIn(vs ...string) predicate.Roles
- func HasLionDepartmentRoles() predicate.Roles
- func HasLionDepartmentRolesWith(preds ...predicate.DepartmentRoles) predicate.Roles
- func HasLionRoleGroups() predicate.Roles
- func HasLionRoleGroupsWith(preds ...predicate.GroupRoles) predicate.Roles
- func HasLionRolePermissions() predicate.Roles
- func HasLionRolePermissionsWith(preds ...predicate.RolePermissions) predicate.Roles
- func HasLionUserRoles() predicate.Roles
- func HasLionUserRolesWith(preds ...predicate.UserRoles) predicate.Roles
- func ID(id int) predicate.Roles
- func IDEQ(id int) predicate.Roles
- func IDGT(id int) predicate.Roles
- func IDGTE(id int) predicate.Roles
- func IDIn(ids ...int) predicate.Roles
- func IDLT(id int) predicate.Roles
- func IDLTE(id int) predicate.Roles
- func IDNEQ(id int) predicate.Roles
- func IDNotIn(ids ...int) predicate.Roles
- func Name(v string) predicate.Roles
- func NameContains(v string) predicate.Roles
- func NameContainsFold(v string) predicate.Roles
- func NameEQ(v string) predicate.Roles
- func NameEqualFold(v string) predicate.Roles
- func NameGT(v string) predicate.Roles
- func NameGTE(v string) predicate.Roles
- func NameHasPrefix(v string) predicate.Roles
- func NameHasSuffix(v string) predicate.Roles
- func NameIn(vs ...string) predicate.Roles
- func NameLT(v string) predicate.Roles
- func NameLTE(v string) predicate.Roles
- func NameNEQ(v string) predicate.Roles
- func NameNotIn(vs ...string) predicate.Roles
- func Not(p predicate.Roles) predicate.Roles
- func Or(predicates ...predicate.Roles) predicate.Roles
- func RoleStatus(v int) predicate.Roles
- func RoleStatusEQ(v int) predicate.Roles
- func RoleStatusGT(v int) predicate.Roles
- func RoleStatusGTE(v int) predicate.Roles
- func RoleStatusIn(vs ...int) predicate.Roles
- func RoleStatusLT(v int) predicate.Roles
- func RoleStatusLTE(v int) predicate.Roles
- func RoleStatusNEQ(v int) predicate.Roles
- func RoleStatusNotIn(vs ...int) predicate.Roles
- func RoleType(v int) predicate.Roles
- func RoleTypeEQ(v int) predicate.Roles
- func RoleTypeGT(v int) predicate.Roles
- func RoleTypeGTE(v int) predicate.Roles
- func RoleTypeIn(vs ...int) predicate.Roles
- func RoleTypeLT(v int) predicate.Roles
- func RoleTypeLTE(v int) predicate.Roles
- func RoleTypeNEQ(v int) predicate.Roles
- func RoleTypeNotIn(vs ...int) predicate.Roles
- func SortOrder(v int) predicate.Roles
- func SortOrderEQ(v int) predicate.Roles
- func SortOrderGT(v int) predicate.Roles
- func SortOrderGTE(v int) predicate.Roles
- func SortOrderIn(vs ...int) predicate.Roles
- func SortOrderLT(v int) predicate.Roles
- func SortOrderLTE(v int) predicate.Roles
- func SortOrderNEQ(v int) predicate.Roles
- func SortOrderNotIn(vs ...int) predicate.Roles
- func UpdatedAt(v time.Time) predicate.Roles
- func UpdatedAtEQ(v time.Time) predicate.Roles
- func UpdatedAtGT(v time.Time) predicate.Roles
- func UpdatedAtGTE(v time.Time) predicate.Roles
- func UpdatedAtIn(vs ...time.Time) predicate.Roles
- func UpdatedAtLT(v time.Time) predicate.Roles
- func UpdatedAtLTE(v time.Time) predicate.Roles
- func UpdatedAtNEQ(v time.Time) predicate.Roles
- func UpdatedAtNotIn(vs ...time.Time) predicate.Roles
- func UpdatedBy(v int64) predicate.Roles
- func UpdatedByEQ(v int64) predicate.Roles
- func UpdatedByGT(v int64) predicate.Roles
- func UpdatedByGTE(v int64) predicate.Roles
- func UpdatedByIn(vs ...int64) predicate.Roles
- func UpdatedByIsNil() predicate.Roles
- func UpdatedByLT(v int64) predicate.Roles
- func UpdatedByLTE(v int64) predicate.Roles
- func UpdatedByNEQ(v int64) predicate.Roles
- func UpdatedByNotIn(vs ...int64) predicate.Roles
- func UpdatedByNotNil() predicate.Roles
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLionDepartmentRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionDepartmentRolesCount(opts ...sql.OrderTermOption) OrderOption
- func ByLionRoleGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionRoleGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLionRolePermissions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionRolePermissionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLionUserRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionUserRolesCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRoleStatus(opts ...sql.OrderTermOption) OrderOption
- func ByRoleType(opts ...sql.OrderTermOption) OrderOption
- func BySortOrder(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the roles type in the database. Label = "roles" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldRoleType holds the string denoting the role_type field in the database. FieldRoleType = "role_type" // FieldRoleStatus holds the string denoting the role_status field in the database. FieldRoleStatus = "role_status" // FieldSortOrder holds the string denoting the sort_order field in the database. FieldSortOrder = "sort_order" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeLionRolePermissions holds the string denoting the lion_role_permissions edge name in mutations. EdgeLionRolePermissions = "lion_role_permissions" // EdgeLionUserRoles holds the string denoting the lion_user_roles edge name in mutations. EdgeLionUserRoles = "lion_user_roles" // EdgeLionRoleGroups holds the string denoting the lion_role_groups edge name in mutations. EdgeLionRoleGroups = "lion_role_groups" // EdgeLionDepartmentRoles holds the string denoting the lion_department_roles edge name in mutations. EdgeLionDepartmentRoles = "lion_department_roles" // Table holds the table name of the roles in the database. Table = "lion_roles" // LionRolePermissionsTable is the table that holds the lion_role_permissions relation/edge. LionRolePermissionsTable = "lion_role_permissions" // LionRolePermissionsInverseTable is the table name for the RolePermissions entity. // It exists in this package in order to avoid circular dependency with the "rolepermissions" package. LionRolePermissionsInverseTable = "lion_role_permissions" // LionRolePermissionsColumn is the table column denoting the lion_role_permissions relation/edge. LionRolePermissionsColumn = "role_id" // LionUserRolesTable is the table that holds the lion_user_roles relation/edge. LionUserRolesTable = "lion_user_roles" // LionUserRolesInverseTable is the table name for the UserRoles entity. // It exists in this package in order to avoid circular dependency with the "userroles" package. LionUserRolesInverseTable = "lion_user_roles" // LionUserRolesColumn is the table column denoting the lion_user_roles relation/edge. LionUserRolesColumn = "role_id" // LionRoleGroupsTable is the table that holds the lion_role_groups relation/edge. LionRoleGroupsTable = "lion_group_roles" // LionRoleGroupsInverseTable is the table name for the GroupRoles entity. // It exists in this package in order to avoid circular dependency with the "grouproles" package. LionRoleGroupsInverseTable = "lion_group_roles" // LionRoleGroupsColumn is the table column denoting the lion_role_groups relation/edge. LionRoleGroupsColumn = "role_id" // LionDepartmentRolesTable is the table that holds the lion_department_roles relation/edge. LionDepartmentRolesTable = "lion_department_roles" // LionDepartmentRolesInverseTable is the table name for the DepartmentRoles entity. // It exists in this package in order to avoid circular dependency with the "departmentroles" package. LionDepartmentRolesInverseTable = "lion_department_roles" // LionDepartmentRolesColumn is the table column denoting the lion_department_roles relation/edge. LionDepartmentRolesColumn = "role_id" )
Variables ¶
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 // DefaultCreatedBy holds the default value on creation for the "created_by" field. DefaultCreatedBy int64 // DefaultUpdatedBy holds the default value on creation for the "updated_by" field. DefaultUpdatedBy int64 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultRoleType holds the default value on creation for the "role_type" field. DefaultRoleType int // DefaultRoleStatus holds the default value on creation for the "role_status" field. DefaultRoleStatus int // DefaultSortOrder holds the default value on creation for the "sort_order" field. DefaultSortOrder int // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldCreatedBy, FieldUpdatedBy, FieldName, FieldRoleType, FieldRoleStatus, FieldSortOrder, FieldDescription, }
Columns holds all SQL columns for roles fields.
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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_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 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 HasLionDepartmentRoles ¶
HasLionDepartmentRoles applies the HasEdge predicate on the "lion_department_roles" edge.
func HasLionDepartmentRolesWith ¶
func HasLionDepartmentRolesWith(preds ...predicate.DepartmentRoles) predicate.Roles
HasLionDepartmentRolesWith applies the HasEdge predicate on the "lion_department_roles" edge with a given conditions (other predicates).
func HasLionRoleGroups ¶
HasLionRoleGroups applies the HasEdge predicate on the "lion_role_groups" edge.
func HasLionRoleGroupsWith ¶
func HasLionRoleGroupsWith(preds ...predicate.GroupRoles) predicate.Roles
HasLionRoleGroupsWith applies the HasEdge predicate on the "lion_role_groups" edge with a given conditions (other predicates).
func HasLionRolePermissions ¶
HasLionRolePermissions applies the HasEdge predicate on the "lion_role_permissions" edge.
func HasLionRolePermissionsWith ¶
func HasLionRolePermissionsWith(preds ...predicate.RolePermissions) predicate.Roles
HasLionRolePermissionsWith applies the HasEdge predicate on the "lion_role_permissions" edge with a given conditions (other predicates).
func HasLionUserRoles ¶
HasLionUserRoles applies the HasEdge predicate on the "lion_user_roles" edge.
func HasLionUserRolesWith ¶
HasLionUserRolesWith applies the HasEdge predicate on the "lion_user_roles" 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 RoleStatus ¶
RoleStatus applies equality check predicate on the "role_status" field. It's identical to RoleStatusEQ.
func RoleStatusEQ ¶
RoleStatusEQ applies the EQ predicate on the "role_status" field.
func RoleStatusGT ¶
RoleStatusGT applies the GT predicate on the "role_status" field.
func RoleStatusGTE ¶
RoleStatusGTE applies the GTE predicate on the "role_status" field.
func RoleStatusIn ¶
RoleStatusIn applies the In predicate on the "role_status" field.
func RoleStatusLT ¶
RoleStatusLT applies the LT predicate on the "role_status" field.
func RoleStatusLTE ¶
RoleStatusLTE applies the LTE predicate on the "role_status" field.
func RoleStatusNEQ ¶
RoleStatusNEQ applies the NEQ predicate on the "role_status" field.
func RoleStatusNotIn ¶
RoleStatusNotIn applies the NotIn predicate on the "role_status" field.
func RoleType ¶
RoleType applies equality check predicate on the "role_type" field. It's identical to RoleTypeEQ.
func RoleTypeEQ ¶
RoleTypeEQ applies the EQ predicate on the "role_type" field.
func RoleTypeGT ¶
RoleTypeGT applies the GT predicate on the "role_type" field.
func RoleTypeGTE ¶
RoleTypeGTE applies the GTE predicate on the "role_type" field.
func RoleTypeIn ¶
RoleTypeIn applies the In predicate on the "role_type" field.
func RoleTypeLT ¶
RoleTypeLT applies the LT predicate on the "role_type" field.
func RoleTypeLTE ¶
RoleTypeLTE applies the LTE predicate on the "role_type" field.
func RoleTypeNEQ ¶
RoleTypeNEQ applies the NEQ predicate on the "role_type" field.
func RoleTypeNotIn ¶
RoleTypeNotIn applies the NotIn predicate on the "role_type" field.
func SortOrder ¶
SortOrder applies equality check predicate on the "sort_order" field. It's identical to SortOrderEQ.
func SortOrderEQ ¶
SortOrderEQ applies the EQ predicate on the "sort_order" field.
func SortOrderGT ¶
SortOrderGT applies the GT predicate on the "sort_order" field.
func SortOrderGTE ¶
SortOrderGTE applies the GTE predicate on the "sort_order" field.
func SortOrderIn ¶
SortOrderIn applies the In predicate on the "sort_order" field.
func SortOrderLT ¶
SortOrderLT applies the LT predicate on the "sort_order" field.
func SortOrderLTE ¶
SortOrderLTE applies the LTE predicate on the "sort_order" field.
func SortOrderNEQ ¶
SortOrderNEQ applies the NEQ predicate on the "sort_order" field.
func SortOrderNotIn ¶
SortOrderNotIn applies the NotIn predicate on the "sort_order" 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 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 Roles queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLionDepartmentRoles ¶
func ByLionDepartmentRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLionDepartmentRoles orders the results by lion_department_roles terms.
func ByLionDepartmentRolesCount ¶
func ByLionDepartmentRolesCount(opts ...sql.OrderTermOption) OrderOption
ByLionDepartmentRolesCount orders the results by lion_department_roles count.
func ByLionRoleGroups ¶
func ByLionRoleGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLionRoleGroups orders the results by lion_role_groups terms.
func ByLionRoleGroupsCount ¶
func ByLionRoleGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByLionRoleGroupsCount orders the results by lion_role_groups count.
func ByLionRolePermissions ¶
func ByLionRolePermissions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLionRolePermissions orders the results by lion_role_permissions terms.
func ByLionRolePermissionsCount ¶
func ByLionRolePermissionsCount(opts ...sql.OrderTermOption) OrderOption
ByLionRolePermissionsCount orders the results by lion_role_permissions count.
func ByLionUserRoles ¶
func ByLionUserRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLionUserRoles orders the results by lion_user_roles terms.
func ByLionUserRolesCount ¶
func ByLionUserRolesCount(opts ...sql.OrderTermOption) OrderOption
ByLionUserRolesCount orders the results by lion_user_roles count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRoleStatus ¶
func ByRoleStatus(opts ...sql.OrderTermOption) OrderOption
ByRoleStatus orders the results by the role_status field.
func ByRoleType ¶
func ByRoleType(opts ...sql.OrderTermOption) OrderOption
ByRoleType orders the results by the role_type field.
func BySortOrder ¶
func BySortOrder(opts ...sql.OrderTermOption) OrderOption
BySortOrder orders the results by the sort_order field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.