diff --git a/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx b/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx index 641eeabde5..de2c061ee7 100644 --- a/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx +++ b/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx @@ -65,13 +65,13 @@ class HelloModuleService { You add two methods `getCount` and `getCountSql` that have the `InjectManager` decorator. Each of the methods also accept the `sharedContext` parameter which has the `MedusaContext` decorator. -The entity manager is injected to the `sharedContext.manager` property, which is an instance of [EntityManager from the @mikro-orm/knex package](https://mikro-orm.io/api/5.9/knex/class/EntityManager). +The entity manager is injected to the `sharedContext.manager` property, which is an instance of [EntityManager from the @mikro-orm/knex package](https://mikro-orm.io/api/knex/class/EntityManager). You use the manager in the `getCount` method to retrieve the number of records in a table, and in the `getCountSql` to run a PostgreSQL query that retrieves the count. -Refer to [MikroORM's reference](https://mikro-orm.io/api/5.9/knex/class/EntityManager) for a full list of the entity manager's methods. +Refer to [MikroORM's reference](https://mikro-orm.io/api/knex/class/EntityManager) for a full list of the entity manager's methods. @@ -156,7 +156,7 @@ The shared context's `transactionManager` property holds the transactional entit -Refer to [MikroORM's reference](https://mikro-orm.io/api/5.9/knex/class/EntityManager) for a full list of the entity manager's methods. +Refer to [MikroORM's reference](https://mikro-orm.io/api/knex/class/EntityManager) for a full list of the entity manager's methods. @@ -369,7 +369,7 @@ The `baseRepository_.transaction` method also receives as a second parameter an -Refer to [MikroORM's reference](https://mikro-orm.io/api/5.9/knex/class/EntityManager) for a full list of the entity manager's methods. +Refer to [MikroORM's reference](https://mikro-orm.io/api/knex/class/EntityManager) for a full list of the entity manager's methods. diff --git a/www/apps/resources/app/medusa-container-resources/page.mdx b/www/apps/resources/app/medusa-container-resources/page.mdx index bf094d04f1..b131912381 100644 --- a/www/apps/resources/app/medusa-container-resources/page.mdx +++ b/www/apps/resources/app/medusa-container-resources/page.mdx @@ -205,7 +205,7 @@ Use the `ContainerRegistrationKeys` enum imported from `@medusajs/framework/util - An instance of [MikroORM's entity manager](https://mikro-orm.io/api/5.9/knex/class/EntityManager). + An instance of [MikroORM's entity manager](https://mikro-orm.io/api/knex/class/EntityManager). diff --git a/www/apps/resources/app/test-tools-reference/moduleIntegrationTestRunner/page.mdx b/www/apps/resources/app/test-tools-reference/moduleIntegrationTestRunner/page.mdx index f6e27ee6b3..632a53dbb5 100644 --- a/www/apps/resources/app/test-tools-reference/moduleIntegrationTestRunner/page.mdx +++ b/www/apps/resources/app/test-tools-reference/moduleIntegrationTestRunner/page.mdx @@ -126,7 +126,7 @@ The function passed to `testSuite` accepts the following parameters: description: "Utility functions to query and manage the database.", children: [ { - type: `[SqlEntityManager](https://mikro-orm.io/api/5.9/knex/class/EntityManager)`, + type: `[SqlEntityManager](https://mikro-orm.io/api/knex/class/EntityManager)`, name: "manager", description: "An instance of MikroORM's entity manager, which can be used to run queries and perform other database tasks." },