Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Group) predicate.Group
- func CreatedAt(v time.Time) predicate.Group
- func CreatedAtEQ(v time.Time) predicate.Group
- func CreatedAtGT(v time.Time) predicate.Group
- func CreatedAtGTE(v time.Time) predicate.Group
- func CreatedAtIn(vs ...time.Time) predicate.Group
- func CreatedAtIsNil() predicate.Group
- func CreatedAtLT(v time.Time) predicate.Group
- func CreatedAtLTE(v time.Time) predicate.Group
- func CreatedAtNEQ(v time.Time) predicate.Group
- func CreatedAtNotIn(vs ...time.Time) predicate.Group
- func CreatedAtNotNil() predicate.Group
- func CreatedBy(v string) predicate.Group
- func CreatedByContains(v string) predicate.Group
- func CreatedByContainsFold(v string) predicate.Group
- func CreatedByEQ(v string) predicate.Group
- func CreatedByEqualFold(v string) predicate.Group
- func CreatedByGT(v string) predicate.Group
- func CreatedByGTE(v string) predicate.Group
- func CreatedByHasPrefix(v string) predicate.Group
- func CreatedByHasSuffix(v string) predicate.Group
- func CreatedByIn(vs ...string) predicate.Group
- func CreatedByIsNil() predicate.Group
- func CreatedByLT(v string) predicate.Group
- func CreatedByLTE(v string) predicate.Group
- func CreatedByNEQ(v string) predicate.Group
- func CreatedByNotIn(vs ...string) predicate.Group
- func CreatedByNotNil() predicate.Group
- func DeletedAt(v time.Time) predicate.Group
- func DeletedAtEQ(v time.Time) predicate.Group
- func DeletedAtGT(v time.Time) predicate.Group
- func DeletedAtGTE(v time.Time) predicate.Group
- func DeletedAtIn(vs ...time.Time) predicate.Group
- func DeletedAtIsNil() predicate.Group
- func DeletedAtLT(v time.Time) predicate.Group
- func DeletedAtLTE(v time.Time) predicate.Group
- func DeletedAtNEQ(v time.Time) predicate.Group
- func DeletedAtNotIn(vs ...time.Time) predicate.Group
- func DeletedAtNotNil() predicate.Group
- func DeletedBy(v string) predicate.Group
- func DeletedByContains(v string) predicate.Group
- func DeletedByContainsFold(v string) predicate.Group
- func DeletedByEQ(v string) predicate.Group
- func DeletedByEqualFold(v string) predicate.Group
- func DeletedByGT(v string) predicate.Group
- func DeletedByGTE(v string) predicate.Group
- func DeletedByHasPrefix(v string) predicate.Group
- func DeletedByHasSuffix(v string) predicate.Group
- func DeletedByIn(vs ...string) predicate.Group
- func DeletedByIsNil() predicate.Group
- func DeletedByLT(v string) predicate.Group
- func DeletedByLTE(v string) predicate.Group
- func DeletedByNEQ(v string) predicate.Group
- func DeletedByNotIn(vs ...string) predicate.Group
- func DeletedByNotNil() predicate.Group
- func Description(v string) predicate.Group
- func DescriptionContains(v string) predicate.Group
- func DescriptionContainsFold(v string) predicate.Group
- func DescriptionEQ(v string) predicate.Group
- func DescriptionEqualFold(v string) predicate.Group
- func DescriptionGT(v string) predicate.Group
- func DescriptionGTE(v string) predicate.Group
- func DescriptionHasPrefix(v string) predicate.Group
- func DescriptionHasSuffix(v string) predicate.Group
- func DescriptionIn(vs ...string) predicate.Group
- func DescriptionIsNil() predicate.Group
- func DescriptionLT(v string) predicate.Group
- func DescriptionLTE(v string) predicate.Group
- func DescriptionNEQ(v string) predicate.Group
- func DescriptionNotIn(vs ...string) predicate.Group
- func DescriptionNotNil() predicate.Group
- func DisplayName(v string) predicate.Group
- func DisplayNameContains(v string) predicate.Group
- func DisplayNameContainsFold(v string) predicate.Group
- func DisplayNameEQ(v string) predicate.Group
- func DisplayNameEqualFold(v string) predicate.Group
- func DisplayNameGT(v string) predicate.Group
- func DisplayNameGTE(v string) predicate.Group
- func DisplayNameHasPrefix(v string) predicate.Group
- func DisplayNameHasSuffix(v string) predicate.Group
- func DisplayNameIn(vs ...string) predicate.Group
- func DisplayNameLT(v string) predicate.Group
- func DisplayNameLTE(v string) predicate.Group
- func DisplayNameNEQ(v string) predicate.Group
- func DisplayNameNotIn(vs ...string) predicate.Group
- func GravatarLogoURL(v string) predicate.Group
- func GravatarLogoURLContains(v string) predicate.Group
- func GravatarLogoURLContainsFold(v string) predicate.Group
- func GravatarLogoURLEQ(v string) predicate.Group
- func GravatarLogoURLEqualFold(v string) predicate.Group
- func GravatarLogoURLGT(v string) predicate.Group
- func GravatarLogoURLGTE(v string) predicate.Group
- func GravatarLogoURLHasPrefix(v string) predicate.Group
- func GravatarLogoURLHasSuffix(v string) predicate.Group
- func GravatarLogoURLIn(vs ...string) predicate.Group
- func GravatarLogoURLIsNil() predicate.Group
- func GravatarLogoURLLT(v string) predicate.Group
- func GravatarLogoURLLTE(v string) predicate.Group
- func GravatarLogoURLNEQ(v string) predicate.Group
- func GravatarLogoURLNotIn(vs ...string) predicate.Group
- func GravatarLogoURLNotNil() predicate.Group
- func HasEvents() predicate.Group
- func HasEventsWith(preds ...predicate.Event) predicate.Group
- func HasFiles() predicate.Group
- func HasFilesWith(preds ...predicate.File) predicate.Group
- func HasIntegrations() predicate.Group
- func HasIntegrationsWith(preds ...predicate.Integration) predicate.Group
- func HasInternalpolicyBlockedGroups() predicate.Group
- func HasInternalpolicyBlockedGroupsWith(preds ...predicate.InternalPolicy) predicate.Group
- func HasInternalpolicyEditors() predicate.Group
- func HasInternalpolicyEditorsWith(preds ...predicate.InternalPolicy) predicate.Group
- func HasMembers() predicate.Group
- func HasMembersWith(preds ...predicate.GroupMembership) predicate.Group
- func HasOwner() predicate.Group
- func HasOwnerWith(preds ...predicate.Organization) predicate.Group
- func HasProcedureBlockedGroups() predicate.Group
- func HasProcedureBlockedGroupsWith(preds ...predicate.Procedure) predicate.Group
- func HasProcedureEditors() predicate.Group
- func HasProcedureEditorsWith(preds ...predicate.Procedure) predicate.Group
- func HasProgramBlockedGroups() predicate.Group
- func HasProgramBlockedGroupsWith(preds ...predicate.Program) predicate.Group
- func HasProgramEditors() predicate.Group
- func HasProgramEditorsWith(preds ...predicate.Program) predicate.Group
- func HasProgramViewers() predicate.Group
- func HasProgramViewersWith(preds ...predicate.Program) predicate.Group
- func HasSetting() predicate.Group
- func HasSettingWith(preds ...predicate.GroupSetting) predicate.Group
- func HasTasks() predicate.Group
- func HasTasksWith(preds ...predicate.Task) predicate.Group
- func HasUsers() predicate.Group
- func HasUsersWith(preds ...predicate.User) predicate.Group
- func ID(id string) predicate.Group
- func IDContainsFold(id string) predicate.Group
- func IDEQ(id string) predicate.Group
- func IDEqualFold(id string) predicate.Group
- func IDGT(id string) predicate.Group
- func IDGTE(id string) predicate.Group
- func IDIn(ids ...string) predicate.Group
- func IDLT(id string) predicate.Group
- func IDLTE(id string) predicate.Group
- func IDNEQ(id string) predicate.Group
- func IDNotIn(ids ...string) predicate.Group
- func LogoURL(v string) predicate.Group
- func LogoURLContains(v string) predicate.Group
- func LogoURLContainsFold(v string) predicate.Group
- func LogoURLEQ(v string) predicate.Group
- func LogoURLEqualFold(v string) predicate.Group
- func LogoURLGT(v string) predicate.Group
- func LogoURLGTE(v string) predicate.Group
- func LogoURLHasPrefix(v string) predicate.Group
- func LogoURLHasSuffix(v string) predicate.Group
- func LogoURLIn(vs ...string) predicate.Group
- func LogoURLIsNil() predicate.Group
- func LogoURLLT(v string) predicate.Group
- func LogoURLLTE(v string) predicate.Group
- func LogoURLNEQ(v string) predicate.Group
- func LogoURLNotIn(vs ...string) predicate.Group
- func LogoURLNotNil() predicate.Group
- func MappingID(v string) predicate.Group
- func MappingIDContains(v string) predicate.Group
- func MappingIDContainsFold(v string) predicate.Group
- func MappingIDEQ(v string) predicate.Group
- func MappingIDEqualFold(v string) predicate.Group
- func MappingIDGT(v string) predicate.Group
- func MappingIDGTE(v string) predicate.Group
- func MappingIDHasPrefix(v string) predicate.Group
- func MappingIDHasSuffix(v string) predicate.Group
- func MappingIDIn(vs ...string) predicate.Group
- func MappingIDLT(v string) predicate.Group
- func MappingIDLTE(v string) predicate.Group
- func MappingIDNEQ(v string) predicate.Group
- func MappingIDNotIn(vs ...string) predicate.Group
- func Name(v string) predicate.Group
- func NameContains(v string) predicate.Group
- func NameContainsFold(v string) predicate.Group
- func NameEQ(v string) predicate.Group
- func NameEqualFold(v string) predicate.Group
- func NameGT(v string) predicate.Group
- func NameGTE(v string) predicate.Group
- func NameHasPrefix(v string) predicate.Group
- func NameHasSuffix(v string) predicate.Group
- func NameIn(vs ...string) predicate.Group
- func NameLT(v string) predicate.Group
- func NameLTE(v string) predicate.Group
- func NameNEQ(v string) predicate.Group
- func NameNotIn(vs ...string) predicate.Group
- func Not(p predicate.Group) predicate.Group
- func Or(predicates ...predicate.Group) predicate.Group
- func OwnerID(v string) predicate.Group
- func OwnerIDContains(v string) predicate.Group
- func OwnerIDContainsFold(v string) predicate.Group
- func OwnerIDEQ(v string) predicate.Group
- func OwnerIDEqualFold(v string) predicate.Group
- func OwnerIDGT(v string) predicate.Group
- func OwnerIDGTE(v string) predicate.Group
- func OwnerIDHasPrefix(v string) predicate.Group
- func OwnerIDHasSuffix(v string) predicate.Group
- func OwnerIDIn(vs ...string) predicate.Group
- func OwnerIDIsNil() predicate.Group
- func OwnerIDLT(v string) predicate.Group
- func OwnerIDLTE(v string) predicate.Group
- func OwnerIDNEQ(v string) predicate.Group
- func OwnerIDNotIn(vs ...string) predicate.Group
- func OwnerIDNotNil() predicate.Group
- func TagsIsNil() predicate.Group
- func TagsNotNil() predicate.Group
- func UpdatedAt(v time.Time) predicate.Group
- func UpdatedAtEQ(v time.Time) predicate.Group
- func UpdatedAtGT(v time.Time) predicate.Group
- func UpdatedAtGTE(v time.Time) predicate.Group
- func UpdatedAtIn(vs ...time.Time) predicate.Group
- func UpdatedAtIsNil() predicate.Group
- func UpdatedAtLT(v time.Time) predicate.Group
- func UpdatedAtLTE(v time.Time) predicate.Group
- func UpdatedAtNEQ(v time.Time) predicate.Group
- func UpdatedAtNotIn(vs ...time.Time) predicate.Group
- func UpdatedAtNotNil() predicate.Group
- func UpdatedBy(v string) predicate.Group
- func UpdatedByContains(v string) predicate.Group
- func UpdatedByContainsFold(v string) predicate.Group
- func UpdatedByEQ(v string) predicate.Group
- func UpdatedByEqualFold(v string) predicate.Group
- func UpdatedByGT(v string) predicate.Group
- func UpdatedByGTE(v string) predicate.Group
- func UpdatedByHasPrefix(v string) predicate.Group
- func UpdatedByHasSuffix(v string) predicate.Group
- func UpdatedByIn(vs ...string) predicate.Group
- func UpdatedByIsNil() predicate.Group
- func UpdatedByLT(v string) predicate.Group
- func UpdatedByLTE(v string) predicate.Group
- func UpdatedByNEQ(v string) predicate.Group
- func UpdatedByNotIn(vs ...string) predicate.Group
- func UpdatedByNotNil() predicate.Group
- 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 ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByGravatarLogoURL(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByInternalpolicyBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInternalpolicyBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByInternalpolicyEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInternalpolicyEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByProcedureBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProcedureBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByProcedureEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProcedureEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByProgramBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByProgramEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByProgramViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramViewersCount(opts ...sql.OrderTermOption) OrderOption
- func BySettingField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the group type in the database. Label = "group" // 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" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldGravatarLogoURL holds the string denoting the gravatar_logo_url field in the database. FieldGravatarLogoURL = "gravatar_logo_url" // FieldLogoURL holds the string denoting the logo_url field in the database. FieldLogoURL = "logo_url" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeSetting holds the string denoting the setting edge name in mutations. EdgeSetting = "setting" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // EdgeIntegrations holds the string denoting the integrations edge name in mutations. EdgeIntegrations = "integrations" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgeProcedureEditors holds the string denoting the procedure_editors edge name in mutations. EdgeProcedureEditors = "procedure_editors" // EdgeProcedureBlockedGroups holds the string denoting the procedure_blocked_groups edge name in mutations. EdgeProcedureBlockedGroups = "procedure_blocked_groups" // EdgeInternalpolicyEditors holds the string denoting the internalpolicy_editors edge name in mutations. EdgeInternalpolicyEditors = "internalpolicy_editors" // EdgeInternalpolicyBlockedGroups holds the string denoting the internalpolicy_blocked_groups edge name in mutations. EdgeInternalpolicyBlockedGroups = "internalpolicy_blocked_groups" // EdgeProgramViewers holds the string denoting the program_viewers edge name in mutations. EdgeProgramViewers = "program_viewers" // EdgeProgramEditors holds the string denoting the program_editors edge name in mutations. EdgeProgramEditors = "program_editors" // EdgeProgramBlockedGroups holds the string denoting the program_blocked_groups edge name in mutations. EdgeProgramBlockedGroups = "program_blocked_groups" // EdgeMembers holds the string denoting the members edge name in mutations. EdgeMembers = "members" // Table holds the table name of the group in the database. Table = "groups" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "groups" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // SettingTable is the table that holds the setting relation/edge. SettingTable = "group_settings" // SettingInverseTable is the table name for the GroupSetting entity. // It exists in this package in order to avoid circular dependency with the "groupsetting" package. SettingInverseTable = "group_settings" // SettingColumn is the table column denoting the setting relation/edge. SettingColumn = "group_id" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "group_memberships" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "group_events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // IntegrationsTable is the table that holds the integrations relation/edge. IntegrationsTable = "integrations" // IntegrationsInverseTable is the table name for the Integration entity. // It exists in this package in order to avoid circular dependency with the "integration" package. IntegrationsInverseTable = "integrations" // IntegrationsColumn is the table column denoting the integrations relation/edge. IntegrationsColumn = "group_integrations" // FilesTable is the table that holds the files relation/edge. The primary key declared below. FilesTable = "group_files" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "group_tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // ProcedureEditorsTable is the table that holds the procedure_editors relation/edge. The primary key declared below. ProcedureEditorsTable = "procedure_editors" // ProcedureEditorsInverseTable is the table name for the Procedure entity. // It exists in this package in order to avoid circular dependency with the "procedure" package. ProcedureEditorsInverseTable = "procedures" // ProcedureBlockedGroupsTable is the table that holds the procedure_blocked_groups relation/edge. The primary key declared below. ProcedureBlockedGroupsTable = "procedure_blocked_groups" // ProcedureBlockedGroupsInverseTable is the table name for the Procedure entity. // It exists in this package in order to avoid circular dependency with the "procedure" package. ProcedureBlockedGroupsInverseTable = "procedures" // InternalpolicyEditorsTable is the table that holds the internalpolicy_editors relation/edge. The primary key declared below. InternalpolicyEditorsTable = "internal_policy_editors" // InternalpolicyEditorsInverseTable is the table name for the InternalPolicy entity. // It exists in this package in order to avoid circular dependency with the "internalpolicy" package. InternalpolicyEditorsInverseTable = "internal_policies" // InternalpolicyBlockedGroupsTable is the table that holds the internalpolicy_blocked_groups relation/edge. The primary key declared below. InternalpolicyBlockedGroupsTable = "internal_policy_blocked_groups" // InternalpolicyBlockedGroupsInverseTable is the table name for the InternalPolicy entity. // It exists in this package in order to avoid circular dependency with the "internalpolicy" package. InternalpolicyBlockedGroupsInverseTable = "internal_policies" // ProgramViewersTable is the table that holds the program_viewers relation/edge. The primary key declared below. ProgramViewersTable = "program_viewers" // ProgramViewersInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramViewersInverseTable = "programs" // ProgramEditorsTable is the table that holds the program_editors relation/edge. The primary key declared below. ProgramEditorsTable = "program_editors" // ProgramEditorsInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramEditorsInverseTable = "programs" // ProgramBlockedGroupsTable is the table that holds the program_blocked_groups relation/edge. The primary key declared below. ProgramBlockedGroupsTable = "program_blocked_groups" // ProgramBlockedGroupsInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramBlockedGroupsInverseTable = "programs" // MembersTable is the table that holds the members relation/edge. MembersTable = "group_memberships" // MembersInverseTable is the table name for the GroupMembership entity. // It exists in this package in order to avoid circular dependency with the "groupmembership" package. MembersInverseTable = "group_memberships" // MembersColumn is the table column denoting the members relation/edge. MembersColumn = "group_id" )
Variables ¶
var ( // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"user_id", "group_id"} // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"group_id", "event_id"} // FilesPrimaryKey and FilesColumn2 are the table columns denoting the // primary key for the files relation (M2M). FilesPrimaryKey = []string{"group_id", "file_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"group_id", "task_id"} // ProcedureEditorsPrimaryKey and ProcedureEditorsColumn2 are the table columns denoting the // primary key for the procedure_editors relation (M2M). ProcedureEditorsPrimaryKey = []string{"procedure_id", "group_id"} // ProcedureBlockedGroupsPrimaryKey and ProcedureBlockedGroupsColumn2 are the table columns denoting the // primary key for the procedure_blocked_groups relation (M2M). ProcedureBlockedGroupsPrimaryKey = []string{"procedure_id", "group_id"} // InternalpolicyEditorsPrimaryKey and InternalpolicyEditorsColumn2 are the table columns denoting the // primary key for the internalpolicy_editors relation (M2M). InternalpolicyEditorsPrimaryKey = []string{"internal_policy_id", "group_id"} // InternalpolicyBlockedGroupsPrimaryKey and InternalpolicyBlockedGroupsColumn2 are the table columns denoting the // primary key for the internalpolicy_blocked_groups relation (M2M). InternalpolicyBlockedGroupsPrimaryKey = []string{"internal_policy_id", "group_id"} // ProgramViewersPrimaryKey and ProgramViewersColumn2 are the table columns denoting the // primary key for the program_viewers relation (M2M). ProgramViewersPrimaryKey = []string{"program_id", "group_id"} // ProgramEditorsPrimaryKey and ProgramEditorsColumn2 are the table columns denoting the // primary key for the program_editors relation (M2M). ProgramEditorsPrimaryKey = []string{"program_id", "group_id"} // ProgramBlockedGroupsPrimaryKey and ProgramBlockedGroupsColumn2 are the table columns denoting the // primary key for the program_blocked_groups relation (M2M). ProgramBlockedGroupsPrimaryKey = []string{"program_id", "group_id"} )
var ( Hooks [6]ent.Hook Interceptors [3]ent.Interceptor Policy ent.Policy // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultDisplayName holds the default value on creation for the "display_name" field. DefaultDisplayName string // DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save. DisplayNameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldOwnerID, FieldName, FieldDescription, FieldGravatarLogoURL, FieldLogoURL, FieldDisplayName, }
Columns holds all SQL columns for group 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 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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold 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 CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix 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 DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" 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 DescriptionIsNil ¶
DescriptionIsNil applies the IsNil 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 DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DisplayName ¶
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func GravatarLogoURL ¶
GravatarLogoURL applies equality check predicate on the "gravatar_logo_url" field. It's identical to GravatarLogoURLEQ.
func GravatarLogoURLContains ¶
GravatarLogoURLContains applies the Contains predicate on the "gravatar_logo_url" field.
func GravatarLogoURLContainsFold ¶
GravatarLogoURLContainsFold applies the ContainsFold predicate on the "gravatar_logo_url" field.
func GravatarLogoURLEQ ¶
GravatarLogoURLEQ applies the EQ predicate on the "gravatar_logo_url" field.
func GravatarLogoURLEqualFold ¶
GravatarLogoURLEqualFold applies the EqualFold predicate on the "gravatar_logo_url" field.
func GravatarLogoURLGT ¶
GravatarLogoURLGT applies the GT predicate on the "gravatar_logo_url" field.
func GravatarLogoURLGTE ¶
GravatarLogoURLGTE applies the GTE predicate on the "gravatar_logo_url" field.
func GravatarLogoURLHasPrefix ¶
GravatarLogoURLHasPrefix applies the HasPrefix predicate on the "gravatar_logo_url" field.
func GravatarLogoURLHasSuffix ¶
GravatarLogoURLHasSuffix applies the HasSuffix predicate on the "gravatar_logo_url" field.
func GravatarLogoURLIn ¶
GravatarLogoURLIn applies the In predicate on the "gravatar_logo_url" field.
func GravatarLogoURLIsNil ¶
GravatarLogoURLIsNil applies the IsNil predicate on the "gravatar_logo_url" field.
func GravatarLogoURLLT ¶
GravatarLogoURLLT applies the LT predicate on the "gravatar_logo_url" field.
func GravatarLogoURLLTE ¶
GravatarLogoURLLTE applies the LTE predicate on the "gravatar_logo_url" field.
func GravatarLogoURLNEQ ¶
GravatarLogoURLNEQ applies the NEQ predicate on the "gravatar_logo_url" field.
func GravatarLogoURLNotIn ¶
GravatarLogoURLNotIn applies the NotIn predicate on the "gravatar_logo_url" field.
func GravatarLogoURLNotNil ¶
GravatarLogoURLNotNil applies the NotNil predicate on the "gravatar_logo_url" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasIntegrations ¶
HasIntegrations applies the HasEdge predicate on the "integrations" edge.
func HasIntegrationsWith ¶
func HasIntegrationsWith(preds ...predicate.Integration) predicate.Group
HasIntegrationsWith applies the HasEdge predicate on the "integrations" edge with a given conditions (other predicates).
func HasInternalpolicyBlockedGroups ¶ added in v0.4.2
HasInternalpolicyBlockedGroups applies the HasEdge predicate on the "internalpolicy_blocked_groups" edge.
func HasInternalpolicyBlockedGroupsWith ¶ added in v0.4.2
func HasInternalpolicyBlockedGroupsWith(preds ...predicate.InternalPolicy) predicate.Group
HasInternalpolicyBlockedGroupsWith applies the HasEdge predicate on the "internalpolicy_blocked_groups" edge with a given conditions (other predicates).
func HasInternalpolicyEditors ¶ added in v0.4.2
HasInternalpolicyEditors applies the HasEdge predicate on the "internalpolicy_editors" edge.
func HasInternalpolicyEditorsWith ¶ added in v0.4.2
func HasInternalpolicyEditorsWith(preds ...predicate.InternalPolicy) predicate.Group
HasInternalpolicyEditorsWith applies the HasEdge predicate on the "internalpolicy_editors" edge with a given conditions (other predicates).
func HasMembers ¶
HasMembers applies the HasEdge predicate on the "members" edge.
func HasMembersWith ¶
func HasMembersWith(preds ...predicate.GroupMembership) predicate.Group
HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Group
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProcedureBlockedGroups ¶ added in v0.4.2
HasProcedureBlockedGroups applies the HasEdge predicate on the "procedure_blocked_groups" edge.
func HasProcedureBlockedGroupsWith ¶ added in v0.4.2
HasProcedureBlockedGroupsWith applies the HasEdge predicate on the "procedure_blocked_groups" edge with a given conditions (other predicates).
func HasProcedureEditors ¶ added in v0.4.2
HasProcedureEditors applies the HasEdge predicate on the "procedure_editors" edge.
func HasProcedureEditorsWith ¶ added in v0.4.2
HasProcedureEditorsWith applies the HasEdge predicate on the "procedure_editors" edge with a given conditions (other predicates).
func HasProgramBlockedGroups ¶ added in v0.4.2
HasProgramBlockedGroups applies the HasEdge predicate on the "program_blocked_groups" edge.
func HasProgramBlockedGroupsWith ¶ added in v0.4.2
HasProgramBlockedGroupsWith applies the HasEdge predicate on the "program_blocked_groups" edge with a given conditions (other predicates).
func HasProgramEditors ¶ added in v0.4.2
HasProgramEditors applies the HasEdge predicate on the "program_editors" edge.
func HasProgramEditorsWith ¶ added in v0.4.2
HasProgramEditorsWith applies the HasEdge predicate on the "program_editors" edge with a given conditions (other predicates).
func HasProgramViewers ¶ added in v0.4.2
HasProgramViewers applies the HasEdge predicate on the "program_viewers" edge.
func HasProgramViewersWith ¶ added in v0.4.2
HasProgramViewersWith applies the HasEdge predicate on the "program_viewers" edge with a given conditions (other predicates).
func HasSetting ¶
HasSetting applies the HasEdge predicate on the "setting" edge.
func HasSettingWith ¶
func HasSettingWith(preds ...predicate.GroupSetting) predicate.Group
HasSettingWith applies the HasEdge predicate on the "setting" edge with a given conditions (other predicates).
func HasTasksWith ¶ added in v0.3.4
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" 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 LogoURL ¶
LogoURL applies equality check predicate on the "logo_url" field. It's identical to LogoURLEQ.
func LogoURLContains ¶
LogoURLContains applies the Contains predicate on the "logo_url" field.
func LogoURLContainsFold ¶
LogoURLContainsFold applies the ContainsFold predicate on the "logo_url" field.
func LogoURLEqualFold ¶
LogoURLEqualFold applies the EqualFold predicate on the "logo_url" field.
func LogoURLGTE ¶
LogoURLGTE applies the GTE predicate on the "logo_url" field.
func LogoURLHasPrefix ¶
LogoURLHasPrefix applies the HasPrefix predicate on the "logo_url" field.
func LogoURLHasSuffix ¶
LogoURLHasSuffix applies the HasSuffix predicate on the "logo_url" field.
func LogoURLIsNil ¶
LogoURLIsNil applies the IsNil predicate on the "logo_url" field.
func LogoURLLTE ¶
LogoURLLTE applies the LTE predicate on the "logo_url" field.
func LogoURLNEQ ¶
LogoURLNEQ applies the NEQ predicate on the "logo_url" field.
func LogoURLNotIn ¶
LogoURLNotIn applies the NotIn predicate on the "logo_url" field.
func LogoURLNotNil ¶
LogoURLNotNil applies the NotNil predicate on the "logo_url" field.
func MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_id" 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 OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold 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 UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix 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 Group 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 ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDisplayName ¶
func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
ByDisplayName orders the results by the display_name field.
func ByEvents ¶
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByFiles ¶
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByGravatarLogoURL ¶
func ByGravatarLogoURL(opts ...sql.OrderTermOption) OrderOption
ByGravatarLogoURL orders the results by the gravatar_logo_url field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegrations ¶
func ByIntegrations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIntegrations orders the results by integrations terms.
func ByIntegrationsCount ¶
func ByIntegrationsCount(opts ...sql.OrderTermOption) OrderOption
ByIntegrationsCount orders the results by integrations count.
func ByInternalpolicyBlockedGroups ¶ added in v0.4.2
func ByInternalpolicyBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInternalpolicyBlockedGroups orders the results by internalpolicy_blocked_groups terms.
func ByInternalpolicyBlockedGroupsCount ¶ added in v0.4.2
func ByInternalpolicyBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByInternalpolicyBlockedGroupsCount orders the results by internalpolicy_blocked_groups count.
func ByInternalpolicyEditors ¶ added in v0.4.2
func ByInternalpolicyEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInternalpolicyEditors orders the results by internalpolicy_editors terms.
func ByInternalpolicyEditorsCount ¶ added in v0.4.2
func ByInternalpolicyEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByInternalpolicyEditorsCount orders the results by internalpolicy_editors count.
func ByLogoURL ¶
func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
ByLogoURL orders the results by the logo_url field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByMembers ¶
func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMembers orders the results by members terms.
func ByMembersCount ¶
func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
ByMembersCount orders the results by members count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByProcedureBlockedGroups ¶ added in v0.4.2
func ByProcedureBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProcedureBlockedGroups orders the results by procedure_blocked_groups terms.
func ByProcedureBlockedGroupsCount ¶ added in v0.4.2
func ByProcedureBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByProcedureBlockedGroupsCount orders the results by procedure_blocked_groups count.
func ByProcedureEditors ¶ added in v0.4.2
func ByProcedureEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProcedureEditors orders the results by procedure_editors terms.
func ByProcedureEditorsCount ¶ added in v0.4.2
func ByProcedureEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByProcedureEditorsCount orders the results by procedure_editors count.
func ByProgramBlockedGroups ¶ added in v0.4.2
func ByProgramBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProgramBlockedGroups orders the results by program_blocked_groups terms.
func ByProgramBlockedGroupsCount ¶ added in v0.4.2
func ByProgramBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramBlockedGroupsCount orders the results by program_blocked_groups count.
func ByProgramEditors ¶ added in v0.4.2
func ByProgramEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProgramEditors orders the results by program_editors terms.
func ByProgramEditorsCount ¶ added in v0.4.2
func ByProgramEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramEditorsCount orders the results by program_editors count.
func ByProgramViewers ¶ added in v0.4.2
func ByProgramViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProgramViewers orders the results by program_viewers terms.
func ByProgramViewersCount ¶ added in v0.4.2
func ByProgramViewersCount(opts ...sql.OrderTermOption) OrderOption
ByProgramViewersCount orders the results by program_viewers count.
func BySettingField ¶
func BySettingField(field string, opts ...sql.OrderTermOption) OrderOption
BySettingField orders the results by setting field.
func ByTasks ¶ added in v0.3.4
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶ added in v0.3.4
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
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.
func ByUsers ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.