#6725 Update many-to-many-relations.md

Merged Louai Hamada Louai-H
Coverage Reach
driver/postgres/PostgresQueryRunner.ts driver/postgres/PostgresDriver.ts driver/sqlserver/SqlServerQueryRunner.ts driver/sqlserver/SqlServerDriver.ts driver/sqlserver/MssqlParameter.ts driver/sap/SapQueryRunner.ts driver/sap/SapDriver.ts driver/cockroachdb/CockroachQueryRunner.ts driver/cockroachdb/CockroachDriver.ts driver/mysql/MysqlQueryRunner.ts driver/mysql/MysqlDriver.ts driver/aurora-data-api/AuroraDataApiQueryRunner.ts driver/aurora-data-api/AuroraDataApiDriver.ts driver/aurora-data-api/AuroraDataApiConnection.ts driver/oracle/OracleQueryRunner.ts driver/oracle/OracleDriver.ts driver/sqlite-abstract/AbstractSqliteQueryRunner.ts driver/sqlite-abstract/AbstractSqliteDriver.ts driver/mongodb/MongoQueryRunner.ts driver/mongodb/MongoDriver.ts driver/mongodb/typings.ts driver/sqljs/SqljsDriver.ts driver/sqljs/SqljsQueryRunner.ts driver/better-sqlite3/BetterSqlite3QueryRunner.ts driver/better-sqlite3/BetterSqlite3Driver.ts driver/expo/ExpoQueryRunner.ts driver/expo/ExpoDriver.ts driver/sqlite/SqliteDriver.ts driver/sqlite/SqliteQueryRunner.ts driver/nativescript/NativescriptDriver.ts driver/nativescript/NativescriptQueryRunner.ts driver/react-native/ReactNativeDriver.ts driver/react-native/ReactNativeQueryRunner.ts driver/cordova/CordovaDriver.ts driver/cordova/CordovaQueryRunner.ts driver/DriverFactory.ts driver/aurora-data-api-pg/AuroraDataApiPostgresQueryRunner.ts driver/DriverUtils.ts driver/SqlInMemory.ts driver/Query.ts query-builder/SelectQueryBuilder.ts query-builder/QueryBuilder.ts query-builder/transformer/RawSqlResultsToEntityTransformer.ts query-builder/transformer/PlainObjectToDatabaseEntityTransformer.ts query-builder/transformer/DocumentToEntityTransformer.ts query-builder/transformer/PlainObjectToNewEntityTransformer.ts query-builder/UpdateQueryBuilder.ts query-builder/InsertQueryBuilder.ts query-builder/SoftDeleteQueryBuilder.ts query-builder/relation-id/RelationIdLoader.ts query-builder/relation-id/RelationIdAttribute.ts query-builder/relation-id/RelationIdMetadataToAttributeTransformer.ts query-builder/RelationIdLoader.ts query-builder/QueryExpressionMap.ts query-builder/relation-count/RelationCountLoader.ts query-builder/relation-count/RelationCountAttribute.ts query-builder/relation-count/RelationCountMetadataToAttributeTransformer.ts query-builder/DeleteQueryBuilder.ts query-builder/RelationLoader.ts query-builder/ReturningResultsEntityUpdator.ts query-builder/JoinAttribute.ts query-builder/RelationQueryBuilder.ts query-builder/RelationUpdater.ts query-builder/RelationRemover.ts query-builder/Alias.ts query-builder/QueryBuilderUtils.ts query-builder/result/InsertResult.ts query-builder/result/UpdateResult.ts query-builder/result/DeleteResult.ts query-builder/Brackets.ts persistence/SubjectExecutor.ts persistence/subject-builder/ManyToManySubjectBuilder.ts persistence/subject-builder/OneToManySubjectBuilder.ts persistence/subject-builder/CascadesSubjectBuilder.ts persistence/subject-builder/OneToOneInverseSideSubjectBuilder.ts persistence/SubjectChangedColumnsComputer.ts persistence/tree/ClosureSubjectExecutor.ts persistence/tree/NestedSetSubjectExecutor.ts persistence/tree/MaterializedPathSubjectExecutor.ts persistence/SubjectTopoligicalSorter.ts persistence/Subject.ts persistence/EntityPersistExecutor.ts persistence/SubjectDatabaseEntityLoader.ts metadata/ColumnMetadata.ts metadata/EntityMetadata.ts metadata/RelationMetadata.ts metadata/EmbeddedMetadata.ts metadata/IndexMetadata.ts metadata/UniqueMetadata.ts metadata/RelationIdMetadata.ts metadata/EntityListenerMetadata.ts metadata/ForeignKeyMetadata.ts metadata/RelationCountMetadata.ts metadata/CheckMetadata.ts metadata/ExclusionMetadata.ts metadata/types/EventListenerTypes.ts schema-builder/RdbmsSchemaBuilder.ts schema-builder/table/Table.ts schema-builder/table/TableColumn.ts schema-builder/table/TableForeignKey.ts schema-builder/table/TableIndex.ts schema-builder/table/TableCheck.ts schema-builder/table/TableUnique.ts schema-builder/table/TableExclusion.ts schema-builder/MongoSchemaBuilder.ts schema-builder/view/View.ts schema-builder/util/TableUtils.ts entity-manager/EntityManager.ts entity-manager/MongoEntityManager.ts entity-manager/EntityManagerFactory.ts entity-manager/SqljsEntityManager.ts commands/InitCommand.ts commands/MigrationGenerateCommand.ts commands/MigrationRunCommand.ts commands/MigrationRevertCommand.ts commands/SchemaLogCommand.ts commands/MigrationCreateCommand.ts commands/QueryCommand.ts commands/EntityCreateCommand.ts commands/VersionCommand.ts commands/SubscriberCreateCommand.ts commands/CacheClearCommand.ts commands/MigrationShowCommand.ts commands/SchemaSyncCommand.ts commands/SchemaDropCommand.ts commands/CommandUtils.ts metadata-builder/EntityMetadataBuilder.ts metadata-builder/JunctionEntityMetadataBuilder.ts metadata-builder/EntityMetadataValidator.ts metadata-builder/RelationJoinColumnBuilder.ts metadata-builder/ClosureJunctionEntityMetadataBuilder.ts metadata-builder/MetadataUtils.ts util/OrmUtils.ts util/DepGraph.ts util/DateUtils.ts util/RandomGenerator.ts util/DirectoryExportedClassesLoader.ts util/StringUtils.ts util/PromiseUtils.ts util/ApplyValueTransformers.ts util/VersionUtils.ts util/ObjectUtils.ts error/EntityNotFoundError.ts error/RepositoryNotTreeError.ts error/RepositoryNotFoundError.ts error/EntityMetadataNotFoundError.ts error/CannotCreateEntityIdMapError.ts error/MissingJoinTableError.ts error/MissingJoinColumnError.ts error/QueryFailedError.ts error/DataTypeNotSupportedError.ts error/FindRelationsNotFoundError.ts error/MetadataAlreadyExistsError.ts error/NamingStrategyNotFoundError.ts error/CannotDetermineEntityError.ts error/CustomRepositoryCannotInheritRepositoryError.ts error/AlreadyHasActiveConnectionError.ts error/UsingJoinTableOnlyOnOneSideAllowedError.ts error/CannotConnectAlreadyConnectedError.ts error/NoConnectionForRepositoryError.ts error/MissingDeleteDateColumnError.ts error/CustomRepositoryNotFoundError.ts error/MissingDriverError.ts error/UsingJoinTableIsNotAllowedError.ts error/UsingJoinColumnIsNotAllowedError.ts error/DriverPackageNotInstalledError.ts error/MustBeEntityError.ts error/UsingJoinColumnOnlyOnOneSideAllowedError.ts error/ColumnTypeUndefinedError.ts error/SubjectWithoutIdentifierError.ts error/OptimisticLockVersionMismatchError.ts error/CannotGetEntityManagerNotConnectedError.ts error/CannotReflectMethodParameterTypeError.ts error/MissingPrimaryColumnError.ts error/PrimaryColumnCannotBeNullableError.ts error/ConnectionIsNotSetError.ts error/MetadataWithSuchNameAlreadyExistsError.ts error/ConnectionNotFoundError.ts error/SubjectRemovedAndUpdatedError.ts error/NoVersionOrUpdateDateColumnError.ts error/TreeRepositoryNotSupportedError.ts error/CannotAttachTreeChildrenEntityError.ts error/DriverOptionNotSetError.ts error/EntityColumnNotFound.ts error/CannotExecuteNotConnectedError.ts error/CircularRelationsError.ts error/CustomRepositoryDoesNotHaveEntityError.ts error/NoConnectionOptionError.ts error/InitializedRelationError.ts error/LimitOnUpdateNotSupportedError.ts error/TransactionNotStartedError.ts error/PessimisticLockTransactionRequiredError.ts error/QueryRunnerAlreadyReleasedError.ts error/UpdateValuesMissingError.ts error/OptimisticLockCanNotBeUsedError.ts error/LockNotSupportedOnGivenDriverError.ts error/OffsetWithoutLimitNotSupportedError.ts error/QueryRunnerProviderAlreadyReleasedError.ts error/InsertValuesMissingError.ts error/NoNeedToReleaseEntityManagerError.ts error/ReturningStatementNotSupportedError.ts error/TransactionAlreadyStartedError.ts error/PersistedEntityNotFoundError.ts connection/Connection.ts connection/ConnectionOptionsReader.ts connection/options-reader/ConnectionOptionsEnvReader.ts connection/options-reader/ConnectionOptionsXmlReader.ts connection/options-reader/ConnectionOptionsYmlReader.ts connection/ConnectionMetadataBuilder.ts connection/ConnectionManager.ts decorator/columns/Column.ts decorator/columns/PrimaryGeneratedColumn.ts decorator/columns/PrimaryColumn.ts decorator/columns/ObjectIdColumn.ts decorator/columns/CreateDateColumn.ts decorator/columns/UpdateDateColumn.ts decorator/columns/DeleteDateColumn.ts decorator/columns/VersionColumn.ts decorator/columns/ViewColumn.ts decorator/relations/ManyToOne.ts decorator/relations/ManyToMany.ts decorator/relations/OneToOne.ts decorator/relations/OneToMany.ts decorator/relations/JoinTable.ts decorator/relations/JoinColumn.ts decorator/relations/RelationId.ts decorator/relations/RelationCount.ts decorator/transaction/Transaction.ts decorator/transaction/TransactionRepository.ts decorator/transaction/TransactionManager.ts decorator/listeners/AfterUpdate.ts decorator/listeners/BeforeRemove.ts decorator/listeners/AfterInsert.ts decorator/listeners/AfterRemove.ts decorator/listeners/BeforeInsert.ts decorator/listeners/BeforeUpdate.ts decorator/listeners/AfterLoad.ts decorator/listeners/EventSubscriber.ts decorator/tree/TreeChildren.ts decorator/tree/TreeParent.ts decorator/tree/Tree.ts decorator/tree/TreeLevelColumn.ts decorator/entity/Entity.ts decorator/entity/TableInheritance.ts decorator/entity/ChildEntity.ts decorator/Index.ts decorator/Unique.ts decorator/Exclusion.ts decorator/entity-view/ViewEntity.ts decorator/Check.ts decorator/Generated.ts decorator/EntityRepository.ts repository/TreeRepository.ts repository/MongoRepository.ts repository/BaseEntity.ts repository/Repository.ts repository/AbstractRepository.ts repository/RepositoryFactory.ts find-options/FindOptionsUtils.ts find-options/FindOperator.ts find-options/operator/Raw.ts find-options/operator/LessThanOrEqual.ts find-options/operator/In.ts find-options/operator/LessThan.ts find-options/operator/IsNull.ts find-options/operator/MoreThanOrEqual.ts find-options/operator/MoreThan.ts find-options/operator/Like.ts find-options/operator/Not.ts find-options/operator/Between.ts find-options/operator/Equal.ts find-options/operator/Any.ts migration/MigrationExecutor.ts migration/Migration.ts logger/DebugLogger.ts logger/FileLogger.ts logger/AdvancedConsoleLogger.ts logger/SimpleConsoleLogger.ts logger/LoggerFactory.ts index.ts cache/RedisQueryResultCache.ts cache/DbQueryResultCache.ts cache/QueryResultCacheFactory.ts subscriber/Broadcaster.ts subscriber/BroadcasterResult.ts query-runner/BaseQueryRunner.ts metadata-args/MetadataArgsStorage.ts entity-schema/EntitySchemaTransformer.ts entity-schema/EntitySchema.ts entity-schema/EntitySchemaOptions.ts naming-strategy/DefaultNamingStrategy.ts platform/PlatformTools.ts container.ts cli.ts

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

1 untracked files changed.
Other files ignored by Codecov

No tracked files changed.

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
cache 54.42%
commands 11.43%
connection 76.35%
decorator 93.92%
driver 67.61%
entity-manager 81.21%
entity-schema 82.47%
error 39.59%
find-options 92.92%
logger 38.77%
metadata 95.92%
metadata-builder 96.84%
migration 78.89%
persistence 92.25%
query-builder 86.66%
repository 75.47%
schema-builder 95.38%
subscriber 70.45%
util 81.39%
cli.ts 0.00%
container.ts 56.52%
index.ts 93.82%
metadata-args/MetadataArgsStorage.ts 99.03%
naming-strategy/DefaultNamingStrategy.ts 96.55%
platform/PlatformTools.ts 72.94%
query-runner/BaseQueryRunner.ts 92.12%
Folder Totals (26 files) 74.46%
Project Totals (294 files) 74.46%
Loading