Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Narrative) predicate.Narrative
- func CreatedAt(v time.Time) predicate.Narrative
- func CreatedAtEQ(v time.Time) predicate.Narrative
- func CreatedAtGT(v time.Time) predicate.Narrative
- func CreatedAtGTE(v time.Time) predicate.Narrative
- func CreatedAtIn(vs ...time.Time) predicate.Narrative
- func CreatedAtIsNil() predicate.Narrative
- func CreatedAtLT(v time.Time) predicate.Narrative
- func CreatedAtLTE(v time.Time) predicate.Narrative
- func CreatedAtNEQ(v time.Time) predicate.Narrative
- func CreatedAtNotIn(vs ...time.Time) predicate.Narrative
- func CreatedAtNotNil() predicate.Narrative
- func CreatedBy(v string) predicate.Narrative
- func CreatedByContains(v string) predicate.Narrative
- func CreatedByContainsFold(v string) predicate.Narrative
- func CreatedByEQ(v string) predicate.Narrative
- func CreatedByEqualFold(v string) predicate.Narrative
- func CreatedByGT(v string) predicate.Narrative
- func CreatedByGTE(v string) predicate.Narrative
- func CreatedByHasPrefix(v string) predicate.Narrative
- func CreatedByHasSuffix(v string) predicate.Narrative
- func CreatedByIn(vs ...string) predicate.Narrative
- func CreatedByIsNil() predicate.Narrative
- func CreatedByLT(v string) predicate.Narrative
- func CreatedByLTE(v string) predicate.Narrative
- func CreatedByNEQ(v string) predicate.Narrative
- func CreatedByNotIn(vs ...string) predicate.Narrative
- func CreatedByNotNil() predicate.Narrative
- func DeletedAt(v time.Time) predicate.Narrative
- func DeletedAtEQ(v time.Time) predicate.Narrative
- func DeletedAtGT(v time.Time) predicate.Narrative
- func DeletedAtGTE(v time.Time) predicate.Narrative
- func DeletedAtIn(vs ...time.Time) predicate.Narrative
- func DeletedAtIsNil() predicate.Narrative
- func DeletedAtLT(v time.Time) predicate.Narrative
- func DeletedAtLTE(v time.Time) predicate.Narrative
- func DeletedAtNEQ(v time.Time) predicate.Narrative
- func DeletedAtNotIn(vs ...time.Time) predicate.Narrative
- func DeletedAtNotNil() predicate.Narrative
- func DeletedBy(v string) predicate.Narrative
- func DeletedByContains(v string) predicate.Narrative
- func DeletedByContainsFold(v string) predicate.Narrative
- func DeletedByEQ(v string) predicate.Narrative
- func DeletedByEqualFold(v string) predicate.Narrative
- func DeletedByGT(v string) predicate.Narrative
- func DeletedByGTE(v string) predicate.Narrative
- func DeletedByHasPrefix(v string) predicate.Narrative
- func DeletedByHasSuffix(v string) predicate.Narrative
- func DeletedByIn(vs ...string) predicate.Narrative
- func DeletedByIsNil() predicate.Narrative
- func DeletedByLT(v string) predicate.Narrative
- func DeletedByLTE(v string) predicate.Narrative
- func DeletedByNEQ(v string) predicate.Narrative
- func DeletedByNotIn(vs ...string) predicate.Narrative
- func DeletedByNotNil() predicate.Narrative
- func Description(v string) predicate.Narrative
- func DescriptionContains(v string) predicate.Narrative
- func DescriptionContainsFold(v string) predicate.Narrative
- func DescriptionEQ(v string) predicate.Narrative
- func DescriptionEqualFold(v string) predicate.Narrative
- func DescriptionGT(v string) predicate.Narrative
- func DescriptionGTE(v string) predicate.Narrative
- func DescriptionHasPrefix(v string) predicate.Narrative
- func DescriptionHasSuffix(v string) predicate.Narrative
- func DescriptionIn(vs ...string) predicate.Narrative
- func DescriptionIsNil() predicate.Narrative
- func DescriptionLT(v string) predicate.Narrative
- func DescriptionLTE(v string) predicate.Narrative
- func DescriptionNEQ(v string) predicate.Narrative
- func DescriptionNotIn(vs ...string) predicate.Narrative
- func DescriptionNotNil() predicate.Narrative
- func Details(v string) predicate.Narrative
- func DetailsContains(v string) predicate.Narrative
- func DetailsContainsFold(v string) predicate.Narrative
- func DetailsEQ(v string) predicate.Narrative
- func DetailsEqualFold(v string) predicate.Narrative
- func DetailsGT(v string) predicate.Narrative
- func DetailsGTE(v string) predicate.Narrative
- func DetailsHasPrefix(v string) predicate.Narrative
- func DetailsHasSuffix(v string) predicate.Narrative
- func DetailsIn(vs ...string) predicate.Narrative
- func DetailsIsNil() predicate.Narrative
- func DetailsLT(v string) predicate.Narrative
- func DetailsLTE(v string) predicate.Narrative
- func DetailsNEQ(v string) predicate.Narrative
- func DetailsNotIn(vs ...string) predicate.Narrative
- func DetailsNotNil() predicate.Narrative
- func DisplayID(v string) predicate.Narrative
- func DisplayIDContains(v string) predicate.Narrative
- func DisplayIDContainsFold(v string) predicate.Narrative
- func DisplayIDEQ(v string) predicate.Narrative
- func DisplayIDEqualFold(v string) predicate.Narrative
- func DisplayIDGT(v string) predicate.Narrative
- func DisplayIDGTE(v string) predicate.Narrative
- func DisplayIDHasPrefix(v string) predicate.Narrative
- func DisplayIDHasSuffix(v string) predicate.Narrative
- func DisplayIDIn(vs ...string) predicate.Narrative
- func DisplayIDLT(v string) predicate.Narrative
- func DisplayIDLTE(v string) predicate.Narrative
- func DisplayIDNEQ(v string) predicate.Narrative
- func DisplayIDNotIn(vs ...string) predicate.Narrative
- func HasBlockedGroups() predicate.Narrative
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Narrative
- func HasEditors() predicate.Narrative
- func HasEditorsWith(preds ...predicate.Group) predicate.Narrative
- func HasInternalPolicies() predicate.Narrative
- func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Narrative
- func HasOwner() predicate.Narrative
- func HasOwnerWith(preds ...predicate.Organization) predicate.Narrative
- func HasProcedures() predicate.Narrative
- func HasProceduresWith(preds ...predicate.Procedure) predicate.Narrative
- func HasPrograms() predicate.Narrative
- func HasProgramsWith(preds ...predicate.Program) predicate.Narrative
- func HasSatisfies() predicate.Narrative
- func HasSatisfiesWith(preds ...predicate.Control) predicate.Narrative
- func HasViewers() predicate.Narrative
- func HasViewersWith(preds ...predicate.Group) predicate.Narrative
- func ID(id string) predicate.Narrative
- func IDContainsFold(id string) predicate.Narrative
- func IDEQ(id string) predicate.Narrative
- func IDEqualFold(id string) predicate.Narrative
- func IDGT(id string) predicate.Narrative
- func IDGTE(id string) predicate.Narrative
- func IDIn(ids ...string) predicate.Narrative
- func IDLT(id string) predicate.Narrative
- func IDLTE(id string) predicate.Narrative
- func IDNEQ(id string) predicate.Narrative
- func IDNotIn(ids ...string) predicate.Narrative
- func InternalNotes(v string) predicate.Narrative
- func InternalNotesContains(v string) predicate.Narrative
- func InternalNotesContainsFold(v string) predicate.Narrative
- func InternalNotesEQ(v string) predicate.Narrative
- func InternalNotesEqualFold(v string) predicate.Narrative
- func InternalNotesGT(v string) predicate.Narrative
- func InternalNotesGTE(v string) predicate.Narrative
- func InternalNotesHasPrefix(v string) predicate.Narrative
- func InternalNotesHasSuffix(v string) predicate.Narrative
- func InternalNotesIn(vs ...string) predicate.Narrative
- func InternalNotesIsNil() predicate.Narrative
- func InternalNotesLT(v string) predicate.Narrative
- func InternalNotesLTE(v string) predicate.Narrative
- func InternalNotesNEQ(v string) predicate.Narrative
- func InternalNotesNotIn(vs ...string) predicate.Narrative
- func InternalNotesNotNil() predicate.Narrative
- func Name(v string) predicate.Narrative
- func NameContains(v string) predicate.Narrative
- func NameContainsFold(v string) predicate.Narrative
- func NameEQ(v string) predicate.Narrative
- func NameEqualFold(v string) predicate.Narrative
- func NameGT(v string) predicate.Narrative
- func NameGTE(v string) predicate.Narrative
- func NameHasPrefix(v string) predicate.Narrative
- func NameHasSuffix(v string) predicate.Narrative
- func NameIn(vs ...string) predicate.Narrative
- func NameLT(v string) predicate.Narrative
- func NameLTE(v string) predicate.Narrative
- func NameNEQ(v string) predicate.Narrative
- func NameNotIn(vs ...string) predicate.Narrative
- func Not(p predicate.Narrative) predicate.Narrative
- func Or(predicates ...predicate.Narrative) predicate.Narrative
- func OwnerID(v string) predicate.Narrative
- func OwnerIDContains(v string) predicate.Narrative
- func OwnerIDContainsFold(v string) predicate.Narrative
- func OwnerIDEQ(v string) predicate.Narrative
- func OwnerIDEqualFold(v string) predicate.Narrative
- func OwnerIDGT(v string) predicate.Narrative
- func OwnerIDGTE(v string) predicate.Narrative
- func OwnerIDHasPrefix(v string) predicate.Narrative
- func OwnerIDHasSuffix(v string) predicate.Narrative
- func OwnerIDIn(vs ...string) predicate.Narrative
- func OwnerIDIsNil() predicate.Narrative
- func OwnerIDLT(v string) predicate.Narrative
- func OwnerIDLTE(v string) predicate.Narrative
- func OwnerIDNEQ(v string) predicate.Narrative
- func OwnerIDNotIn(vs ...string) predicate.Narrative
- func OwnerIDNotNil() predicate.Narrative
- func SystemInternalID(v string) predicate.Narrative
- func SystemInternalIDContains(v string) predicate.Narrative
- func SystemInternalIDContainsFold(v string) predicate.Narrative
- func SystemInternalIDEQ(v string) predicate.Narrative
- func SystemInternalIDEqualFold(v string) predicate.Narrative
- func SystemInternalIDGT(v string) predicate.Narrative
- func SystemInternalIDGTE(v string) predicate.Narrative
- func SystemInternalIDHasPrefix(v string) predicate.Narrative
- func SystemInternalIDHasSuffix(v string) predicate.Narrative
- func SystemInternalIDIn(vs ...string) predicate.Narrative
- func SystemInternalIDIsNil() predicate.Narrative
- func SystemInternalIDLT(v string) predicate.Narrative
- func SystemInternalIDLTE(v string) predicate.Narrative
- func SystemInternalIDNEQ(v string) predicate.Narrative
- func SystemInternalIDNotIn(vs ...string) predicate.Narrative
- func SystemInternalIDNotNil() predicate.Narrative
- func SystemOwned(v bool) predicate.Narrative
- func SystemOwnedEQ(v bool) predicate.Narrative
- func SystemOwnedIsNil() predicate.Narrative
- func SystemOwnedNEQ(v bool) predicate.Narrative
- func SystemOwnedNotNil() predicate.Narrative
- func TagsIsNil() predicate.Narrative
- func TagsNotNil() predicate.Narrative
- func UpdatedAt(v time.Time) predicate.Narrative
- func UpdatedAtEQ(v time.Time) predicate.Narrative
- func UpdatedAtGT(v time.Time) predicate.Narrative
- func UpdatedAtGTE(v time.Time) predicate.Narrative
- func UpdatedAtIn(vs ...time.Time) predicate.Narrative
- func UpdatedAtIsNil() predicate.Narrative
- func UpdatedAtLT(v time.Time) predicate.Narrative
- func UpdatedAtLTE(v time.Time) predicate.Narrative
- func UpdatedAtNEQ(v time.Time) predicate.Narrative
- func UpdatedAtNotIn(vs ...time.Time) predicate.Narrative
- func UpdatedAtNotNil() predicate.Narrative
- func UpdatedBy(v string) predicate.Narrative
- func UpdatedByContains(v string) predicate.Narrative
- func UpdatedByContainsFold(v string) predicate.Narrative
- func UpdatedByEQ(v string) predicate.Narrative
- func UpdatedByEqualFold(v string) predicate.Narrative
- func UpdatedByGT(v string) predicate.Narrative
- func UpdatedByGTE(v string) predicate.Narrative
- func UpdatedByHasPrefix(v string) predicate.Narrative
- func UpdatedByHasSuffix(v string) predicate.Narrative
- func UpdatedByIn(vs ...string) predicate.Narrative
- func UpdatedByIsNil() predicate.Narrative
- func UpdatedByLT(v string) predicate.Narrative
- func UpdatedByLTE(v string) predicate.Narrative
- func UpdatedByNEQ(v string) predicate.Narrative
- func UpdatedByNotIn(vs ...string) predicate.Narrative
- func UpdatedByNotNil() predicate.Narrative
- func ValidColumn(column string) bool
- type OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) 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 ByDetails(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption
- func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInternalPoliciesCount(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 ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
- func BySatisfies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySatisfiesCount(opts ...sql.OrderTermOption) OrderOption
- func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption
- func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the narrative type in the database. Label = "narrative" // 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" // FieldDisplayID holds the string denoting the display_id field in the database. FieldDisplayID = "display_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" // FieldSystemOwned holds the string denoting the system_owned field in the database. FieldSystemOwned = "system_owned" // FieldInternalNotes holds the string denoting the internal_notes field in the database. FieldInternalNotes = "internal_notes" // FieldSystemInternalID holds the string denoting the system_internal_id field in the database. FieldSystemInternalID = "system_internal_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" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations. EdgeBlockedGroups = "blocked_groups" // EdgeEditors holds the string denoting the editors edge name in mutations. EdgeEditors = "editors" // EdgeViewers holds the string denoting the viewers edge name in mutations. EdgeViewers = "viewers" // EdgeSatisfies holds the string denoting the satisfies edge name in mutations. EdgeSatisfies = "satisfies" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations. EdgeInternalPolicies = "internal_policies" // EdgeProcedures holds the string denoting the procedures edge name in mutations. EdgeProcedures = "procedures" // Table holds the table name of the narrative in the database. Table = "narratives" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "narratives" // 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" // BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below. BlockedGroupsTable = "narrative_blocked_groups" // BlockedGroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. BlockedGroupsInverseTable = "groups" // EditorsTable is the table that holds the editors relation/edge. The primary key declared below. EditorsTable = "narrative_editors" // EditorsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. EditorsInverseTable = "groups" // ViewersTable is the table that holds the viewers relation/edge. The primary key declared below. ViewersTable = "narrative_viewers" // ViewersInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ViewersInverseTable = "groups" // SatisfiesTable is the table that holds the satisfies relation/edge. The primary key declared below. SatisfiesTable = "control_narratives" // SatisfiesInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. SatisfiesInverseTable = "controls" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_narratives" // ProgramsInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramsInverseTable = "programs" // InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below. InternalPoliciesTable = "internal_policy_narratives" // InternalPoliciesInverseTable is the table name for the InternalPolicy entity. // It exists in this package in order to avoid circular dependency with the "internalpolicy" package. InternalPoliciesInverseTable = "internal_policies" // ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below. ProceduresTable = "procedure_narratives" // ProceduresInverseTable is the table name for the Procedure entity. // It exists in this package in order to avoid circular dependency with the "procedure" package. ProceduresInverseTable = "procedures" )
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"narrative_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"narrative_id", "group_id"} // ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the // primary key for the viewers relation (M2M). ViewersPrimaryKey = []string{"narrative_id", "group_id"} // SatisfiesPrimaryKey and SatisfiesColumn2 are the table columns denoting the // primary key for the satisfies relation (M2M). SatisfiesPrimaryKey = []string{"control_id", "narrative_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "narrative_id"} // InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the // primary key for the internal_policies relation (M2M). InternalPoliciesPrimaryKey = []string{"internal_policy_id", "narrative_id"} // ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the // primary key for the procedures relation (M2M). ProceduresPrimaryKey = []string{"procedure_id", "narrative_id"} )
var ( Hooks [11]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 // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // 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 // DefaultSystemOwned holds the default value on creation for the "system_owned" field. DefaultSystemOwned bool // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator 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, FieldDisplayID, FieldTags, FieldOwnerID, FieldSystemOwned, FieldInternalNotes, FieldSystemInternalID, FieldName, FieldDescription, FieldDetails, }
Columns holds all SQL columns for narrative fields.
var ForeignKeys = []string{
"control_objective_narratives",
"subcontrol_narratives",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "narratives" table and are not defined as standalone fields in the schema.
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 Details ¶ added in v0.7.3
Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.
func DetailsContains ¶ added in v0.7.3
DetailsContains applies the Contains predicate on the "details" field.
func DetailsContainsFold ¶ added in v0.7.3
DetailsContainsFold applies the ContainsFold predicate on the "details" field.
func DetailsEqualFold ¶ added in v0.7.3
DetailsEqualFold applies the EqualFold predicate on the "details" field.
func DetailsGTE ¶ added in v0.7.3
DetailsGTE applies the GTE predicate on the "details" field.
func DetailsHasPrefix ¶ added in v0.7.3
DetailsHasPrefix applies the HasPrefix predicate on the "details" field.
func DetailsHasSuffix ¶ added in v0.7.3
DetailsHasSuffix applies the HasSuffix predicate on the "details" field.
func DetailsIsNil ¶
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsLTE ¶ added in v0.7.3
DetailsLTE applies the LTE predicate on the "details" field.
func DetailsNEQ ¶ added in v0.7.3
DetailsNEQ applies the NEQ predicate on the "details" field.
func DetailsNotIn ¶ added in v0.7.3
DetailsNotIn applies the NotIn predicate on the "details" field.
func DetailsNotNil ¶
DetailsNotNil applies the NotNil predicate on the "details" field.
func DisplayID ¶ added in v0.6.11
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶ added in v0.6.11
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶ added in v0.6.11
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶ added in v0.6.11
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶ added in v0.6.11
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶ added in v0.6.11
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶ added in v0.6.11
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶ added in v0.6.11
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶ added in v0.6.11
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶ added in v0.6.11
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶ added in v0.6.11
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶ added in v0.6.11
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶ added in v0.6.11
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶ added in v0.6.11
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func HasBlockedGroups ¶ added in v0.4.4
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶ added in v0.4.4
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasEditors ¶ added in v0.4.4
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶ added in v0.4.4
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasInternalPolicies ¶ added in v0.10.7
HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.
func HasInternalPoliciesWith ¶ added in v0.10.7
func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Narrative
HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" edge with a given conditions (other predicates).
func HasOwnerWith ¶ added in v0.4.4
func HasOwnerWith(preds ...predicate.Organization) predicate.Narrative
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProcedures ¶ added in v0.10.7
HasProcedures applies the HasEdge predicate on the "procedures" edge.
func HasProceduresWith ¶ added in v0.10.7
HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).
func HasPrograms ¶ added in v0.4.4
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶ added in v0.4.4
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasSatisfies ¶ added in v0.7.3
HasSatisfies applies the HasEdge predicate on the "satisfies" edge.
func HasSatisfiesWith ¶ added in v0.7.3
HasSatisfiesWith applies the HasEdge predicate on the "satisfies" edge with a given conditions (other predicates).
func HasViewers ¶ added in v0.4.4
HasViewers applies the HasEdge predicate on the "viewers" edge.
func HasViewersWith ¶ added in v0.4.4
HasViewersWith applies the HasEdge predicate on the "viewers" 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 InternalNotes ¶ added in v0.34.0
InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.
func InternalNotesContains ¶ added in v0.34.0
InternalNotesContains applies the Contains predicate on the "internal_notes" field.
func InternalNotesContainsFold ¶ added in v0.34.0
InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.
func InternalNotesEQ ¶ added in v0.34.0
InternalNotesEQ applies the EQ predicate on the "internal_notes" field.
func InternalNotesEqualFold ¶ added in v0.34.0
InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.
func InternalNotesGT ¶ added in v0.34.0
InternalNotesGT applies the GT predicate on the "internal_notes" field.
func InternalNotesGTE ¶ added in v0.34.0
InternalNotesGTE applies the GTE predicate on the "internal_notes" field.
func InternalNotesHasPrefix ¶ added in v0.34.0
InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.
func InternalNotesHasSuffix ¶ added in v0.34.0
InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.
func InternalNotesIn ¶ added in v0.34.0
InternalNotesIn applies the In predicate on the "internal_notes" field.
func InternalNotesIsNil ¶ added in v0.34.0
InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.
func InternalNotesLT ¶ added in v0.34.0
InternalNotesLT applies the LT predicate on the "internal_notes" field.
func InternalNotesLTE ¶ added in v0.34.0
InternalNotesLTE applies the LTE predicate on the "internal_notes" field.
func InternalNotesNEQ ¶ added in v0.34.0
InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.
func InternalNotesNotIn ¶ added in v0.34.0
InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.
func InternalNotesNotNil ¶ added in v0.34.0
InternalNotesNotNil applies the NotNil predicate on the "internal_notes" 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 ¶ added in v0.4.4
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.4.4
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.4.4
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.4.4
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.4.4
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.4.4
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.4.4
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.7.1
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.4.4
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.4.4
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.4.4
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.7.1
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func SystemInternalID ¶ added in v0.34.0
SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.
func SystemInternalIDContains ¶ added in v0.34.0
SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.
func SystemInternalIDContainsFold ¶ added in v0.34.0
SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.
func SystemInternalIDEQ ¶ added in v0.34.0
SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.
func SystemInternalIDEqualFold ¶ added in v0.34.0
SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.
func SystemInternalIDGT ¶ added in v0.34.0
SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.
func SystemInternalIDGTE ¶ added in v0.34.0
SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.
func SystemInternalIDHasPrefix ¶ added in v0.34.0
SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.
func SystemInternalIDHasSuffix ¶ added in v0.34.0
SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.
func SystemInternalIDIn ¶ added in v0.34.0
SystemInternalIDIn applies the In predicate on the "system_internal_id" field.
func SystemInternalIDIsNil ¶ added in v0.34.0
SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.
func SystemInternalIDLT ¶ added in v0.34.0
SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.
func SystemInternalIDLTE ¶ added in v0.34.0
SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.
func SystemInternalIDNEQ ¶ added in v0.34.0
SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.
func SystemInternalIDNotIn ¶ added in v0.34.0
SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.
func SystemInternalIDNotNil ¶ added in v0.34.0
SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.
func SystemOwned ¶ added in v0.34.0
SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.
func SystemOwnedEQ ¶ added in v0.34.0
SystemOwnedEQ applies the EQ predicate on the "system_owned" field.
func SystemOwnedIsNil ¶ added in v0.34.0
SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.
func SystemOwnedNEQ ¶ added in v0.34.0
SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.
func SystemOwnedNotNil ¶ added in v0.34.0
SystemOwnedNotNil applies the NotNil predicate on the "system_owned" 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 Narrative queries.
func ByBlockedGroups ¶ added in v0.4.4
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶ added in v0.4.4
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
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 ByDetails ¶ added in v0.7.3
func ByDetails(opts ...sql.OrderTermOption) OrderOption
ByDetails orders the results by the details field.
func ByDisplayID ¶ added in v0.6.11
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByEditors ¶ added in v0.4.4
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶ added in v0.4.4
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInternalNotes ¶ added in v0.34.0
func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption
ByInternalNotes orders the results by the internal_notes field.
func ByInternalPolicies ¶ added in v0.10.7
func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInternalPolicies orders the results by internal_policies terms.
func ByInternalPoliciesCount ¶ added in v0.10.7
func ByInternalPoliciesCount(opts ...sql.OrderTermOption) OrderOption
ByInternalPoliciesCount orders the results by internal_policies count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerField ¶ added in v0.4.4
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.4.4
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByProcedures ¶ added in v0.10.7
func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProcedures orders the results by procedures terms.
func ByProceduresCount ¶ added in v0.10.7
func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
ByProceduresCount orders the results by procedures count.
func ByPrograms ¶ added in v0.4.4
func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrograms orders the results by programs terms.
func ByProgramsCount ¶ added in v0.4.4
func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramsCount orders the results by programs count.
func BySatisfies ¶
func BySatisfies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySatisfies orders the results by satisfies terms.
func BySatisfiesCount ¶ added in v0.7.3
func BySatisfiesCount(opts ...sql.OrderTermOption) OrderOption
BySatisfiesCount orders the results by satisfies count.
func BySystemInternalID ¶ added in v0.34.0
func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption
BySystemInternalID orders the results by the system_internal_id field.
func BySystemOwned ¶ added in v0.34.0
func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
BySystemOwned orders the results by the system_owned 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.
func ByViewers ¶ added in v0.4.4
func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByViewers orders the results by viewers terms.
func ByViewersCount ¶ added in v0.4.4
func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
ByViewersCount orders the results by viewers count.