Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Groups) predicate.Groups
- func CreatedAt(v time.Time) predicate.Groups
- func CreatedAtEQ(v time.Time) predicate.Groups
- func CreatedAtGT(v time.Time) predicate.Groups
- func CreatedAtGTE(v time.Time) predicate.Groups
- func CreatedAtIn(vs ...time.Time) predicate.Groups
- func CreatedAtLT(v time.Time) predicate.Groups
- func CreatedAtLTE(v time.Time) predicate.Groups
- func CreatedAtNEQ(v time.Time) predicate.Groups
- func CreatedAtNotIn(vs ...time.Time) predicate.Groups
- func CreatedBy(v int64) predicate.Groups
- func CreatedByEQ(v int64) predicate.Groups
- func CreatedByGT(v int64) predicate.Groups
- func CreatedByGTE(v int64) predicate.Groups
- func CreatedByIn(vs ...int64) predicate.Groups
- func CreatedByIsNil() predicate.Groups
- func CreatedByLT(v int64) predicate.Groups
- func CreatedByLTE(v int64) predicate.Groups
- func CreatedByNEQ(v int64) predicate.Groups
- func CreatedByNotIn(vs ...int64) predicate.Groups
- func CreatedByNotNil() predicate.Groups
- func DeletedAt(v time.Time) predicate.Groups
- func DeletedAtEQ(v time.Time) predicate.Groups
- func DeletedAtGT(v time.Time) predicate.Groups
- func DeletedAtGTE(v time.Time) predicate.Groups
- func DeletedAtIn(vs ...time.Time) predicate.Groups
- func DeletedAtIsNil() predicate.Groups
- func DeletedAtLT(v time.Time) predicate.Groups
- func DeletedAtLTE(v time.Time) predicate.Groups
- func DeletedAtNEQ(v time.Time) predicate.Groups
- func DeletedAtNotIn(vs ...time.Time) predicate.Groups
- func DeletedAtNotNil() predicate.Groups
- func DepartmentID(v int) predicate.Groups
- func DepartmentIDEQ(v int) predicate.Groups
- func DepartmentIDIn(vs ...int) predicate.Groups
- func DepartmentIDNEQ(v int) predicate.Groups
- func DepartmentIDNotIn(vs ...int) predicate.Groups
- func Description(v string) predicate.Groups
- func DescriptionContains(v string) predicate.Groups
- func DescriptionContainsFold(v string) predicate.Groups
- func DescriptionEQ(v string) predicate.Groups
- func DescriptionEqualFold(v string) predicate.Groups
- func DescriptionGT(v string) predicate.Groups
- func DescriptionGTE(v string) predicate.Groups
- func DescriptionHasPrefix(v string) predicate.Groups
- func DescriptionHasSuffix(v string) predicate.Groups
- func DescriptionIn(vs ...string) predicate.Groups
- func DescriptionLT(v string) predicate.Groups
- func DescriptionLTE(v string) predicate.Groups
- func DescriptionNEQ(v string) predicate.Groups
- func DescriptionNotIn(vs ...string) predicate.Groups
- func ExternalID(v string) predicate.Groups
- func ExternalIDContains(v string) predicate.Groups
- func ExternalIDContainsFold(v string) predicate.Groups
- func ExternalIDEQ(v string) predicate.Groups
- func ExternalIDEqualFold(v string) predicate.Groups
- func ExternalIDGT(v string) predicate.Groups
- func ExternalIDGTE(v string) predicate.Groups
- func ExternalIDHasPrefix(v string) predicate.Groups
- func ExternalIDHasSuffix(v string) predicate.Groups
- func ExternalIDIn(vs ...string) predicate.Groups
- func ExternalIDLT(v string) predicate.Groups
- func ExternalIDLTE(v string) predicate.Groups
- func ExternalIDNEQ(v string) predicate.Groups
- func ExternalIDNotIn(vs ...string) predicate.Groups
- func GroupStatus(v int) predicate.Groups
- func GroupStatusEQ(v int) predicate.Groups
- func GroupStatusGT(v int) predicate.Groups
- func GroupStatusGTE(v int) predicate.Groups
- func GroupStatusIn(vs ...int) predicate.Groups
- func GroupStatusLT(v int) predicate.Groups
- func GroupStatusLTE(v int) predicate.Groups
- func GroupStatusNEQ(v int) predicate.Groups
- func GroupStatusNotIn(vs ...int) predicate.Groups
- func GroupType(v int) predicate.Groups
- func GroupTypeEQ(v int) predicate.Groups
- func GroupTypeGT(v int) predicate.Groups
- func GroupTypeGTE(v int) predicate.Groups
- func GroupTypeIn(vs ...int) predicate.Groups
- func GroupTypeLT(v int) predicate.Groups
- func GroupTypeLTE(v int) predicate.Groups
- func GroupTypeNEQ(v int) predicate.Groups
- func GroupTypeNotIn(vs ...int) predicate.Groups
- func HasLionDepartments() predicate.Groups
- func HasLionDepartmentsWith(preds ...predicate.Departments) predicate.Groups
- func HasLionGroups() predicate.Groups
- func HasLionGroupsWith(preds ...predicate.GroupRoles) predicate.Groups
- func HasLionUserGroups() predicate.Groups
- func HasLionUserGroupsWith(preds ...predicate.UserGroups) predicate.Groups
- func ID(id int) predicate.Groups
- func IDEQ(id int) predicate.Groups
- func IDGT(id int) predicate.Groups
- func IDGTE(id int) predicate.Groups
- func IDIn(ids ...int) predicate.Groups
- func IDLT(id int) predicate.Groups
- func IDLTE(id int) predicate.Groups
- func IDNEQ(id int) predicate.Groups
- func IDNotIn(ids ...int) predicate.Groups
- func MaxMembers(v int) predicate.Groups
- func MaxMembersEQ(v int) predicate.Groups
- func MaxMembersGT(v int) predicate.Groups
- func MaxMembersGTE(v int) predicate.Groups
- func MaxMembersIn(vs ...int) predicate.Groups
- func MaxMembersLT(v int) predicate.Groups
- func MaxMembersLTE(v int) predicate.Groups
- func MaxMembersNEQ(v int) predicate.Groups
- func MaxMembersNotIn(vs ...int) predicate.Groups
- func Name(v string) predicate.Groups
- func NameContains(v string) predicate.Groups
- func NameContainsFold(v string) predicate.Groups
- func NameEQ(v string) predicate.Groups
- func NameEqualFold(v string) predicate.Groups
- func NameGT(v string) predicate.Groups
- func NameGTE(v string) predicate.Groups
- func NameHasPrefix(v string) predicate.Groups
- func NameHasSuffix(v string) predicate.Groups
- func NameIn(vs ...string) predicate.Groups
- func NameLT(v string) predicate.Groups
- func NameLTE(v string) predicate.Groups
- func NameNEQ(v string) predicate.Groups
- func NameNotIn(vs ...string) predicate.Groups
- func Not(p predicate.Groups) predicate.Groups
- func Or(predicates ...predicate.Groups) predicate.Groups
- func ParentID(v int) predicate.Groups
- func ParentIDEQ(v int) predicate.Groups
- func ParentIDGT(v int) predicate.Groups
- func ParentIDGTE(v int) predicate.Groups
- func ParentIDIn(vs ...int) predicate.Groups
- func ParentIDLT(v int) predicate.Groups
- func ParentIDLTE(v int) predicate.Groups
- func ParentIDNEQ(v int) predicate.Groups
- func ParentIDNotIn(vs ...int) predicate.Groups
- func SortOrder(v int) predicate.Groups
- func SortOrderEQ(v int) predicate.Groups
- func SortOrderGT(v int) predicate.Groups
- func SortOrderGTE(v int) predicate.Groups
- func SortOrderIn(vs ...int) predicate.Groups
- func SortOrderLT(v int) predicate.Groups
- func SortOrderLTE(v int) predicate.Groups
- func SortOrderNEQ(v int) predicate.Groups
- func SortOrderNotIn(vs ...int) predicate.Groups
- func UpdatedAt(v time.Time) predicate.Groups
- func UpdatedAtEQ(v time.Time) predicate.Groups
- func UpdatedAtGT(v time.Time) predicate.Groups
- func UpdatedAtGTE(v time.Time) predicate.Groups
- func UpdatedAtIn(vs ...time.Time) predicate.Groups
- func UpdatedAtLT(v time.Time) predicate.Groups
- func UpdatedAtLTE(v time.Time) predicate.Groups
- func UpdatedAtNEQ(v time.Time) predicate.Groups
- func UpdatedAtNotIn(vs ...time.Time) predicate.Groups
- func UpdatedBy(v int64) predicate.Groups
- func UpdatedByEQ(v int64) predicate.Groups
- func UpdatedByGT(v int64) predicate.Groups
- func UpdatedByGTE(v int64) predicate.Groups
- func UpdatedByIn(vs ...int64) predicate.Groups
- func UpdatedByIsNil() predicate.Groups
- func UpdatedByLT(v int64) predicate.Groups
- func UpdatedByLTE(v int64) predicate.Groups
- func UpdatedByNEQ(v int64) predicate.Groups
- func UpdatedByNotIn(vs ...int64) predicate.Groups
- func UpdatedByNotNil() predicate.Groups
- 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 ByDepartmentID(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByExternalID(opts ...sql.OrderTermOption) OrderOption
- func ByGroupStatus(opts ...sql.OrderTermOption) OrderOption
- func ByGroupType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLionDepartmentsField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLionGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLionUserGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionUserGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByMaxMembers(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByParentID(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 groups type in the database. Label = "groups" // 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" // FieldGroupType holds the string denoting the group_type field in the database. FieldGroupType = "group_type" // FieldGroupStatus holds the string denoting the group_status field in the database. FieldGroupStatus = "group_status" // FieldSortOrder holds the string denoting the sort_order field in the database. FieldSortOrder = "sort_order" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // FieldMaxMembers holds the string denoting the max_members field in the database. FieldMaxMembers = "max_members" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldExternalID holds the string denoting the external_id field in the database. FieldExternalID = "external_id" // FieldDepartmentID holds the string denoting the department_id field in the database. FieldDepartmentID = "department_id" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeLionGroups holds the string denoting the lion_groups edge name in mutations. EdgeLionGroups = "lion_groups" // EdgeLionUserGroups holds the string denoting the lion_user_groups edge name in mutations. EdgeLionUserGroups = "lion_user_groups" // EdgeLionDepartments holds the string denoting the lion_departments edge name in mutations. EdgeLionDepartments = "lion_departments" // Table holds the table name of the groups in the database. Table = "lion_groups" // LionGroupsTable is the table that holds the lion_groups relation/edge. LionGroupsTable = "lion_group_roles" // LionGroupsInverseTable is the table name for the GroupRoles entity. // It exists in this package in order to avoid circular dependency with the "grouproles" package. LionGroupsInverseTable = "lion_group_roles" // LionGroupsColumn is the table column denoting the lion_groups relation/edge. LionGroupsColumn = "group_id" // LionUserGroupsTable is the table that holds the lion_user_groups relation/edge. LionUserGroupsTable = "lion_user_groups" // LionUserGroupsInverseTable is the table name for the UserGroups entity. // It exists in this package in order to avoid circular dependency with the "usergroups" package. LionUserGroupsInverseTable = "lion_user_groups" // LionUserGroupsColumn is the table column denoting the lion_user_groups relation/edge. LionUserGroupsColumn = "group_id" // LionDepartmentsTable is the table that holds the lion_departments relation/edge. LionDepartmentsTable = "lion_groups" // LionDepartmentsInverseTable is the table name for the Departments entity. // It exists in this package in order to avoid circular dependency with the "departments" package. LionDepartmentsInverseTable = "lion_departments" // LionDepartmentsColumn is the table column denoting the lion_departments relation/edge. LionDepartmentsColumn = "department_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 // DefaultGroupType holds the default value on creation for the "group_type" field. DefaultGroupType int // DefaultGroupStatus holds the default value on creation for the "group_status" field. DefaultGroupStatus int // DefaultSortOrder holds the default value on creation for the "sort_order" field. DefaultSortOrder int // DefaultParentID holds the default value on creation for the "parent_id" field. DefaultParentID int // DefaultMaxMembers holds the default value on creation for the "max_members" field. DefaultMaxMembers int // DefaultMetadata holds the default value on creation for the "metadata" field. DefaultMetadata map[string]string // DefaultExternalID holds the default value on creation for the "external_id" field. DefaultExternalID string // DefaultDepartmentID holds the default value on creation for the "department_id" field. DefaultDepartmentID int // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldCreatedBy, FieldUpdatedBy, FieldName, FieldGroupType, FieldGroupStatus, FieldSortOrder, FieldParentID, FieldMaxMembers, FieldMetadata, FieldExternalID, FieldDepartmentID, FieldDescription, }
Columns holds all SQL columns for groups 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 DepartmentID ¶
DepartmentID applies equality check predicate on the "department_id" field. It's identical to DepartmentIDEQ.
func DepartmentIDEQ ¶
DepartmentIDEQ applies the EQ predicate on the "department_id" field.
func DepartmentIDIn ¶
DepartmentIDIn applies the In predicate on the "department_id" field.
func DepartmentIDNEQ ¶
DepartmentIDNEQ applies the NEQ predicate on the "department_id" field.
func DepartmentIDNotIn ¶
DepartmentIDNotIn applies the NotIn predicate on the "department_id" 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 ExternalID ¶
ExternalID applies equality check predicate on the "external_id" field. It's identical to ExternalIDEQ.
func ExternalIDContains ¶
ExternalIDContains applies the Contains predicate on the "external_id" field.
func ExternalIDContainsFold ¶
ExternalIDContainsFold applies the ContainsFold predicate on the "external_id" field.
func ExternalIDEQ ¶
ExternalIDEQ applies the EQ predicate on the "external_id" field.
func ExternalIDEqualFold ¶
ExternalIDEqualFold applies the EqualFold predicate on the "external_id" field.
func ExternalIDGT ¶
ExternalIDGT applies the GT predicate on the "external_id" field.
func ExternalIDGTE ¶
ExternalIDGTE applies the GTE predicate on the "external_id" field.
func ExternalIDHasPrefix ¶
ExternalIDHasPrefix applies the HasPrefix predicate on the "external_id" field.
func ExternalIDHasSuffix ¶
ExternalIDHasSuffix applies the HasSuffix predicate on the "external_id" field.
func ExternalIDIn ¶
ExternalIDIn applies the In predicate on the "external_id" field.
func ExternalIDLT ¶
ExternalIDLT applies the LT predicate on the "external_id" field.
func ExternalIDLTE ¶
ExternalIDLTE applies the LTE predicate on the "external_id" field.
func ExternalIDNEQ ¶
ExternalIDNEQ applies the NEQ predicate on the "external_id" field.
func ExternalIDNotIn ¶
ExternalIDNotIn applies the NotIn predicate on the "external_id" field.
func GroupStatus ¶
GroupStatus applies equality check predicate on the "group_status" field. It's identical to GroupStatusEQ.
func GroupStatusEQ ¶
GroupStatusEQ applies the EQ predicate on the "group_status" field.
func GroupStatusGT ¶
GroupStatusGT applies the GT predicate on the "group_status" field.
func GroupStatusGTE ¶
GroupStatusGTE applies the GTE predicate on the "group_status" field.
func GroupStatusIn ¶
GroupStatusIn applies the In predicate on the "group_status" field.
func GroupStatusLT ¶
GroupStatusLT applies the LT predicate on the "group_status" field.
func GroupStatusLTE ¶
GroupStatusLTE applies the LTE predicate on the "group_status" field.
func GroupStatusNEQ ¶
GroupStatusNEQ applies the NEQ predicate on the "group_status" field.
func GroupStatusNotIn ¶
GroupStatusNotIn applies the NotIn predicate on the "group_status" field.
func GroupType ¶
GroupType applies equality check predicate on the "group_type" field. It's identical to GroupTypeEQ.
func GroupTypeEQ ¶
GroupTypeEQ applies the EQ predicate on the "group_type" field.
func GroupTypeGT ¶
GroupTypeGT applies the GT predicate on the "group_type" field.
func GroupTypeGTE ¶
GroupTypeGTE applies the GTE predicate on the "group_type" field.
func GroupTypeIn ¶
GroupTypeIn applies the In predicate on the "group_type" field.
func GroupTypeLT ¶
GroupTypeLT applies the LT predicate on the "group_type" field.
func GroupTypeLTE ¶
GroupTypeLTE applies the LTE predicate on the "group_type" field.
func GroupTypeNEQ ¶
GroupTypeNEQ applies the NEQ predicate on the "group_type" field.
func GroupTypeNotIn ¶
GroupTypeNotIn applies the NotIn predicate on the "group_type" field.
func HasLionDepartments ¶
HasLionDepartments applies the HasEdge predicate on the "lion_departments" edge.
func HasLionDepartmentsWith ¶
func HasLionDepartmentsWith(preds ...predicate.Departments) predicate.Groups
HasLionDepartmentsWith applies the HasEdge predicate on the "lion_departments" edge with a given conditions (other predicates).
func HasLionGroups ¶
HasLionGroups applies the HasEdge predicate on the "lion_groups" edge.
func HasLionGroupsWith ¶
func HasLionGroupsWith(preds ...predicate.GroupRoles) predicate.Groups
HasLionGroupsWith applies the HasEdge predicate on the "lion_groups" edge with a given conditions (other predicates).
func HasLionUserGroups ¶
HasLionUserGroups applies the HasEdge predicate on the "lion_user_groups" edge.
func HasLionUserGroupsWith ¶
func HasLionUserGroupsWith(preds ...predicate.UserGroups) predicate.Groups
HasLionUserGroupsWith applies the HasEdge predicate on the "lion_user_groups" edge with a given conditions (other predicates).
func MaxMembers ¶
MaxMembers applies equality check predicate on the "max_members" field. It's identical to MaxMembersEQ.
func MaxMembersEQ ¶
MaxMembersEQ applies the EQ predicate on the "max_members" field.
func MaxMembersGT ¶
MaxMembersGT applies the GT predicate on the "max_members" field.
func MaxMembersGTE ¶
MaxMembersGTE applies the GTE predicate on the "max_members" field.
func MaxMembersIn ¶
MaxMembersIn applies the In predicate on the "max_members" field.
func MaxMembersLT ¶
MaxMembersLT applies the LT predicate on the "max_members" field.
func MaxMembersLTE ¶
MaxMembersLTE applies the LTE predicate on the "max_members" field.
func MaxMembersNEQ ¶
MaxMembersNEQ applies the NEQ predicate on the "max_members" field.
func MaxMembersNotIn ¶
MaxMembersNotIn applies the NotIn predicate on the "max_members" 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 ParentID ¶
ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.
func ParentIDEQ ¶
ParentIDEQ applies the EQ predicate on the "parent_id" field.
func ParentIDGT ¶
ParentIDGT applies the GT predicate on the "parent_id" field.
func ParentIDGTE ¶
ParentIDGTE applies the GTE predicate on the "parent_id" field.
func ParentIDIn ¶
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDLT ¶
ParentIDLT applies the LT predicate on the "parent_id" field.
func ParentIDLTE ¶
ParentIDLTE applies the LTE predicate on the "parent_id" field.
func ParentIDNEQ ¶
ParentIDNEQ applies the NEQ predicate on the "parent_id" field.
func ParentIDNotIn ¶
ParentIDNotIn applies the NotIn predicate on the "parent_id" 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 Groups 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 ByDepartmentID ¶
func ByDepartmentID(opts ...sql.OrderTermOption) OrderOption
ByDepartmentID orders the results by the department_id field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByExternalID ¶
func ByExternalID(opts ...sql.OrderTermOption) OrderOption
ByExternalID orders the results by the external_id field.
func ByGroupStatus ¶
func ByGroupStatus(opts ...sql.OrderTermOption) OrderOption
ByGroupStatus orders the results by the group_status field.
func ByGroupType ¶
func ByGroupType(opts ...sql.OrderTermOption) OrderOption
ByGroupType orders the results by the group_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLionDepartmentsField ¶
func ByLionDepartmentsField(field string, opts ...sql.OrderTermOption) OrderOption
ByLionDepartmentsField orders the results by lion_departments field.
func ByLionGroups ¶
func ByLionGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLionGroups orders the results by lion_groups terms.
func ByLionGroupsCount ¶
func ByLionGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByLionGroupsCount orders the results by lion_groups count.
func ByLionUserGroups ¶
func ByLionUserGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLionUserGroups orders the results by lion_user_groups terms.
func ByLionUserGroupsCount ¶
func ByLionUserGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByLionUserGroupsCount orders the results by lion_user_groups count.
func ByMaxMembers ¶
func ByMaxMembers(opts ...sql.OrderTermOption) OrderOption
ByMaxMembers orders the results by the max_members field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByParentID ¶
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id 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.