# Functions
And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByCreatedBy orders the results by the created_by field.
ByDeletedAt orders the results by the deleted_at field.
ByDeletedBy orders the results by the deleted_by field.
ByEntityField orders the results by entity field.
ByID orders the results by the id field.
ByMappingID orders the results by the mapping_id field.
ByOwnerField orders the results by owner field.
ByOwnerID orders the results by the owner_id field.
ByProgram orders the results by program terms.
ByProgramCount orders the results by program count.
BySubcontrols orders the results by subcontrols terms.
BySubcontrolsCount orders the results by subcontrols count.
ByText orders the results by the text field.
ByUpdatedAt orders the results by the updated_at field.
ByUpdatedBy orders the results by the updated_by field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
CreatedBy applies equality check predicate on the "created_by" field.
CreatedByContains applies the Contains predicate on the "created_by" field.
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
CreatedByEQ applies the EQ predicate on the "created_by" field.
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
CreatedByGT applies the GT predicate on the "created_by" field.
CreatedByGTE applies the GTE predicate on the "created_by" field.
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
CreatedByIn applies the In predicate on the "created_by" field.
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
CreatedByLT applies the LT predicate on the "created_by" field.
CreatedByLTE applies the LTE predicate on the "created_by" field.
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
DeletedAt applies equality check predicate on the "deleted_at" field.
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
DeletedAtGT applies the GT predicate on the "deleted_at" field.
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
DeletedAtIn applies the In predicate on the "deleted_at" field.
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
DeletedAtLT applies the LT predicate on the "deleted_at" field.
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
DeletedBy applies equality check predicate on the "deleted_by" field.
DeletedByContains applies the Contains predicate on the "deleted_by" field.
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
DeletedByGT applies the GT predicate on the "deleted_by" field.
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
DeletedByIn applies the In predicate on the "deleted_by" field.
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
DeletedByLT applies the LT predicate on the "deleted_by" field.
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
HasEntity applies the HasEdge predicate on the "entity" edge.
HasEntityWith applies the HasEdge predicate on the "entity" edge with a given conditions (other predicates).
HasOwner applies the HasEdge predicate on the "owner" edge.
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
HasProgram applies the HasEdge predicate on the "program" edge.
HasProgramWith applies the HasEdge predicate on the "program" edge with a given conditions (other predicates).
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDContainsFold applies the ContainsFold predicate on the ID field.
IDEQ applies the EQ predicate on the ID field.
IDEqualFold applies the EqualFold predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
MappingID applies equality check predicate on the "mapping_id" field.
MappingIDContains applies the Contains predicate on the "mapping_id" field.
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
MappingIDGT applies the GT predicate on the "mapping_id" field.
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
MappingIDIn applies the In predicate on the "mapping_id" field.
MappingIDLT applies the LT predicate on the "mapping_id" field.
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
OwnerID applies equality check predicate on the "owner_id" field.
OwnerIDContains applies the Contains predicate on the "owner_id" field.
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
OwnerIDGT applies the GT predicate on the "owner_id" field.
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
OwnerIDIn applies the In predicate on the "owner_id" field.
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
OwnerIDLT applies the LT predicate on the "owner_id" field.
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
TagsIsNil applies the IsNil predicate on the "tags" field.
TagsNotNil applies the NotNil predicate on the "tags" field.
Text applies equality check predicate on the "text" field.
TextContains applies the Contains predicate on the "text" field.
TextContainsFold applies the ContainsFold predicate on the "text" field.
TextEQ applies the EQ predicate on the "text" field.
TextEqualFold applies the EqualFold predicate on the "text" field.
TextGT applies the GT predicate on the "text" field.
TextGTE applies the GTE predicate on the "text" field.
TextHasPrefix applies the HasPrefix predicate on the "text" field.
TextHasSuffix applies the HasSuffix predicate on the "text" field.
TextIn applies the In predicate on the "text" field.
TextLT applies the LT predicate on the "text" field.
TextLTE applies the LTE predicate on the "text" field.
TextNEQ applies the NEQ predicate on the "text" field.
TextNotIn applies the NotIn predicate on the "text" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
UpdatedBy applies equality check predicate on the "updated_by" field.
UpdatedByContains applies the Contains predicate on the "updated_by" field.
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
UpdatedByGT applies the GT predicate on the "updated_by" field.
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
UpdatedByIn applies the In predicate on the "updated_by" field.
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
UpdatedByLT applies the LT predicate on the "updated_by" field.
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
EdgeEntity holds the string denoting the entity edge name in mutations.
EdgeOwner holds the string denoting the owner edge name in mutations.
EdgeProgram holds the string denoting the program edge name in mutations.
EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations.
EntityColumn is the table column denoting the entity relation/edge.
EntityInverseTable is the table name for the Entity entity.
EntityTable is the table that holds the entity relation/edge.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldCreatedBy holds the string denoting the created_by field in the database.
FieldDeletedAt holds the string denoting the deleted_at field in the database.
FieldDeletedBy holds the string denoting the deleted_by field in the database.
FieldID holds the string denoting the id field in the database.
FieldMappingID holds the string denoting the mapping_id field in the database.
FieldOwnerID holds the string denoting the owner_id field in the database.
FieldTags holds the string denoting the tags field in the database.
FieldText holds the string denoting the text field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldUpdatedBy holds the string denoting the updated_by field in the database.
Label holds the string label denoting the note type in the database.
OwnerColumn is the table column denoting the owner relation/edge.
OwnerInverseTable is the table name for the Organization entity.
OwnerTable is the table that holds the owner relation/edge.
ProgramInverseTable is the table name for the Program entity.
ProgramTable is the table that holds the program relation/edge.
SubcontrolsColumn is the table column denoting the subcontrols relation/edge.
SubcontrolsInverseTable is the table name for the Subcontrol entity.
SubcontrolsTable is the table that holds the subcontrols relation/edge.
Table holds the table name of the note in the database.
# Variables
Columns holds all SQL columns for note fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultID holds the default value on creation for the "id" field.
DefaultMappingID holds the default value on creation for the "mapping_id" field.
DefaultTags holds the default value on creation for the "tags" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "notes" table and are not defined as standalone fields in the schema.
Note that the variables below are initialized by the runtime package on the initialization of the application.
Note that the variables below are initialized by the runtime package on the initialization of the application.
OwnerIDValidator is a validator for the "owner_id" field.
Note that the variables below are initialized by the runtime package on the initialization of the application.
ProgramPrimaryKey and ProgramColumn2 are the table columns denoting the primary key for the program relation (M2M).
TextValidator is a validator for the "text" field.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
# Type aliases
OrderOption defines the ordering options for the Note queries.