@hichchi/nest-crud 0.0.1-beta.3 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/CHANGELOG.md +56 -50
  2. package/README.md +835 -288
  3. package/base/base-entity-extension.js +6 -10
  4. package/base/base-entity-extension.js.map +1 -1
  5. package/base/base-entity.d.ts +1 -1
  6. package/base/base-entity.js +43 -47
  7. package/base/base-entity.js.map +1 -1
  8. package/base/base-repository.d.ts +67 -24
  9. package/base/base-repository.js +92 -49
  10. package/base/base-repository.js.map +1 -1
  11. package/base/base-user.entity.d.ts +7 -1
  12. package/base/base-user.entity.js +91 -67
  13. package/base/base-user.entity.js.map +1 -1
  14. package/base/index.js +4 -7
  15. package/base/index.js.map +1 -1
  16. package/constants.d.ts +2 -0
  17. package/constants.js +7 -8
  18. package/constants.js.map +1 -1
  19. package/crud.module.js +26 -27
  20. package/crud.module.js.map +1 -1
  21. package/decorators/entity-extension.decorator.js +17 -20
  22. package/decorators/entity-extension.decorator.js.map +1 -1
  23. package/decorators/entity.decorator.js +27 -30
  24. package/decorators/entity.decorator.js.map +1 -1
  25. package/decorators/filter.decorator.js +5 -8
  26. package/decorators/filter.decorator.js.map +1 -1
  27. package/decorators/index.js +8 -11
  28. package/decorators/index.js.map +1 -1
  29. package/decorators/join-column.decorator.js +8 -11
  30. package/decorators/join-column.decorator.js.map +1 -1
  31. package/decorators/page.decorator.d.ts +14 -8
  32. package/decorators/page.decorator.js +9 -111
  33. package/decorators/page.decorator.js.map +1 -1
  34. package/decorators/repository.decorator.js +11 -14
  35. package/decorators/repository.decorator.js.map +1 -1
  36. package/decorators/search.decorator.js +5 -8
  37. package/decorators/search.decorator.js.map +1 -1
  38. package/decorators/sort.decorator.js +5 -8
  39. package/decorators/sort.decorator.js.map +1 -1
  40. package/dtos/bulk-delete.dto.js +12 -15
  41. package/dtos/bulk-delete.dto.js.map +1 -1
  42. package/dtos/bulk-update.dto.d.ts +6 -0
  43. package/dtos/bulk-update.dto.js +24 -0
  44. package/dtos/bulk-update.dto.js.map +1 -0
  45. package/dtos/ids.dto.d.ts +5 -0
  46. package/dtos/ids.dto.js +19 -0
  47. package/dtos/ids.dto.js.map +1 -0
  48. package/dtos/index.d.ts +1 -0
  49. package/dtos/index.js +2 -4
  50. package/dtos/index.js.map +1 -1
  51. package/enums/crud.enums.js +4 -7
  52. package/enums/crud.enums.js.map +1 -1
  53. package/enums/index.js +1 -4
  54. package/enums/index.js.map +1 -1
  55. package/enums/metadata-keys.enum.js +2 -5
  56. package/enums/metadata-keys.enum.js.map +1 -1
  57. package/exceptions/index.js +1 -4
  58. package/exceptions/index.js.map +1 -1
  59. package/exceptions/typeorm.exception.js +4 -9
  60. package/exceptions/typeorm.exception.js.map +1 -1
  61. package/index.d.ts +0 -1
  62. package/index.js +12 -20
  63. package/index.js.map +1 -1
  64. package/interfaces/connection-options.interface.js +1 -2
  65. package/interfaces/crud-options.interfaces.d.ts +135 -48
  66. package/interfaces/crud-options.interfaces.js +1 -2
  67. package/interfaces/index.js +2 -5
  68. package/interfaces/index.js.map +1 -1
  69. package/package.json +15 -9
  70. package/readme-top.md +138 -3
  71. package/responses/crud.error.responses.js +28 -31
  72. package/responses/crud.error.responses.js.map +1 -1
  73. package/responses/crud.success.responses.js +21 -24
  74. package/responses/crud.success.responses.js.map +1 -1
  75. package/responses/index.js +2 -5
  76. package/responses/index.js.map +1 -1
  77. package/services/crud.service.d.ts +43 -14
  78. package/services/crud.service.js +70 -46
  79. package/services/crud.service.js.map +1 -1
  80. package/services/index.js +1 -4
  81. package/services/index.js.map +1 -1
  82. package/tokens.js +2 -5
  83. package/tokens.js.map +1 -1
  84. package/types/database.types.js +1 -2
  85. package/types/decorator.types.js +1 -2
  86. package/types/decorator.types.js.map +1 -1
  87. package/types/entity-option-unique.js +1 -2
  88. package/types/error-handler.type.js +1 -2
  89. package/types/filter-options.type.js +1 -2
  90. package/types/find-conditions.type.js +1 -2
  91. package/types/index.js +8 -11
  92. package/types/index.js.map +1 -1
  93. package/types/repository-decorator.type.js +1 -2
  94. package/types/sort-options.type.js +1 -2
  95. package/utils/entity.utils.js +42 -46
  96. package/utils/entity.utils.js.map +1 -1
  97. package/utils/http.utils.d.ts +2 -2
  98. package/utils/http.utils.js +8 -13
  99. package/utils/http.utils.js.map +1 -1
  100. package/utils/index.js +2 -5
  101. package/utils/index.js.map +1 -1
  102. package/utils/repository.utils.d.ts +4 -2
  103. package/utils/repository.utils.js +10 -12
  104. package/utils/repository.utils.js.map +1 -1
  105. package/base/base-controller.d.ts +0 -13
  106. package/base/base-controller.js +0 -80
  107. package/base/base-controller.js.map +0 -1
  108. package/classes/index.d.ts +0 -1
  109. package/classes/index.js +0 -5
  110. package/classes/index.js.map +0 -1
  111. package/classes/paginated-response.d.ts +0 -95
  112. package/classes/paginated-response.js +0 -106
  113. package/classes/paginated-response.js.map +0 -1
package/README.md CHANGED
@@ -461,13 +461,44 @@ export class UserRepository extends BaseRepository<UserEntity> {
461
461
  }
462
462
  }
463
463
 
464
- // BaseRepository provides methods like:
465
- // - save(), saveMany()
464
+ // BaseRepository provides enhanced methods with skipCreate functionality:
465
+ // - saveOne(entity, options?) - Save single entity with SaveOptionsWithSkip
466
+ // - saveAndGet(entity, options?) - Save and retrieve with SaveAndGetOptions
467
+ // - saveMany(entities, options?) - Save multiple entities with SaveOptionsWithSkip
466
468
  // - get(), getOne(), getMany(), getAll()
467
469
  // - update(), updateOne(), updateMany()
468
470
  // - delete(), deleteOne(), deleteMany()
469
471
  // - count(), transaction()
470
472
 
473
+ // Enhanced save operations with skipCreate:
474
+
475
+ // Save with entity creation (default behavior)
476
+ const user = await userRepository.saveOne({
477
+ firstName: 'John',
478
+ lastName: 'Doe',
479
+ email: 'john.doe@example.com'
480
+ });
481
+
482
+ // Save without entity creation (when data is already an entity)
483
+ const existingUser = await userRepository.getById('user-id');
484
+ existingUser.firstName = 'Updated Name';
485
+ const savedUser = await userRepository.saveOne(existingUser, { skipCreate: true });
486
+
487
+ // Save and retrieve with relations
488
+ const userWithProfile = await userRepository.saveAndGet(
489
+ { firstName: 'Jane', email: 'jane@example.com' },
490
+ {
491
+ skipCreate: false,
492
+ relations: ['profile', 'posts'],
493
+ options: { cache: true }
494
+ }
495
+ );
496
+
497
+ // Save multiple entities with skip creation
498
+ const existingUsers = await userRepository.getByIds({ ids: ['id1', 'id2'] });
499
+ existingUsers.forEach(user => user.isActive = true);
500
+ const savedUsers = await userRepository.saveMany(existingUsers, { skipCreate: true });
501
+
471
502
  // You can add custom repository methods if needed:
472
503
  async findByEmail(email: string): Promise<UserEntity | null> {
473
504
  return this.getOne({ where: { email } });
@@ -512,6 +543,81 @@ export class UserController extends BaseController {
512
543
  }
513
544
  ```
514
545
 
546
+ ### Using Interfaces
547
+
548
+ #### `SaveOptionsWithSkip`
549
+
550
+ This interface extends TypeORM's SaveOptions to provide additional control over save operations, specifically allowing the ability to skip entity creation when certain conditions are met. This is useful for scenarios where you want to update existing entities but avoid creating new ones.
551
+
552
+ ```typescript
553
+ import { SaveOptionsWithSkip } from "@hichchi/nest-crud";
554
+
555
+ // Save user data but skip creation if user doesn't exist
556
+ const options: SaveOptionsWithSkip = {
557
+ skipCreate: true,
558
+ transaction: false,
559
+ reload: true,
560
+ };
561
+ const savedUser = await userRepository.saveOne(userData, options);
562
+
563
+ // Normal save operation with creation allowed
564
+ const options2: SaveOptionsWithSkip = {
565
+ skipCreate: false, // or omit this property
566
+ chunk: 1000,
567
+ };
568
+ const savedUsers = await userRepository.saveMany(usersData, options2);
569
+ ```
570
+
571
+ **Properties:**
572
+
573
+ - `skipCreate?: boolean` - Flag to control whether new entities should be created during save operations. When set to true, the save operation will only update existing entities and skip creating new ones. When false or undefined, the normal save behavior applies (both create and update operations are performed). Defaults to false.
574
+ - All other properties from TypeORM's `SaveOptions` interface
575
+
576
+ #### `SaveAndGetOptions`
577
+
578
+ This type combines SaveOptionsWithSkip and GetByIdOptions to provide a complete configuration for operations that save an entity and then immediately retrieve it by its ID. This is useful for scenarios where you need to save data and then return the saved entity with all its computed properties, relations, and database-generated values.
579
+
580
+ ```typescript
581
+ import { SaveAndGetOptions } from "@hichchi/nest-crud";
582
+
583
+ // Save a user and retrieve it with profile relation loaded
584
+ const options: SaveAndGetOptions<User> = {
585
+ skipCreate: false,
586
+ transaction: false,
587
+ relations: ["profile"],
588
+ options: { cache: true },
589
+ };
590
+ const savedUser = await userService.save(userData, options);
591
+
592
+ // Update existing user only (skip creation) and retrieve with relations
593
+ const options2: SaveAndGetOptions<User> = {
594
+ skipCreate: true,
595
+ reload: true,
596
+ relations: ["profile", "posts"],
597
+ manager: transactionManager,
598
+ };
599
+ const updatedUser = await userRepository.saveAndGet(userData, options2);
600
+
601
+ // Enhanced relations support with dot notation for nested relations
602
+ const options3: SaveAndGetOptions<User> = {
603
+ skipCreate: false,
604
+ relations: [
605
+ "profile",
606
+ "posts",
607
+ "posts.comments", // Nested relation: posts and their comments
608
+ "profile.address", // Nested relation: profile and its address
609
+ "profile.address.country", // Deep nested relation: address country
610
+ ],
611
+ };
612
+ const userWithNestedRelations = await userService.save(userData, options3);
613
+ ```
614
+
615
+ **Properties:**
616
+
617
+ - All properties from `SaveOptionsWithSkip` interface
618
+ - All properties from `GetByIdOptions<Entity>` interface (excluding sort since it's not relevant for single entity retrieval by ID)
619
+ - **Enhanced Relations Support**: The `relations` property now supports dot notation for nested relations (e.g., `'profile.address.country'`), allowing you to load deeply nested related entities in a single operation
620
+
515
621
  ### Using Decorators
516
622
 
517
623
  #### `@HichchiEntity`
@@ -864,11 +970,40 @@ export class UserService extends CrudService<User> implements IUserService {
864
970
  }
865
971
 
866
972
  // CrudService provides inherited methods like:
867
- // - save(), saveMany()
973
+ // - getRepository() - Access the underlying repository instance
974
+ // - save(entity, options?, createdBy?, eh?) - Save entity with SaveAndGetOptions
975
+ // - saveMany(entities, options?, createdBy?, eh?) - Save multiple entities with SaveOptionsWithSkip
868
976
  // - get(), getOne(), getMany(), getAll()
869
977
  // - update(), updateOne(), updateMany()
870
978
  // - delete(), deleteOne(), deleteMany()
871
979
  // - count(), transaction()
980
+
981
+ // Enhanced method examples:
982
+
983
+ // Get repository for custom operations
984
+ const repository = userService.getRepository();
985
+ const customQuery = await repository
986
+ .createQueryBuilder("user")
987
+ .where("user.email LIKE :pattern", { pattern: "%@company.com" })
988
+ .getMany();
989
+
990
+ // Save with enhanced options
991
+ const savedUser = await userService.save(
992
+ { firstName: "John", email: "john@example.com" },
993
+ {
994
+ skipCreate: false,
995
+ relations: ["profile"],
996
+ options: { cache: true },
997
+ },
998
+ currentUser,
999
+ );
1000
+
1001
+ // Save many with skip creation
1002
+ const savedUsers = await userService.saveMany(
1003
+ existingUsers.map((user) => ({ ...user, isActive: true })),
1004
+ { skipCreate: true },
1005
+ currentUser,
1006
+ );
872
1007
  ```
873
1008
 
874
1009
  ### Using Utilities
@@ -1331,6 +1466,7 @@ Complete technical reference for all classes, interfaces, methods, and types in
1331
1466
  - [NotOptions\<Entity>](#notoptionsentity)
1332
1467
  - [Options\<Entity>](#optionsentity)
1333
1468
  - [PaginatedGetOptions\<Entity>](#paginatedgetoptionsentity)
1469
+ - [SaveOptionsWithSkip](#saveoptionswithskip-1)
1334
1470
  - [SearchOptions\<Entity>](#searchoptionsentity)
1335
1471
  - [WhereOptions\<Entity>](#whereoptionsentity)
1336
1472
  - [Type Aliases](#type-aliases)
@@ -1346,6 +1482,7 @@ Complete technical reference for all classes, interfaces, methods, and types in
1346
1482
  - [GetOneOptions\<Entity>](#getoneoptionsentity)
1347
1483
  - [GetOptions\<Entity>](#getoptionsentity)
1348
1484
  - [RepositoryDecorator()](#repositorydecorator)
1485
+ - [SaveAndGetOptions\<Entity>](#saveandgetoptionsentity)
1349
1486
  - [SortOptions\<Entity>](#sortoptionsentity)
1350
1487
  - [TypeORMErrorHandler()](#typeormerrorhandler)
1351
1488
  - [Variables](#variables)
@@ -1363,7 +1500,7 @@ Complete technical reference for all classes, interfaces, methods, and types in
1363
1500
 
1364
1501
  ### BaseEntity
1365
1502
 
1366
- Defined in: [libs/nest-crud/src/base/base-entity.ts:51](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L51)
1503
+ Defined in: [libs/nest-crud/src/base/base-entity.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L51)
1367
1504
 
1368
1505
  Base entity class that provides common fields and functionality for all entities
1369
1506
 
@@ -1425,7 +1562,7 @@ new BaseEntity(): BaseEntity;
1425
1562
  protected optional afterLoad(): void;
1426
1563
  ```
1427
1564
 
1428
- Defined in: [libs/nest-crud/src/base/base-entity.ts:156](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L156)
1565
+ Defined in: [libs/nest-crud/src/base/base-entity.ts:156](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L156)
1429
1566
 
1430
1567
  Lifecycle hook that runs after an entity is loaded from the database
1431
1568
 
@@ -1475,7 +1612,7 @@ It is not nullable and cannot be changed after creation.
1475
1612
  </td>
1476
1613
  <td>
1477
1614
 
1478
- [libs/nest-crud/src/base/base-entity.ts:68](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L68)
1615
+ [libs/nest-crud/src/base/base-entity.ts:68](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L68)
1479
1616
 
1480
1617
  </td>
1481
1618
  </tr>
@@ -1500,7 +1637,7 @@ It is automatically loaded when the entity is retrieved with relations.
1500
1637
  </td>
1501
1638
  <td>
1502
1639
 
1503
- [libs/nest-crud/src/base/base-entity.ts:105](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L105)
1640
+ [libs/nest-crud/src/base/base-entity.ts:105](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L105)
1504
1641
 
1505
1642
  </td>
1506
1643
  </tr>
@@ -1525,7 +1662,7 @@ It is used for the foreign key relationship with the createdBy field.
1525
1662
  </td>
1526
1663
  <td>
1527
1664
 
1528
- [libs/nest-crud/src/base/base-entity.ts:95](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L95)
1665
+ [libs/nest-crud/src/base/base-entity.ts:95](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L95)
1529
1666
 
1530
1667
  </td>
1531
1668
  </tr>
@@ -1550,7 +1687,7 @@ soft delete functionality. When this field has a value, the entity is considered
1550
1687
  </td>
1551
1688
  <td>
1552
1689
 
1553
- [libs/nest-crud/src/base/base-entity.ts:86](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L86)
1690
+ [libs/nest-crud/src/base/base-entity.ts:86](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L86)
1554
1691
 
1555
1692
  </td>
1556
1693
  </tr>
@@ -1575,7 +1712,7 @@ It is automatically loaded when the entity is retrieved with relations.
1575
1712
  </td>
1576
1713
  <td>
1577
1714
 
1578
- [libs/nest-crud/src/base/base-entity.ts:143](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L143)
1715
+ [libs/nest-crud/src/base/base-entity.ts:143](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L143)
1579
1716
 
1580
1717
  </td>
1581
1718
  </tr>
@@ -1600,7 +1737,7 @@ It is used for the foreign key relationship with the deletedBy field.
1600
1737
  </td>
1601
1738
  <td>
1602
1739
 
1603
- [libs/nest-crud/src/base/base-entity.ts:133](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L133)
1740
+ [libs/nest-crud/src/base/base-entity.ts:133](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L133)
1604
1741
 
1605
1742
  </td>
1606
1743
  </tr>
@@ -1625,7 +1762,7 @@ It serves as the primary key for the entity in the database.
1625
1762
  </td>
1626
1763
  <td>
1627
1764
 
1628
- [libs/nest-crud/src/base/base-entity.ts:59](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L59)
1765
+ [libs/nest-crud/src/base/base-entity.ts:59](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L59)
1629
1766
 
1630
1767
  </td>
1631
1768
  </tr>
@@ -1650,7 +1787,7 @@ and updated whenever the entity is modified.
1650
1787
  </td>
1651
1788
  <td>
1652
1789
 
1653
- [libs/nest-crud/src/base/base-entity.ts:77](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L77)
1790
+ [libs/nest-crud/src/base/base-entity.ts:77](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L77)
1654
1791
 
1655
1792
  </td>
1656
1793
  </tr>
@@ -1675,7 +1812,7 @@ It is automatically loaded when the entity is retrieved with relations.
1675
1812
  </td>
1676
1813
  <td>
1677
1814
 
1678
- [libs/nest-crud/src/base/base-entity.ts:124](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L124)
1815
+ [libs/nest-crud/src/base/base-entity.ts:124](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L124)
1679
1816
 
1680
1817
  </td>
1681
1818
  </tr>
@@ -1700,7 +1837,7 @@ It is used for the foreign key relationship with the updatedBy field.
1700
1837
  </td>
1701
1838
  <td>
1702
1839
 
1703
- [libs/nest-crud/src/base/base-entity.ts:114](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L114)
1840
+ [libs/nest-crud/src/base/base-entity.ts:114](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L114)
1704
1841
 
1705
1842
  </td>
1706
1843
  </tr>
@@ -1711,7 +1848,7 @@ It is used for the foreign key relationship with the updatedBy field.
1711
1848
 
1712
1849
  ### BaseEntityExtension
1713
1850
 
1714
- Defined in: [libs/nest-crud/src/base/base-entity-extension.ts:43](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity-extension.ts#L43)
1851
+ Defined in: [libs/nest-crud/src/base/base-entity-extension.ts:43](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity-extension.ts#L43)
1715
1852
 
1716
1853
  Base entity extension class that provides a minimal entity structure
1717
1854
 
@@ -1805,7 +1942,7 @@ It serves as the primary key for the entity in the database.
1805
1942
  </td>
1806
1943
  <td>
1807
1944
 
1808
- [libs/nest-crud/src/base/base-entity-extension.ts:51](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity-extension.ts#L51)
1945
+ [libs/nest-crud/src/base/base-entity-extension.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity-extension.ts#L51)
1809
1946
 
1810
1947
  </td>
1811
1948
  </tr>
@@ -1816,7 +1953,7 @@ It serves as the primary key for the entity in the database.
1816
1953
 
1817
1954
  ### BaseRepository\<Entity>
1818
1955
 
1819
- Defined in: [libs/nest-crud/src/base/base-repository.ts:98](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L98)
1956
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:99](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L99)
1820
1957
 
1821
1958
  Base Repository Class that extends TypeORM's Repository with enhanced functionality
1822
1959
 
@@ -1925,7 +2062,7 @@ ModelExtension interface (for lightweight entity extensions).
1925
2062
  get entityRepository(): Repository<Entity>;
1926
2063
  ```
1927
2064
 
1928
- Defined in: [libs/nest-crud/src/base/base-repository.ts:127](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L127)
2065
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:128](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L128)
1929
2066
 
1930
2067
  Get the appropriate repository instance for the current context
1931
2068
 
@@ -1972,7 +2109,7 @@ Entity metadata of the entity current repository manages.
1972
2109
  new BaseRepository<Entity>(repository): BaseRepository<Entity>;
1973
2110
  ```
1974
2111
 
1975
- Defined in: [libs/nest-crud/src/base/base-repository.ts:111](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L111)
2112
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:112](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L112)
1976
2113
 
1977
2114
  Constructor for the BaseRepository
1978
2115
 
@@ -2190,7 +2327,7 @@ Useful for pagination.
2190
2327
  countMany(options?): Promise<number>;
2191
2328
  ```
2192
2329
 
2193
- Defined in: [libs/nest-crud/src/base/base-repository.ts:717](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L717)
2330
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:761](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L761)
2194
2331
 
2195
2332
  Count entities matching the specified criteria
2196
2333
 
@@ -2272,7 +2409,7 @@ The data to create entities with
2272
2409
  create(): Entity;
2273
2410
  ```
2274
2411
 
2275
- Defined in: [libs/nest-crud/src/base/base-repository.ts:148](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L148)
2412
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:149](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L149)
2276
2413
 
2277
2414
  Create a new entity instance
2278
2415
 
@@ -2307,7 +2444,7 @@ user.lastName = "Doe";
2307
2444
  create<T>(entityLike): Entity;
2308
2445
  ```
2309
2446
 
2310
- Defined in: [libs/nest-crud/src/base/base-repository.ts:172](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L172)
2447
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:173](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L173)
2311
2448
 
2312
2449
  Create a new entity instance with the provided data
2313
2450
 
@@ -2415,7 +2552,7 @@ const user = userRepository.create({
2415
2552
  create<T>(entityLikeArray): Entity[];
2416
2553
  ```
2417
2554
 
2418
- Defined in: [libs/nest-crud/src/base/base-repository.ts:195](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L195)
2555
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:196](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L196)
2419
2556
 
2420
2557
  Create multiple entity instances
2421
2558
 
@@ -2715,7 +2852,7 @@ WARNING! This method deletes ALL rows in the target table.
2715
2852
  deleteById(id): Promise<DeleteResult>;
2716
2853
  ```
2717
2854
 
2718
- Defined in: [libs/nest-crud/src/base/base-repository.ts:618](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L618)
2855
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:662](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L662)
2719
2856
 
2720
2857
  Soft delete an entity by ID
2721
2858
 
@@ -2778,7 +2915,7 @@ const result = await userRepository.delete("user-id");
2778
2915
  deleteByIds(ids): Promise<DeleteResult>;
2779
2916
  ```
2780
2917
 
2781
- Defined in: [libs/nest-crud/src/base/base-repository.ts:642](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L642)
2918
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:686](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L686)
2782
2919
 
2783
2920
  Soft delete multiple entities by their IDs
2784
2921
 
@@ -3494,7 +3631,7 @@ If entity was not found in the database - rejects with error.
3494
3631
  generateOptions(getOptions): FindOneOptions<Entity>;
3495
3632
  ```
3496
3633
 
3497
- Defined in: [libs/nest-crud/src/base/base-repository.ts:795](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L795)
3634
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:839](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L839)
3498
3635
 
3499
3636
  Generate TypeORM query options from Hichchi query options
3500
3637
 
@@ -3564,7 +3701,7 @@ TypeORM query options
3564
3701
  getById(id, options?): Promise<null | Entity>;
3565
3702
  ```
3566
3703
 
3567
- Defined in: [libs/nest-crud/src/base/base-repository.ts:496](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L496)
3704
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:540](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L540)
3568
3705
 
3569
3706
  Get an entity by ID
3570
3707
 
@@ -3647,7 +3784,7 @@ const user = await userRepository.get("user-id", {
3647
3784
  getByIds(getByIds): Promise<Entity[]>;
3648
3785
  ```
3649
3786
 
3650
- Defined in: [libs/nest-crud/src/base/base-repository.ts:527](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L527)
3787
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:571](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L571)
3651
3788
 
3652
3789
  Get multiple entities by their IDs
3653
3790
 
@@ -3757,7 +3894,7 @@ Gets entity mixed id.
3757
3894
  getMany(getMany): Promise<[Entity[], number]>;
3758
3895
  ```
3759
3896
 
3760
- Defined in: [libs/nest-crud/src/base/base-repository.ts:594](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L594)
3897
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:638](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L638)
3761
3898
 
3762
3899
  Get multiple entities matching the specified criteria
3763
3900
 
@@ -3827,7 +3964,7 @@ const [users, count] = await userRepository.getMany({
3827
3964
  getOne(getOne): Promise<null | Entity>;
3828
3965
  ```
3829
3966
 
3830
- Defined in: [libs/nest-crud/src/base/base-repository.ts:563](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L563)
3967
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:607](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L607)
3831
3968
 
3832
3969
  Get a single entity matching the specified criteria
3833
3970
 
@@ -3893,7 +4030,7 @@ const user = await userRepository.getOne({
3893
4030
  hardDeleteById(id): Promise<DeleteResult>;
3894
4031
  ```
3895
4032
 
3896
- Defined in: [libs/nest-crud/src/base/base-repository.ts:667](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L667)
4033
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:711](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L711)
3897
4034
 
3898
4035
  Permanently delete an entity by ID
3899
4036
 
@@ -3957,7 +4094,7 @@ const result = await userRepository.hardDelete("user-id");
3957
4094
  hardDeleteByIds(ids): Promise<DeleteResult>;
3958
4095
  ```
3959
4096
 
3960
- Defined in: [libs/nest-crud/src/base/base-repository.ts:692](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L692)
4097
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:736](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L736)
3961
4098
 
3962
4099
  Permanently delete multiple entities by their IDs
3963
4100
 
@@ -4181,7 +4318,7 @@ Does not check if entity exist in the database, so query will fail if duplicate
4181
4318
  isFindOperator<T>(value): value is FindOperator<T>;
4182
4319
  ```
4183
4320
 
4184
- Defined in: [libs/nest-crud/src/base/base-repository.ts:879](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L879)
4321
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:923](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L923)
4185
4322
 
4186
4323
  Type guard to check if a value is a TypeORM FindOperator
4187
4324
 
@@ -4267,7 +4404,7 @@ mapWhere<T>(
4267
4404
  wrap?): FindOptionsWhere<T>;
4268
4405
  ```
4269
4406
 
4270
- Defined in: [libs/nest-crud/src/base/base-repository.ts:913](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L913)
4407
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:957](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L957)
4271
4408
 
4272
4409
  Map and transform where conditions with operators
4273
4410
 
@@ -4587,7 +4724,7 @@ orWhere(
4587
4724
  operator): FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[];
4588
4725
  ```
4589
4726
 
4590
- Defined in: [libs/nest-crud/src/base/base-repository.ts:848](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L848)
4727
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:892](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L892)
4591
4728
 
4592
4729
  Create OR conditions for search or negation queries
4593
4730
 
@@ -5712,12 +5849,14 @@ If entity does not exist in the database then inserts, otherwise updates.
5712
5849
  saveAndGet<T>(entityLike, options?): Promise<null | Entity>;
5713
5850
  ```
5714
5851
 
5715
- Defined in: [libs/nest-crud/src/base/base-repository.ts:270](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L270)
5852
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:303](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L303)
5716
5853
 
5717
5854
  Save an entity and retrieve it with relations
5718
5855
 
5719
5856
  This method saves an entity and then retrieves it from the database with the specified relations.
5720
- It's useful when you need to immediately access related entities after saving.
5857
+ It's useful when you need to immediately access related entities after saving. The method combines
5858
+ save and get operations with unified options that support both skipCreate functionality and
5859
+ relation loading.
5721
5860
 
5722
5861
  ###### Type Parameters
5723
5862
 
@@ -5795,12 +5934,12 @@ The entity data to save
5795
5934
  </td>
5796
5935
  <td>
5797
5936
 
5798
- `SaveOptions` & [`GetByIdOptions`](#getbyidoptions)<`Entity`>
5937
+ [`SaveAndGetOptions`](#saveandgetoptions)<`Entity`>
5799
5938
 
5800
5939
  </td>
5801
5940
  <td>
5802
5941
 
5803
- Options for the save and get operations
5942
+ Combined options for save and get operations
5804
5943
 
5805
5944
  </td>
5806
5945
  </tr>
@@ -5811,23 +5950,35 @@ Options for the save and get operations
5811
5950
 
5812
5951
  `Promise`<`null` | `Entity`>
5813
5952
 
5814
- The saved entity with relations
5953
+ The saved entity with relations, or null if not found
5815
5954
 
5816
- ###### Example
5955
+ ###### Examples
5817
5956
 
5818
5957
  ```typescript
5958
+ // Save new entity and retrieve with relations
5819
5959
  const user = await userRepository.saveAndGet(
5820
5960
  { firstName: "John", lastName: "Doe", email: "john.doe@example.com" },
5821
5961
  { relations: ["posts", "profile"] },
5822
5962
  );
5823
5963
  ```
5824
5964
 
5965
+ ```typescript
5966
+ // Save existing entity without creation and retrieve with relations
5967
+ const existingUser = await userRepository.getById("user-id");
5968
+ existingUser.firstName = "Updated Name";
5969
+ const savedUser = await userRepository.saveAndGet(existingUser, {
5970
+ skipCreate: true,
5971
+ relations: ["posts", "profile"],
5972
+ });
5973
+ ```
5974
+
5825
5975
  ###### See
5826
5976
 
5827
5977
  - [saveOne](#saveone) Method used to save the entity
5828
5978
  - [getById](#getbyid) Method used to retrieve the entity with relations
5979
+ - [SaveAndGetOptions](#saveandgetoptions) Combined options for save and get operations
5980
+ - [SaveOptionsWithSkip](#saveoptionswithskip) Extended save options with skipCreate flag
5829
5981
  - [GetByIdOptions](#getbyidoptions) Options for retrieving the entity
5830
- - SaveOptions TypeORM's options for save operations
5831
5982
 
5832
5983
  ##### saveMany()
5833
5984
 
@@ -5835,11 +5986,13 @@ const user = await userRepository.saveAndGet(
5835
5986
  saveMany<T>(entities, options?): Promise<Entity[]>;
5836
5987
  ```
5837
5988
 
5838
- Defined in: [libs/nest-crud/src/base/base-repository.ts:302](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L302)
5989
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:349](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L349)
5839
5990
 
5840
5991
  Save multiple entities to the database
5841
5992
 
5842
5993
  This method creates entities from the provided data array and saves them to the database.
5994
+ It supports an optional skipCreate flag to bypass entity creation when the data array
5995
+ contains already properly formed entity instances.
5843
5996
 
5844
5997
  ###### Type Parameters
5845
5998
 
@@ -5917,12 +6070,12 @@ Array of entity data to save
5917
6070
  </td>
5918
6071
  <td>
5919
6072
 
5920
- `SaveOptions`
6073
+ [`SaveOptionsWithSkip`](#saveoptionswithskip)
5921
6074
 
5922
6075
  </td>
5923
6076
  <td>
5924
6077
 
5925
- Options for the save operation
6078
+ Options for the save operation, including skipCreate flag
5926
6079
 
5927
6080
  </td>
5928
6081
  </tr>
@@ -5935,21 +6088,33 @@ Options for the save operation
5935
6088
 
5936
6089
  Array of saved entities
5937
6090
 
5938
- ###### Example
6091
+ ###### Examples
5939
6092
 
5940
6093
  ```typescript
6094
+ // Save with entity creation (default behavior)
5941
6095
  const users = await userRepository.saveMany([
5942
6096
  { firstName: "John", lastName: "Doe", email: "john.doe@example.com" },
5943
6097
  { firstName: "Jane", lastName: "Smith", email: "jane.smith@example.com" },
5944
6098
  ]);
5945
6099
  ```
5946
6100
 
6101
+ ```typescript
6102
+ // Save without entity creation (when data is already entities)
6103
+ const existingUsers = await userRepository.getByIds({
6104
+ ids: ["user-id-1", "user-id-2"],
6105
+ });
6106
+ existingUsers.forEach((user) => (user.isActive = true));
6107
+ const savedUsers = await userRepository.saveMany(existingUsers, {
6108
+ skipCreate: true,
6109
+ });
6110
+ ```
6111
+
5947
6112
  ###### See
5948
6113
 
5949
6114
  - [Repository.save](#save-8) TypeORM's save method that this uses internally
5950
- - [create](#create-1) Method used to create the entities before saving
6115
+ - [create](#create-1) Method used to create the entities before saving (when skipCreate is false)
5951
6116
  - [saveOne](#saveone) Method to save a single entity
5952
- - SaveOptions TypeORM's options for save operations
6117
+ - [SaveOptionsWithSkip](#saveoptionswithskip) Extended save options with skipCreate flag
5953
6118
 
5954
6119
  ##### saveOne()
5955
6120
 
@@ -5957,11 +6122,13 @@ const users = await userRepository.saveMany([
5957
6122
  saveOne<T>(entityLike, options?): Promise<Entity>;
5958
6123
  ```
5959
6124
 
5960
- Defined in: [libs/nest-crud/src/base/base-repository.ts:241](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L241)
6125
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:254](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L254)
5961
6126
 
5962
6127
  Save an entity to the database
5963
6128
 
5964
6129
  This method creates an entity from the provided data and saves it to the database.
6130
+ It supports an optional skipCreate flag to bypass entity creation when the data
6131
+ is already a properly formed entity instance.
5965
6132
 
5966
6133
  ###### Type Parameters
5967
6134
 
@@ -6039,12 +6206,12 @@ The entity data to save
6039
6206
  </td>
6040
6207
  <td>
6041
6208
 
6042
- `SaveOptions`
6209
+ [`SaveOptionsWithSkip`](#saveoptionswithskip)
6043
6210
 
6044
6211
  </td>
6045
6212
  <td>
6046
6213
 
6047
- Options for the save operation
6214
+ Options for the save operation, including skipCreate flag
6048
6215
 
6049
6216
  </td>
6050
6217
  </tr>
@@ -6057,21 +6224,31 @@ Options for the save operation
6057
6224
 
6058
6225
  The saved entity
6059
6226
 
6060
- ###### Example
6227
+ ###### Examples
6061
6228
 
6062
6229
  ```typescript
6063
- const user = await userRepository.save({
6230
+ // Save with entity creation (default behavior)
6231
+ const user = await userRepository.saveOne({
6064
6232
  firstName: "John",
6065
6233
  lastName: "Doe",
6066
6234
  email: "john.doe@example.com",
6067
6235
  });
6068
6236
  ```
6069
6237
 
6238
+ ```typescript
6239
+ // Save without entity creation (when data is already an entity)
6240
+ const existingUser = await userRepository.getById("user-id");
6241
+ existingUser.firstName = "Updated Name";
6242
+ const savedUser = await userRepository.saveOne(existingUser, {
6243
+ skipCreate: true,
6244
+ });
6245
+ ```
6246
+
6070
6247
  ###### See
6071
6248
 
6072
6249
  - [Repository.save](#save-8) TypeORM's save method that this extends
6073
- - [create](#create-1) Method used to create the entity before saving
6074
- - SaveOptions TypeORM's options for save operations
6250
+ - [create](#create-1) Method used to create the entity before saving (when skipCreate is false)
6251
+ - [SaveOptionsWithSkip](#saveoptionswithskip) Extended save options with skipCreate flag
6075
6252
  - [saveAndGet](#saveandget) Method to save and retrieve with relations
6076
6253
  - [saveMany](#savemany) Method to save multiple entities
6077
6254
 
@@ -6632,7 +6809,7 @@ Return the SUM of a column
6632
6809
  transaction<T>(operation): Promise<T>;
6633
6810
  ```
6634
6811
 
6635
- Defined in: [libs/nest-crud/src/base/base-repository.ts:754](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L754)
6812
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:798](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L798)
6636
6813
 
6637
6814
  Execute operations within a transaction
6638
6815
 
@@ -6841,7 +7018,7 @@ updateAndGet(
6841
7018
  options?): Promise<null | Entity>;
6842
7019
  ```
6843
7020
 
6844
- Defined in: [libs/nest-crud/src/base/base-repository.ts:366](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L366)
7021
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:413](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L413)
6845
7022
 
6846
7023
  Update an entity and retrieve it with relations
6847
7024
 
@@ -6943,7 +7120,7 @@ const user = await userRepository.updateAndGet(
6943
7120
  updateById(id, partialEntity): Promise<UpdateResult>;
6944
7121
  ```
6945
7122
 
6946
- Defined in: [libs/nest-crud/src/base/base-repository.ts:332](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L332)
7123
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:382](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L382)
6947
7124
 
6948
7125
  Update an entity by ID
6949
7126
 
@@ -7028,7 +7205,7 @@ const result = await userRepository.update("user-id", {
7028
7205
  updateByIds(ids, partialEntity): Promise<UpdateResult>;
7029
7206
  ```
7030
7207
 
7031
- Defined in: [libs/nest-crud/src/base/base-repository.ts:468](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L468)
7208
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:512](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L512)
7032
7209
 
7033
7210
  Update multiple entities by their IDs
7034
7211
 
@@ -7111,7 +7288,7 @@ const result = await userRepository.updateByIds(
7111
7288
  updateMany(where, partialEntity): Promise<UpdateResult>;
7112
7289
  ```
7113
7290
 
7114
- Defined in: [libs/nest-crud/src/base/base-repository.ts:433](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L433)
7291
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:477](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L477)
7115
7292
 
7116
7293
  Update multiple entities matching the specified criteria
7117
7294
 
@@ -7196,7 +7373,7 @@ const result = await userRepository.updateMany(
7196
7373
  updateOne(where, partialEntity): Promise<UpdateResult>;
7197
7374
  ```
7198
7375
 
7199
- Defined in: [libs/nest-crud/src/base/base-repository.ts:400](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-repository.ts#L400)
7376
+ Defined in: [libs/nest-crud/src/base/base-repository.ts:447](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-repository.ts#L447)
7200
7377
 
7201
7378
  Update a single entity matching the specified criteria
7202
7379
 
@@ -7450,7 +7627,7 @@ node_modules/typeorm/repository/Repository.d.ts:28
7450
7627
 
7451
7628
  ### BulkDeleteDto
7452
7629
 
7453
- Defined in: [libs/nest-crud/src/dtos/bulk-delete.dto.ts:45](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/dtos/bulk-delete.dto.ts#L45)
7630
+ Defined in: [libs/nest-crud/src/dtos/bulk-delete.dto.ts:45](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/dtos/bulk-delete.dto.ts#L45)
7454
7631
 
7455
7632
  Data Transfer Object for bulk deletion operations
7456
7633
 
@@ -7544,7 +7721,7 @@ to perform the actual deletion operation.
7544
7721
  </td>
7545
7722
  <td>
7546
7723
 
7547
- [libs/nest-crud/src/dtos/bulk-delete.dto.ts:62](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/dtos/bulk-delete.dto.ts#L62)
7724
+ [libs/nest-crud/src/dtos/bulk-delete.dto.ts:62](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/dtos/bulk-delete.dto.ts#L62)
7548
7725
 
7549
7726
  </td>
7550
7727
  </tr>
@@ -7555,7 +7732,7 @@ to perform the actual deletion operation.
7555
7732
 
7556
7733
  ### `abstract` CrudService\<Entity>
7557
7734
 
7558
- Defined in: [libs/nest-crud/src/services/crud.service.ts:89](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L89)
7735
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:97](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L97)
7559
7736
 
7560
7737
  Abstract base service providing CRUD operations for entities
7561
7738
 
@@ -7654,7 +7831,7 @@ export class UserController {
7654
7831
  new CrudService<Entity>(repository): CrudService<Entity>;
7655
7832
  ```
7656
7833
 
7657
- Defined in: [libs/nest-crud/src/services/crud.service.ts:130](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L130)
7834
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:138](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L138)
7658
7835
 
7659
7836
  Creates a new instance of CrudService
7660
7837
 
@@ -7729,7 +7906,7 @@ export class UserService extends CrudService<UserEntity> {
7729
7906
  count(getMany?, eh?): Promise<number>;
7730
7907
  ```
7731
7908
 
7732
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1215](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1215)
7909
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1254](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1254)
7733
7910
 
7734
7911
  Counts entities that match the specified conditions
7735
7912
 
@@ -7825,7 +8002,7 @@ const premiumUsers = await userService.count({
7825
8002
  create<T>(createDto?, eh?): Entity;
7826
8003
  ```
7827
8004
 
7828
- Defined in: [libs/nest-crud/src/services/crud.service.ts:169](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L169)
8005
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:205](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L205)
7829
8006
 
7830
8007
  Creates a new entity instance without saving it to the database
7831
8008
 
@@ -8004,7 +8181,7 @@ delete(
8004
8181
  eh?): Promise<Entity>;
8005
8182
  ```
8006
8183
 
8007
- Defined in: [libs/nest-crud/src/services/crud.service.ts:809](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L809)
8184
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:848](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L848)
8008
8185
 
8009
8186
  Deletes an entity by its ID
8010
8187
 
@@ -8099,7 +8276,7 @@ delete(
8099
8276
  eh?): Promise<Entity>;
8100
8277
  ```
8101
8278
 
8102
- Defined in: [libs/nest-crud/src/services/crud.service.ts:823](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L823)
8279
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:862](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L862)
8103
8280
 
8104
8281
  Deletes an entity by its ID with audit tracking
8105
8282
 
@@ -8247,7 +8424,7 @@ deleteByIds(
8247
8424
  eh?): Promise<SuccessResponse>;
8248
8425
  ```
8249
8426
 
8250
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1103](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1103)
8427
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1142](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1142)
8251
8428
 
8252
8429
  Deletes multiple entities by their IDs
8253
8430
 
@@ -8343,7 +8520,7 @@ deleteByIds(
8343
8520
  eh?): Promise<SuccessResponse>;
8344
8521
  ```
8345
8522
 
8346
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1117](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1117)
8523
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1156](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1156)
8347
8524
 
8348
8525
  Deletes multiple entities by their IDs with audit tracking
8349
8526
 
@@ -8494,7 +8671,7 @@ deleteMany(
8494
8671
  eh?): Promise<Entity[]>;
8495
8672
  ```
8496
8673
 
8497
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1000](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1000)
8674
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1039](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1039)
8498
8675
 
8499
8676
  Deletes multiple entities that match the specified conditions
8500
8677
 
@@ -8588,7 +8765,7 @@ deleteMany(
8588
8765
  eh?): Promise<Entity[]>;
8589
8766
  ```
8590
8767
 
8591
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1014](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1014)
8768
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1053](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1053)
8592
8769
 
8593
8770
  Deletes multiple entities that match the specified conditions with audit tracking
8594
8771
 
@@ -8738,7 +8915,7 @@ deleteOne(
8738
8915
  eh?): Promise<Entity>;
8739
8916
  ```
8740
8917
 
8741
- Defined in: [libs/nest-crud/src/services/crud.service.ts:897](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L897)
8918
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:936](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L936)
8742
8919
 
8743
8920
  Deletes a single entity that matches the specified conditions
8744
8921
 
@@ -8832,7 +9009,7 @@ deleteOne(
8832
9009
  eh?): Promise<Entity>;
8833
9010
  ```
8834
9011
 
8835
- Defined in: [libs/nest-crud/src/services/crud.service.ts:911](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L911)
9012
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:950](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L950)
8836
9013
 
8837
9014
  Deletes a single entity that matches the specified conditions with audit tracking
8838
9015
 
@@ -8926,7 +9103,7 @@ get(
8926
9103
  eh?): Promise<Entity>;
8927
9104
  ```
8928
9105
 
8929
- Defined in: [libs/nest-crud/src/services/crud.service.ts:580](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L580)
9106
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:619](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L619)
8930
9107
 
8931
9108
  Retrieves an entity by its ID
8932
9109
 
@@ -9037,7 +9214,7 @@ const userWithProfile = await userService.get(userId, {
9037
9214
  getAll<Options>(getAll?, eh?): Options extends object ? Promise<PaginatedResponse<Entity>> : Promise<Entity[]>;
9038
9215
  ```
9039
9216
 
9040
- Defined in: [libs/nest-crud/src/services/crud.service.ts:778](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L778)
9217
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:817](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L817)
9041
9218
 
9042
9219
  Retrieves all entities, optionally with filtering, sorting, and pagination
9043
9220
 
@@ -9160,7 +9337,7 @@ const sortedUsers = await userService.getAll({
9160
9337
  getByIds(getByIds, eh?): Promise<Entity[]>;
9161
9338
  ```
9162
9339
 
9163
- Defined in: [libs/nest-crud/src/services/crud.service.ts:629](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L629)
9340
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:668](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L668)
9164
9341
 
9165
9342
  Retrieves multiple entities by their IDs
9166
9343
 
@@ -9258,7 +9435,7 @@ const usersWithProfiles = await userService.getByIds({
9258
9435
  getMany<Options>(getMany, eh?): Options extends object ? Promise<PaginatedResponse<Entity>> : Promise<Entity[]>;
9259
9436
  ```
9260
9437
 
9261
- Defined in: [libs/nest-crud/src/services/crud.service.ts:724](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L724)
9438
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:763](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L763)
9262
9439
 
9263
9440
  Retrieves multiple entities that match the specified conditions
9264
9441
 
@@ -9385,7 +9562,7 @@ const sortedUsers = await userService.getMany({
9385
9562
  getOne(getOne, eh?): Promise<Entity>;
9386
9563
  ```
9387
9564
 
9388
- Defined in: [libs/nest-crud/src/services/crud.service.ts:671](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L671)
9565
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:710](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L710)
9389
9566
 
9390
9567
  Retrieves a single entity that matches the specified conditions
9391
9568
 
@@ -9481,19 +9658,48 @@ const userWithProfile = await userService.getOne({
9481
9658
  getRepository(): BaseRepository<Entity>;
9482
9659
  ```
9483
9660
 
9484
- Defined in: [libs/nest-crud/src/services/crud.service.ts:141](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L141)
9661
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:177](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L177)
9662
+
9663
+ Gets the repository instance used by this service
9664
+
9665
+ This method provides access to the underlying repository instance that the service
9666
+ uses for database operations. It's useful when you need to perform custom operations
9667
+ that aren't covered by the standard CRUD methods or when you need to access
9668
+ repository-specific functionality.
9485
9669
 
9486
9670
  ###### Returns
9487
9671
 
9488
9672
  [`BaseRepository`](#baserepository)<`Entity`>
9489
9673
 
9674
+ The repository instance for the entity
9675
+
9676
+ ###### Example
9677
+
9678
+ ```typescript
9679
+ // Access the repository for custom operations
9680
+ const repository = userService.getRepository();
9681
+
9682
+ // Use repository methods directly
9683
+ const customQuery = await repository
9684
+ .createQueryBuilder("user")
9685
+ .where("user.email LIKE :pattern", { pattern: "%@company.com" })
9686
+ .getMany();
9687
+
9688
+ // Access repository metadata
9689
+ const entityMetadata = repository.metadata;
9690
+ ```
9691
+
9692
+ ###### See
9693
+
9694
+ [BaseRepository](#baserepository) The repository class that provides enhanced data access
9695
+
9490
9696
  ##### handleError()
9491
9697
 
9492
9698
  ```ts
9493
9699
  handleError(error, eh?): never;
9494
9700
  ```
9495
9701
 
9496
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1330](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1330)
9702
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1369](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1369)
9497
9703
 
9498
9704
  Handles errors in a standardized way
9499
9705
 
@@ -9595,7 +9801,7 @@ save<T>(
9595
9801
  eh?): Promise<null | Entity>;
9596
9802
  ```
9597
9803
 
9598
- Defined in: [libs/nest-crud/src/services/crud.service.ts:216](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L216)
9804
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:252](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L252)
9599
9805
 
9600
9806
  Creates and saves a new entity to the database
9601
9807
 
@@ -9679,7 +9885,7 @@ The data transfer object containing entity properties
9679
9885
  </td>
9680
9886
  <td>
9681
9887
 
9682
- [`GetByIdOptions`](#getbyidoptions)<`Entity`>
9888
+ [`SaveAndGetOptions`](#saveandgetoptions)<`Entity`>
9683
9889
 
9684
9890
  </td>
9685
9891
  <td>
@@ -9762,11 +9968,12 @@ const userWithAudit = await userService.save(userDto, undefined, currentUser);
9762
9968
  ```ts
9763
9969
  saveMany<T>(
9764
9970
  createDtos,
9971
+ options?,
9765
9972
  createdBy?,
9766
9973
  eh?): Promise<Entity[]>;
9767
9974
  ```
9768
9975
 
9769
- Defined in: [libs/nest-crud/src/services/crud.service.ts:264](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L264)
9976
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:301](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L301)
9770
9977
 
9771
9978
  Creates and saves multiple entities to the database
9772
9979
 
@@ -9845,6 +10052,23 @@ Array of data transfer objects containing entity properties
9845
10052
  <tr>
9846
10053
  <td>
9847
10054
 
10055
+ `options?`
10056
+
10057
+ </td>
10058
+ <td>
10059
+
10060
+ [`SaveOptionsWithSkip`](#saveoptionswithskip)
10061
+
10062
+ </td>
10063
+ <td>
10064
+
10065
+ Options for saving entities, including skipCreate flag to control whether new entities should be created during save operations. When skipCreate is true, only updates existing entities. Defaults to false.
10066
+
10067
+ </td>
10068
+ </tr>
10069
+ <tr>
10070
+ <td>
10071
+
9848
10072
  `createdBy?`
9849
10073
 
9850
10074
  </td>
@@ -9918,7 +10142,7 @@ const usersWithAudit = await userService.saveMany(
9918
10142
  transaction<T>(operation): Promise<T>;
9919
10143
  ```
9920
10144
 
9921
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1256](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1256)
10145
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1295](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1295)
9922
10146
 
9923
10147
  Executes operations within a transaction
9924
10148
 
@@ -10017,7 +10241,7 @@ const result = await userService.transaction(async (manager) => {
10017
10241
  try<T>(fn): Promise<T>;
10018
10242
  ```
10019
10243
 
10020
- Defined in: [libs/nest-crud/src/services/crud.service.ts:1287](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L1287)
10244
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:1326](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L1326)
10021
10245
 
10022
10246
  Executes a function with error handling
10023
10247
 
@@ -10120,7 +10344,7 @@ update<T>(
10120
10344
  eh?): Promise<Entity>;
10121
10345
  ```
10122
10346
 
10123
- Defined in: [libs/nest-crud/src/services/crud.service.ts:330](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L330)
10347
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:369](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L369)
10124
10348
 
10125
10349
  Updates an entity by its ID
10126
10350
 
@@ -10324,7 +10548,7 @@ updateByIds<T>(
10324
10548
  eh?): Promise<SuccessResponse>;
10325
10549
  ```
10326
10550
 
10327
- Defined in: [libs/nest-crud/src/services/crud.service.ts:523](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L523)
10551
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:562](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L562)
10328
10552
 
10329
10553
  Updates multiple entities by their IDs
10330
10554
 
@@ -10508,7 +10732,7 @@ updateMany<T>(
10508
10732
  eh?): Promise<SuccessResponse>;
10509
10733
  ```
10510
10734
 
10511
- Defined in: [libs/nest-crud/src/services/crud.service.ts:459](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L459)
10735
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:498](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L498)
10512
10736
 
10513
10737
  Updates multiple entities that match the specified conditions
10514
10738
 
@@ -10685,7 +10909,7 @@ updateOne<T>(
10685
10909
  eh?): Promise<Entity>;
10686
10910
  ```
10687
10911
 
10688
- Defined in: [libs/nest-crud/src/services/crud.service.ts:396](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L396)
10912
+ Defined in: [libs/nest-crud/src/services/crud.service.ts:435](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L435)
10689
10913
 
10690
10914
  Updates a single entity that matches the specified conditions
10691
10915
 
@@ -10889,7 +11113,7 @@ The repository for the entity
10889
11113
  </td>
10890
11114
  <td>
10891
11115
 
10892
- [libs/nest-crud/src/services/crud.service.ts:130](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/services/crud.service.ts#L130)
11116
+ [libs/nest-crud/src/services/crud.service.ts:138](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/services/crud.service.ts#L138)
10893
11117
 
10894
11118
  </td>
10895
11119
  </tr>
@@ -10900,7 +11124,7 @@ The repository for the entity
10900
11124
 
10901
11125
  ### HichchiCrudModule
10902
11126
 
10903
- Defined in: [libs/nest-crud/src/crud.module.ts:35](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/crud.module.ts#L35)
11127
+ Defined in: [libs/nest-crud/src/crud.module.ts:35](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/crud.module.ts#L35)
10904
11128
 
10905
11129
  Module for integrating TypeORM with NestJS and providing CRUD functionality
10906
11130
 
@@ -10946,7 +11170,7 @@ new HichchiCrudModule(): HichchiCrudModule;
10946
11170
  static forFeature(entities): DynamicModule;
10947
11171
  ```
10948
11172
 
10949
- Defined in: [libs/nest-crud/src/crud.module.ts:131](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/crud.module.ts#L131)
11173
+ Defined in: [libs/nest-crud/src/crud.module.ts:131](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/crud.module.ts#L131)
10950
11174
 
10951
11175
  Register entities for the HichchiCrudModule
10952
11176
 
@@ -11012,7 +11236,7 @@ export class UserModule {}
11012
11236
  static forRoot(options): DynamicModule;
11013
11237
  ```
11014
11238
 
11015
- Defined in: [libs/nest-crud/src/crud.module.ts:73](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/crud.module.ts#L73)
11239
+ Defined in: [libs/nest-crud/src/crud.module.ts:73](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/crud.module.ts#L73)
11016
11240
 
11017
11241
  Register the HichchiCrudModule
11018
11242
 
@@ -11091,7 +11315,7 @@ export class AppModule {}
11091
11315
  static validateEntities(entities): void;
11092
11316
  ```
11093
11317
 
11094
- Defined in: [libs/nest-crud/src/crud.module.ts:206](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/crud.module.ts#L206)
11318
+ Defined in: [libs/nest-crud/src/crud.module.ts:206](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/crud.module.ts#L206)
11095
11319
 
11096
11320
  Validates entities for registration with the HichchiCrudModule
11097
11321
 
@@ -11156,7 +11380,7 @@ Array of entity classes to validate
11156
11380
 
11157
11381
  ### HichchiUserEntity
11158
11382
 
11159
- Defined in: [libs/nest-crud/src/base/base-user.entity.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L49)
11383
+ Defined in: [libs/nest-crud/src/base/base-user.entity.ts:49](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L49)
11160
11384
 
11161
11385
  Base user entity class that provides common user fields and functionality
11162
11386
 
@@ -11223,7 +11447,7 @@ new HichchiUserEntity(): HichchiUserEntity;
11223
11447
  protected optional afterLoad(): void;
11224
11448
  ```
11225
11449
 
11226
- Defined in: [libs/nest-crud/src/base/base-user.entity.ts:216](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L216)
11450
+ Defined in: [libs/nest-crud/src/base/base-user.entity.ts:216](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L216)
11227
11451
 
11228
11452
  Lifecycle hook that runs after an entity is loaded from the database
11229
11453
 
@@ -11246,7 +11470,7 @@ UserInfo The interface that defines the user information structure
11246
11470
  protected optional beforeInsert(): void;
11247
11471
  ```
11248
11472
 
11249
- Defined in: [libs/nest-crud/src/base/base-user.entity.ts:201](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L201)
11473
+ Defined in: [libs/nest-crud/src/base/base-user.entity.ts:201](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L201)
11250
11474
 
11251
11475
  Lifecycle hooks that run before an entity is inserted or updated
11252
11476
 
@@ -11291,7 +11515,7 @@ It is not nullable and cannot be changed after creation.
11291
11515
  </td>
11292
11516
  <td>
11293
11517
 
11294
- [libs/nest-crud/src/base/base-user.entity.ts:66](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L66)
11518
+ [libs/nest-crud/src/base/base-user.entity.ts:66](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L66)
11295
11519
 
11296
11520
  </td>
11297
11521
  </tr>
@@ -11316,7 +11540,7 @@ It is automatically loaded when the entity is retrieved with relations.
11316
11540
  </td>
11317
11541
  <td>
11318
11542
 
11319
- [libs/nest-crud/src/base/base-user.entity.ts:103](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L103)
11543
+ [libs/nest-crud/src/base/base-user.entity.ts:103](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L103)
11320
11544
 
11321
11545
  </td>
11322
11546
  </tr>
@@ -11341,7 +11565,7 @@ It is used for the foreign key relationship with the createdBy field.
11341
11565
  </td>
11342
11566
  <td>
11343
11567
 
11344
- [libs/nest-crud/src/base/base-user.entity.ts:93](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L93)
11568
+ [libs/nest-crud/src/base/base-user.entity.ts:93](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L93)
11345
11569
 
11346
11570
  </td>
11347
11571
  </tr>
@@ -11366,7 +11590,7 @@ soft delete functionality. When this field has a value, the entity is considered
11366
11590
  </td>
11367
11591
  <td>
11368
11592
 
11369
- [libs/nest-crud/src/base/base-user.entity.ts:84](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L84)
11593
+ [libs/nest-crud/src/base/base-user.entity.ts:84](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L84)
11370
11594
 
11371
11595
  </td>
11372
11596
  </tr>
@@ -11391,7 +11615,7 @@ It is automatically loaded when the entity is retrieved with relations.
11391
11615
  </td>
11392
11616
  <td>
11393
11617
 
11394
- [libs/nest-crud/src/base/base-user.entity.ts:141](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L141)
11618
+ [libs/nest-crud/src/base/base-user.entity.ts:141](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L141)
11395
11619
 
11396
11620
  </td>
11397
11621
  </tr>
@@ -11416,7 +11640,7 @@ It is used for the foreign key relationship with the deletedBy field.
11416
11640
  </td>
11417
11641
  <td>
11418
11642
 
11419
- [libs/nest-crud/src/base/base-user.entity.ts:131](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L131)
11643
+ [libs/nest-crud/src/base/base-user.entity.ts:131](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L131)
11420
11644
 
11421
11645
  </td>
11422
11646
  </tr>
@@ -11442,7 +11666,7 @@ or uses alternative authentication methods.
11442
11666
  </td>
11443
11667
  <td>
11444
11668
 
11445
- [libs/nest-crud/src/base/base-user.entity.ts:180](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L180)
11669
+ [libs/nest-crud/src/base/base-user.entity.ts:180](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L180)
11446
11670
 
11447
11671
  </td>
11448
11672
  </tr>
@@ -11468,7 +11692,7 @@ be null.
11468
11692
  </td>
11469
11693
  <td>
11470
11694
 
11471
- [libs/nest-crud/src/base/base-user.entity.ts:151](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L151)
11695
+ [libs/nest-crud/src/base/base-user.entity.ts:151](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L151)
11472
11696
 
11473
11697
  </td>
11474
11698
  </tr>
@@ -11494,7 +11718,7 @@ automatically maintained by the beforeInsert and beforeUpdate hooks.
11494
11718
  </td>
11495
11719
  <td>
11496
11720
 
11497
- [libs/nest-crud/src/base/base-user.entity.ts:170](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L170)
11721
+ [libs/nest-crud/src/base/base-user.entity.ts:170](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L170)
11498
11722
 
11499
11723
  </td>
11500
11724
  </tr>
@@ -11519,7 +11743,7 @@ It serves as the primary key for the entity in the database.
11519
11743
  </td>
11520
11744
  <td>
11521
11745
 
11522
- [libs/nest-crud/src/base/base-user.entity.ts:57](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L57)
11746
+ [libs/nest-crud/src/base/base-user.entity.ts:57](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L57)
11523
11747
 
11524
11748
  </td>
11525
11749
  </tr>
@@ -11544,7 +11768,7 @@ for formal addressing and identification. It is required and cannot be null.
11544
11768
  </td>
11545
11769
  <td>
11546
11770
 
11547
- [libs/nest-crud/src/base/base-user.entity.ts:160](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L160)
11771
+ [libs/nest-crud/src/base/base-user.entity.ts:160](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L160)
11548
11772
 
11549
11773
  </td>
11550
11774
  </tr>
@@ -11569,7 +11793,7 @@ and updated whenever the entity is modified.
11569
11793
  </td>
11570
11794
  <td>
11571
11795
 
11572
- [libs/nest-crud/src/base/base-user.entity.ts:75](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L75)
11796
+ [libs/nest-crud/src/base/base-user.entity.ts:75](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L75)
11573
11797
 
11574
11798
  </td>
11575
11799
  </tr>
@@ -11594,7 +11818,7 @@ It is automatically loaded when the entity is retrieved with relations.
11594
11818
  </td>
11595
11819
  <td>
11596
11820
 
11597
- [libs/nest-crud/src/base/base-user.entity.ts:122](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L122)
11821
+ [libs/nest-crud/src/base/base-user.entity.ts:122](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L122)
11598
11822
 
11599
11823
  </td>
11600
11824
  </tr>
@@ -11619,7 +11843,7 @@ It is used for the foreign key relationship with the updatedBy field.
11619
11843
  </td>
11620
11844
  <td>
11621
11845
 
11622
- [libs/nest-crud/src/base/base-user.entity.ts:112](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L112)
11846
+ [libs/nest-crud/src/base/base-user.entity.ts:112](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L112)
11623
11847
 
11624
11848
  </td>
11625
11849
  </tr>
@@ -11645,7 +11869,7 @@ alternative authentication methods like email-only authentication.
11645
11869
  </td>
11646
11870
  <td>
11647
11871
 
11648
- [libs/nest-crud/src/base/base-user.entity.ts:190](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-user.entity.ts#L190)
11872
+ [libs/nest-crud/src/base/base-user.entity.ts:190](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-user.entity.ts#L190)
11649
11873
 
11650
11874
  </td>
11651
11875
  </tr>
@@ -11656,7 +11880,7 @@ alternative authentication methods like email-only authentication.
11656
11880
 
11657
11881
  ### PaginatedResponse\<T>
11658
11882
 
11659
- Defined in: [libs/nest-crud/src/classes/paginated-response.ts:50](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/classes/paginated-response.ts#L50)
11883
+ Defined in: [libs/nest-crud/src/classes/paginated-response.ts:50](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/classes/paginated-response.ts#L50)
11660
11884
 
11661
11885
  Class for standardized paginated responses with page-based navigation
11662
11886
 
@@ -11741,7 +11965,7 @@ new PaginatedResponse<T>(
11741
11965
  pagination?): PaginatedResponse<T>;
11742
11966
  ```
11743
11967
 
11744
- Defined in: [libs/nest-crud/src/classes/paginated-response.ts:99](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/classes/paginated-response.ts#L99)
11968
+ Defined in: [libs/nest-crud/src/classes/paginated-response.ts:99](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/classes/paginated-response.ts#L99)
11745
11969
 
11746
11970
  Creates a new paginated response
11747
11971
 
@@ -11854,7 +12078,7 @@ determined by the generic type parameter `T`.
11854
12078
  </td>
11855
12079
  <td>
11856
12080
 
11857
- [libs/nest-crud/src/classes/paginated-response.ts:58](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/classes/paginated-response.ts#L58)
12081
+ [libs/nest-crud/src/classes/paginated-response.ts:58](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/classes/paginated-response.ts#L58)
11858
12082
 
11859
12083
  </td>
11860
12084
  </tr>
@@ -11891,7 +12115,7 @@ in the pagination interface.
11891
12115
  </td>
11892
12116
  <td>
11893
12117
 
11894
- [libs/nest-crud/src/classes/paginated-response.ts:79](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/classes/paginated-response.ts#L79)
12118
+ [libs/nest-crud/src/classes/paginated-response.ts:79](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/classes/paginated-response.ts#L79)
11895
12119
 
11896
12120
  </td>
11897
12121
  </tr>
@@ -11927,7 +12151,7 @@ the skip and take parameters. The first page is 1.
11927
12151
  </td>
11928
12152
  <td>
11929
12153
 
11930
- [libs/nest-crud/src/classes/paginated-response.ts:68](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/classes/paginated-response.ts#L68)
12154
+ [libs/nest-crud/src/classes/paginated-response.ts:68](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/classes/paginated-response.ts#L68)
11931
12155
 
11932
12156
  </td>
11933
12157
  </tr>
@@ -11959,7 +12183,7 @@ interfaces.
11959
12183
  </td>
11960
12184
  <td>
11961
12185
 
11962
- [libs/nest-crud/src/classes/paginated-response.ts:89](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/classes/paginated-response.ts#L89)
12186
+ [libs/nest-crud/src/classes/paginated-response.ts:89](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/classes/paginated-response.ts#L89)
11963
12187
 
11964
12188
  </td>
11965
12189
  </tr>
@@ -15076,7 +15300,7 @@ node_modules/typeorm/repository/Repository.d.ts:28
15076
15300
 
15077
15301
  ### Operation
15078
15302
 
15079
- Defined in: [libs/nest-crud/src/enums/crud.enums.ts:50](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L50)
15303
+ Defined in: [libs/nest-crud/src/enums/crud.enums.ts:50](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L50)
15080
15304
 
15081
15305
  CRUD Operations Enum
15082
15306
 
@@ -15122,7 +15346,7 @@ and performs any initialization logic required for new entities.
15122
15346
  </td>
15123
15347
  <td>
15124
15348
 
15125
- [libs/nest-crud/src/enums/crud.enums.ts:58](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L58)
15349
+ [libs/nest-crud/src/enums/crud.enums.ts:58](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L58)
15126
15350
 
15127
15351
  </td>
15128
15352
  </tr>
@@ -15148,7 +15372,7 @@ enforce referential integrity constraints, depending on the configuration.
15148
15372
  </td>
15149
15373
  <td>
15150
15374
 
15151
- [libs/nest-crud/src/enums/crud.enums.ts:85](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L85)
15375
+ [libs/nest-crud/src/enums/crud.enums.ts:85](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L85)
15152
15376
 
15153
15377
  </td>
15154
15378
  </tr>
@@ -15174,7 +15398,7 @@ entity already exists in the database.
15174
15398
  </td>
15175
15399
  <td>
15176
15400
 
15177
- [libs/nest-crud/src/enums/crud.enums.ts:76](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L76)
15401
+ [libs/nest-crud/src/enums/crud.enums.ts:76](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L76)
15178
15402
 
15179
15403
  </td>
15180
15404
  </tr>
@@ -15200,7 +15424,7 @@ and may enforce different validation rules than creation.
15200
15424
  </td>
15201
15425
  <td>
15202
15426
 
15203
- [libs/nest-crud/src/enums/crud.enums.ts:67](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L67)
15427
+ [libs/nest-crud/src/enums/crud.enums.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L67)
15204
15428
 
15205
15429
  </td>
15206
15430
  </tr>
@@ -15211,7 +15435,7 @@ and may enforce different validation rules than creation.
15211
15435
 
15212
15436
  ### TypeORMErrorType
15213
15437
 
15214
- Defined in: [libs/nest-crud/src/enums/crud.enums.ts:13](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L13)
15438
+ Defined in: [libs/nest-crud/src/enums/crud.enums.ts:13](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L13)
15215
15439
 
15216
15440
  TypeORM Database Error Types
15217
15441
 
@@ -15255,7 +15479,7 @@ often caused by typos in column names or outdated queries after schema changes.
15255
15479
  </td>
15256
15480
  <td>
15257
15481
 
15258
- [libs/nest-crud/src/enums/crud.enums.ts:36](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L36)
15482
+ [libs/nest-crud/src/enums/crud.enums.ts:36](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L36)
15259
15483
 
15260
15484
  </td>
15261
15485
  </tr>
@@ -15278,7 +15502,7 @@ constraint, such as primary keys or columns with unique indexes.
15278
15502
  </td>
15279
15503
  <td>
15280
15504
 
15281
- [libs/nest-crud/src/enums/crud.enums.ts:24](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L24)
15505
+ [libs/nest-crud/src/enums/crud.enums.ts:24](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L24)
15282
15506
 
15283
15507
  </td>
15284
15508
  </tr>
@@ -15301,7 +15525,7 @@ has no default value defined in the database schema.
15301
15525
  </td>
15302
15526
  <td>
15303
15527
 
15304
- [libs/nest-crud/src/enums/crud.enums.ts:18](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L18)
15528
+ [libs/nest-crud/src/enums/crud.enums.ts:18](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L18)
15305
15529
 
15306
15530
  </td>
15307
15531
  </tr>
@@ -15324,7 +15548,7 @@ typically occurring during insert or update operations with invalid foreign key
15324
15548
  </td>
15325
15549
  <td>
15326
15550
 
15327
- [libs/nest-crud/src/enums/crud.enums.ts:30](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/enums/crud.enums.ts#L30)
15551
+ [libs/nest-crud/src/enums/crud.enums.ts:30](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/enums/crud.enums.ts#L30)
15328
15552
 
15329
15553
  </td>
15330
15554
  </tr>
@@ -15339,7 +15563,7 @@ typically occurring during insert or update operations with invalid foreign key
15339
15563
  function Filters(): ParameterDecorator;
15340
15564
  ```
15341
15565
 
15342
- Defined in: [libs/nest-crud/src/decorators/filter.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/filter.decorator.ts#L85)
15566
+ Defined in: [libs/nest-crud/src/decorators/filter.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/filter.decorator.ts#L85)
15343
15567
 
15344
15568
  Filter parameter decorator
15345
15569
 
@@ -15431,7 +15655,7 @@ export class ProductController {
15431
15655
  function HichchiEntity(tableName, unique?, skipFkValidation?): EntityDecorator;
15432
15656
  ```
15433
15657
 
15434
- Defined in: [libs/nest-crud/src/decorators/entity.decorator.ts:109](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/entity.decorator.ts#L109)
15658
+ Defined in: [libs/nest-crud/src/decorators/entity.decorator.ts:109](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/entity.decorator.ts#L109)
15435
15659
 
15436
15660
  Decorator for creating a new entity with enhanced validation and metadata registration
15437
15661
 
@@ -15612,7 +15836,7 @@ If entity naming conventions or relationship definitions are invalid
15612
15836
  function HichchiEntityExtension(tableName): EntityExtensionDecorator;
15613
15837
  ```
15614
15838
 
15615
- Defined in: [libs/nest-crud/src/decorators/entity-extension.decorator.ts:54](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/entity-extension.decorator.ts#L54)
15839
+ Defined in: [libs/nest-crud/src/decorators/entity-extension.decorator.ts:54](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/entity-extension.decorator.ts#L54)
15616
15840
 
15617
15841
  Decorator for creating entity extensions with enhanced validation
15618
15842
 
@@ -15718,7 +15942,7 @@ If extension class doesn't extend BaseEntityExtension or has invalid relationshi
15718
15942
  function HichchiJoinColumn(options?): PropertyDecorator;
15719
15943
  ```
15720
15944
 
15721
- Defined in: [libs/nest-crud/src/decorators/join-column.decorator.ts:51](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/join-column.decorator.ts#L51)
15945
+ Defined in: [libs/nest-crud/src/decorators/join-column.decorator.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/join-column.decorator.ts#L51)
15722
15946
 
15723
15947
  Decorator for creating a join column with automatic foreign key constraint naming
15724
15948
 
@@ -15807,7 +16031,7 @@ JoinColumn TypeORM's JoinColumn decorator that this extends
15807
16031
  function HichchiRepository<Entity>(entity): RepositoryDecorator;
15808
16032
  ```
15809
16033
 
15810
- Defined in: [libs/nest-crud/src/decorators/repository.decorator.ts:63](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/repository.decorator.ts#L63)
16034
+ Defined in: [libs/nest-crud/src/decorators/repository.decorator.ts:63](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/repository.decorator.ts#L63)
15811
16035
 
15812
16036
  Decorator for creating a repository with automatic dependency injection
15813
16037
 
@@ -15931,7 +16155,7 @@ If the target class doesn't extend BaseRepository
15931
16155
  function Pager(defaultOptions?): ParameterDecorator;
15932
16156
  ```
15933
16157
 
15934
- Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:109](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/page.decorator.ts#L109)
16158
+ Defined in: [libs/nest-crud/src/decorators/page.decorator.ts:109](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/page.decorator.ts#L109)
15935
16159
 
15936
16160
  Pagination parameter decorator
15937
16161
 
@@ -16110,7 +16334,7 @@ export class ArticleController {
16110
16334
  function Search(): ParameterDecorator;
16111
16335
  ```
16112
16336
 
16113
- Defined in: [libs/nest-crud/src/decorators/search.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/search.decorator.ts#L85)
16337
+ Defined in: [libs/nest-crud/src/decorators/search.decorator.ts:85](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/search.decorator.ts#L85)
16114
16338
 
16115
16339
  Search parameter decorator
16116
16340
 
@@ -16205,7 +16429,7 @@ export class ProductController {
16205
16429
  function Sorter(): ParameterDecorator;
16206
16430
  ```
16207
16431
 
16208
- Defined in: [libs/nest-crud/src/decorators/sort.decorator.ts:90](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/decorators/sort.decorator.ts#L90)
16432
+ Defined in: [libs/nest-crud/src/decorators/sort.decorator.ts:90](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/decorators/sort.decorator.ts#L90)
16209
16433
 
16210
16434
  Sort parameter decorator
16211
16435
 
@@ -16301,7 +16525,7 @@ export class ProductController {
16301
16525
 
16302
16526
  ### ConnectionOptions
16303
16527
 
16304
- Defined in: [libs/nest-crud/src/interfaces/connection-options.interface.ts:45](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L45)
16528
+ Defined in: [libs/nest-crud/src/interfaces/connection-options.interface.ts:45](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L45)
16305
16529
 
16306
16530
  Database connection configuration options.
16307
16531
 
@@ -16392,7 +16616,7 @@ autoLoadEntities: true;
16392
16616
  </td>
16393
16617
  <td>
16394
16618
 
16395
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:185](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L185)
16619
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:185](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L185)
16396
16620
 
16397
16621
  </td>
16398
16622
  </tr>
@@ -16424,7 +16648,7 @@ charset: "utf8mb4";
16424
16648
  </td>
16425
16649
  <td>
16426
16650
 
16427
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:148](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L148)
16651
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:148](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L148)
16428
16652
 
16429
16653
  </td>
16430
16654
  </tr>
@@ -16455,7 +16679,7 @@ database: "my_application_db";
16455
16679
  </td>
16456
16680
  <td>
16457
16681
 
16458
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:114](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L114)
16682
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:114](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L114)
16459
16683
 
16460
16684
  </td>
16461
16685
  </tr>
@@ -16486,7 +16710,7 @@ entities: [__dirname + "/** /*.entity{.ts,.js}"];
16486
16710
  </td>
16487
16711
  <td>
16488
16712
 
16489
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:125](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L125)
16713
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:125](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L125)
16490
16714
 
16491
16715
  </td>
16492
16716
  </tr>
@@ -16521,7 +16745,7 @@ host: "localhost";
16521
16745
  </td>
16522
16746
  <td>
16523
16747
 
16524
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:69](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L69)
16748
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:69](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L69)
16525
16749
 
16526
16750
  </td>
16527
16751
  </tr>
@@ -16553,7 +16777,7 @@ false;
16553
16777
  </td>
16554
16778
  <td>
16555
16779
 
16556
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:172](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L172)
16780
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:172](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L172)
16557
16781
 
16558
16782
  </td>
16559
16783
  </tr>
@@ -16584,7 +16808,7 @@ migrations: [__dirname + "/migrations/*{.ts,.js}"];
16584
16808
  </td>
16585
16809
  <td>
16586
16810
 
16587
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:136](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L136)
16811
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:136](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L136)
16588
16812
 
16589
16813
  </td>
16590
16814
  </tr>
@@ -16616,7 +16840,7 @@ password: process.env.DB_PASSWORD;
16616
16840
  </td>
16617
16841
  <td>
16618
16842
 
16619
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:103](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L103)
16843
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:103](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L103)
16620
16844
 
16621
16845
  </td>
16622
16846
  </tr>
@@ -16647,7 +16871,7 @@ port: 3306;
16647
16871
  </td>
16648
16872
  <td>
16649
16873
 
16650
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L80)
16874
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:80](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L80)
16651
16875
 
16652
16876
  </td>
16653
16877
  </tr>
@@ -16685,7 +16909,7 @@ synchronize: false;
16685
16909
  </td>
16686
16910
  <td>
16687
16911
 
16688
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:161](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L161)
16912
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:161](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L161)
16689
16913
 
16690
16914
  </td>
16691
16915
  </tr>
@@ -16717,7 +16941,7 @@ type: "mysql";
16717
16941
  </td>
16718
16942
  <td>
16719
16943
 
16720
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:56](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L56)
16944
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:56](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L56)
16721
16945
 
16722
16946
  </td>
16723
16947
  </tr>
@@ -16748,7 +16972,7 @@ username: "app_user";
16748
16972
  </td>
16749
16973
  <td>
16750
16974
 
16751
- [libs/nest-crud/src/interfaces/connection-options.interface.ts:91](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/connection-options.interface.ts#L91)
16975
+ [libs/nest-crud/src/interfaces/connection-options.interface.ts:91](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/connection-options.interface.ts#L91)
16752
16976
 
16753
16977
  </td>
16754
16978
  </tr>
@@ -16759,7 +16983,7 @@ username: "app_user";
16759
16983
 
16760
16984
  ### GetByIdsOptions\<Entity>
16761
16985
 
16762
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:328](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L328)
16986
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:330](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L330)
16763
16987
 
16764
16988
  Options interface for retrieving entities by their IDs.
16765
16989
 
@@ -16859,7 +17083,7 @@ ids: ["abc123", "def456"]; // For string IDs
16859
17083
  </td>
16860
17084
  <td>
16861
17085
 
16862
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:340](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L340)
17086
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:342](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L342)
16863
17087
 
16864
17088
  </td>
16865
17089
  </tr>
@@ -16899,7 +17123,7 @@ async createUserWithProfile(data, manager: EntityManager) {
16899
17123
  </td>
16900
17124
  <td>
16901
17125
 
16902
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
17126
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
16903
17127
 
16904
17128
  </td>
16905
17129
  </tr>
@@ -16940,7 +17164,7 @@ options: {
16940
17164
  </td>
16941
17165
  <td>
16942
17166
 
16943
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
17167
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
16944
17168
 
16945
17169
  </td>
16946
17170
  </tr>
@@ -16977,7 +17201,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
16977
17201
  </td>
16978
17202
  <td>
16979
17203
 
16980
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:303](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L303)
17204
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:305](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L305)
16981
17205
 
16982
17206
  </td>
16983
17207
  </tr>
@@ -16989,7 +17213,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
16989
17213
  </td>
16990
17214
  <td>
16991
17215
 
16992
- keyof `Entity`\[]
17216
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
16993
17217
 
16994
17218
  </td>
16995
17219
  <td>
@@ -17014,7 +17238,7 @@ relations: ["profile", "posts"];
17014
17238
  </td>
17015
17239
  <td>
17016
17240
 
17017
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
17241
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
17018
17242
 
17019
17243
  </td>
17020
17244
  </tr>
@@ -17054,7 +17278,7 @@ sort: {
17054
17278
  </td>
17055
17279
  <td>
17056
17280
 
17057
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
17281
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
17058
17282
 
17059
17283
  </td>
17060
17284
  </tr>
@@ -17065,7 +17289,7 @@ sort: {
17065
17289
 
17066
17290
  ### GetManyOptionsNot\<Entity>
17067
17291
 
17068
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:473](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L473)
17292
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:475](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L475)
17069
17293
 
17070
17294
  Options interface for retrieving multiple entities using exclusion-based filtering with pagination.
17071
17295
 
@@ -17160,7 +17384,7 @@ filters: { status: 'active', type: 'user' }
17160
17384
  </td>
17161
17385
  <td>
17162
17386
 
17163
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:180](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L180)
17387
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:182](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L182)
17164
17388
 
17165
17389
  </td>
17166
17390
  </tr>
@@ -17200,7 +17424,7 @@ async createUserWithProfile(data, manager: EntityManager) {
17200
17424
  </td>
17201
17425
  <td>
17202
17426
 
17203
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
17427
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
17204
17428
 
17205
17429
  </td>
17206
17430
  </tr>
@@ -17236,7 +17460,7 @@ not: { role: 'admin', status: 'deleted' }
17236
17460
  </td>
17237
17461
  <td>
17238
17462
 
17239
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:197](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L197)
17463
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:199](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L199)
17240
17464
 
17241
17465
  </td>
17242
17466
  </tr>
@@ -17277,7 +17501,7 @@ options: {
17277
17501
  </td>
17278
17502
  <td>
17279
17503
 
17280
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
17504
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
17281
17505
 
17282
17506
  </td>
17283
17507
  </tr>
@@ -17314,7 +17538,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
17314
17538
  </td>
17315
17539
  <td>
17316
17540
 
17317
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:303](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L303)
17541
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:305](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L305)
17318
17542
 
17319
17543
  </td>
17320
17544
  </tr>
@@ -17326,7 +17550,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
17326
17550
  </td>
17327
17551
  <td>
17328
17552
 
17329
- keyof `Entity`\[]
17553
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
17330
17554
 
17331
17555
  </td>
17332
17556
  <td>
@@ -17351,7 +17575,7 @@ relations: ["profile", "posts"];
17351
17575
  </td>
17352
17576
  <td>
17353
17577
 
17354
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
17578
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
17355
17579
 
17356
17580
  </td>
17357
17581
  </tr>
@@ -17379,7 +17603,7 @@ Use SearchOptions for search-based filtering or NotOptions for exclusion-based f
17379
17603
  </td>
17380
17604
  <td>
17381
17605
 
17382
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:186](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L186)
17606
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:188](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L188)
17383
17607
 
17384
17608
  </td>
17385
17609
  </tr>
@@ -17419,7 +17643,7 @@ sort: {
17419
17643
  </td>
17420
17644
  <td>
17421
17645
 
17422
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
17646
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
17423
17647
 
17424
17648
  </td>
17425
17649
  </tr>
@@ -17447,7 +17671,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
17447
17671
  </td>
17448
17672
  <td>
17449
17673
 
17450
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:203](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L203)
17674
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:205](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L205)
17451
17675
 
17452
17676
  </td>
17453
17677
  </tr>
@@ -17458,7 +17682,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
17458
17682
 
17459
17683
  ### GetManyOptionsSearch\<Entity>
17460
17684
 
17461
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:450](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L450)
17685
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:452](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L452)
17462
17686
 
17463
17687
  Options interface for retrieving multiple entities using search-based filtering with pagination.
17464
17688
 
@@ -17553,7 +17777,7 @@ filters: { status: 'active', type: 'admin' }
17553
17777
  </td>
17554
17778
  <td>
17555
17779
 
17556
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:118](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L118)
17780
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:120](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L120)
17557
17781
 
17558
17782
  </td>
17559
17783
  </tr>
@@ -17593,7 +17817,7 @@ async createUserWithProfile(data, manager: EntityManager) {
17593
17817
  </td>
17594
17818
  <td>
17595
17819
 
17596
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
17820
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
17597
17821
 
17598
17822
  </td>
17599
17823
  </tr>
@@ -17621,7 +17845,7 @@ Use SearchOptions for search-based filtering or NotOptions for exclusion-based f
17621
17845
  </td>
17622
17846
  <td>
17623
17847
 
17624
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:142](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L142)
17848
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:144](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L144)
17625
17849
 
17626
17850
  </td>
17627
17851
  </tr>
@@ -17662,7 +17886,7 @@ options: {
17662
17886
  </td>
17663
17887
  <td>
17664
17888
 
17665
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
17889
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
17666
17890
 
17667
17891
  </td>
17668
17892
  </tr>
@@ -17699,7 +17923,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
17699
17923
  </td>
17700
17924
  <td>
17701
17925
 
17702
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:303](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L303)
17926
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:305](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L305)
17703
17927
 
17704
17928
  </td>
17705
17929
  </tr>
@@ -17711,7 +17935,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
17711
17935
  </td>
17712
17936
  <td>
17713
17937
 
17714
- keyof `Entity`\[]
17938
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
17715
17939
 
17716
17940
  </td>
17717
17941
  <td>
@@ -17736,7 +17960,7 @@ relations: ["profile", "posts"];
17736
17960
  </td>
17737
17961
  <td>
17738
17962
 
17739
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
17963
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
17740
17964
 
17741
17965
  </td>
17742
17966
  </tr>
@@ -17773,7 +17997,7 @@ search: { name: Like('%smith%'), age: MoreThan(30) }
17773
17997
  </td>
17774
17998
  <td>
17775
17999
 
17776
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:130](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L130)
18000
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:132](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L132)
17777
18001
 
17778
18002
  </td>
17779
18003
  </tr>
@@ -17813,7 +18037,7 @@ sort: {
17813
18037
  </td>
17814
18038
  <td>
17815
18039
 
17816
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
18040
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
17817
18041
 
17818
18042
  </td>
17819
18043
  </tr>
@@ -17841,7 +18065,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
17841
18065
  </td>
17842
18066
  <td>
17843
18067
 
17844
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:136](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L136)
18068
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:138](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L138)
17845
18069
 
17846
18070
  </td>
17847
18071
  </tr>
@@ -17852,7 +18076,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
17852
18076
 
17853
18077
  ### GetManyOptionsWhere\<Entity>
17854
18078
 
17855
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:498](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L498)
18079
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:500](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L500)
17856
18080
 
17857
18081
  Options interface for retrieving multiple entities using direct WHERE clause with pagination.
17858
18082
 
@@ -17938,7 +18162,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
17938
18162
  </td>
17939
18163
  <td>
17940
18164
 
17941
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:238](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L238)
18165
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:240](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L240)
17942
18166
 
17943
18167
  </td>
17944
18168
  </tr>
@@ -17978,7 +18202,7 @@ async createUserWithProfile(data, manager: EntityManager) {
17978
18202
  </td>
17979
18203
  <td>
17980
18204
 
17981
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
18205
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
17982
18206
 
17983
18207
  </td>
17984
18208
  </tr>
@@ -18006,7 +18230,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
18006
18230
  </td>
18007
18231
  <td>
18008
18232
 
18009
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:250](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L250)
18233
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:252](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L252)
18010
18234
 
18011
18235
  </td>
18012
18236
  </tr>
@@ -18047,7 +18271,7 @@ options: {
18047
18271
  </td>
18048
18272
  <td>
18049
18273
 
18050
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
18274
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
18051
18275
 
18052
18276
  </td>
18053
18277
  </tr>
@@ -18084,7 +18308,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
18084
18308
  </td>
18085
18309
  <td>
18086
18310
 
18087
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:303](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L303)
18311
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:305](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L305)
18088
18312
 
18089
18313
  </td>
18090
18314
  </tr>
@@ -18096,7 +18320,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
18096
18320
  </td>
18097
18321
  <td>
18098
18322
 
18099
- keyof `Entity`\[]
18323
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
18100
18324
 
18101
18325
  </td>
18102
18326
  <td>
@@ -18121,7 +18345,7 @@ relations: ["profile", "posts"];
18121
18345
  </td>
18122
18346
  <td>
18123
18347
 
18124
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
18348
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
18125
18349
 
18126
18350
  </td>
18127
18351
  </tr>
@@ -18149,7 +18373,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
18149
18373
  </td>
18150
18374
  <td>
18151
18375
 
18152
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:244](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L244)
18376
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:246](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L246)
18153
18377
 
18154
18378
  </td>
18155
18379
  </tr>
@@ -18189,7 +18413,7 @@ sort: {
18189
18413
  </td>
18190
18414
  <td>
18191
18415
 
18192
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
18416
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
18193
18417
 
18194
18418
  </td>
18195
18419
  </tr>
@@ -18235,7 +18459,7 @@ where: [
18235
18459
  </td>
18236
18460
  <td>
18237
18461
 
18238
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:270](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L270)
18462
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:272](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L272)
18239
18463
 
18240
18464
  </td>
18241
18465
  </tr>
@@ -18246,7 +18470,7 @@ where: [
18246
18470
 
18247
18471
  ### GetOneOptionsNot\<Entity>
18248
18472
 
18249
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:404](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L404)
18473
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:406](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L406)
18250
18474
 
18251
18475
  Options interface for retrieving a single entity using exclusion-based filtering.
18252
18476
 
@@ -18343,7 +18567,7 @@ filters: { status: 'active', type: 'user' }
18343
18567
  </td>
18344
18568
  <td>
18345
18569
 
18346
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:180](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L180)
18570
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:182](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L182)
18347
18571
 
18348
18572
  </td>
18349
18573
  </tr>
@@ -18383,7 +18607,7 @@ async createUserWithProfile(data, manager: EntityManager) {
18383
18607
  </td>
18384
18608
  <td>
18385
18609
 
18386
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
18610
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
18387
18611
 
18388
18612
  </td>
18389
18613
  </tr>
@@ -18419,7 +18643,7 @@ not: { role: 'admin', status: 'deleted' }
18419
18643
  </td>
18420
18644
  <td>
18421
18645
 
18422
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:197](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L197)
18646
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:199](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L199)
18423
18647
 
18424
18648
  </td>
18425
18649
  </tr>
@@ -18460,7 +18684,7 @@ options: {
18460
18684
  </td>
18461
18685
  <td>
18462
18686
 
18463
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
18687
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
18464
18688
 
18465
18689
  </td>
18466
18690
  </tr>
@@ -18472,7 +18696,7 @@ options: {
18472
18696
  </td>
18473
18697
  <td>
18474
18698
 
18475
- keyof `Entity`\[]
18699
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
18476
18700
 
18477
18701
  </td>
18478
18702
  <td>
@@ -18497,7 +18721,7 @@ relations: ["profile", "posts"];
18497
18721
  </td>
18498
18722
  <td>
18499
18723
 
18500
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
18724
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
18501
18725
 
18502
18726
  </td>
18503
18727
  </tr>
@@ -18525,7 +18749,7 @@ Use SearchOptions for search-based filtering or NotOptions for exclusion-based f
18525
18749
  </td>
18526
18750
  <td>
18527
18751
 
18528
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:186](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L186)
18752
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:188](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L188)
18529
18753
 
18530
18754
  </td>
18531
18755
  </tr>
@@ -18565,7 +18789,7 @@ sort: {
18565
18789
  </td>
18566
18790
  <td>
18567
18791
 
18568
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
18792
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
18569
18793
 
18570
18794
  </td>
18571
18795
  </tr>
@@ -18593,7 +18817,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
18593
18817
  </td>
18594
18818
  <td>
18595
18819
 
18596
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:203](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L203)
18820
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:205](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L205)
18597
18821
 
18598
18822
  </td>
18599
18823
  </tr>
@@ -18604,7 +18828,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
18604
18828
 
18605
18829
  ### GetOneOptionsSearch\<Entity>
18606
18830
 
18607
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:383](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L383)
18831
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:385](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L385)
18608
18832
 
18609
18833
  Options interface for retrieving a single entity using search-based filtering.
18610
18834
 
@@ -18701,7 +18925,7 @@ filters: { status: 'active', type: 'admin' }
18701
18925
  </td>
18702
18926
  <td>
18703
18927
 
18704
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:118](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L118)
18928
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:120](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L120)
18705
18929
 
18706
18930
  </td>
18707
18931
  </tr>
@@ -18741,7 +18965,7 @@ async createUserWithProfile(data, manager: EntityManager) {
18741
18965
  </td>
18742
18966
  <td>
18743
18967
 
18744
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
18968
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
18745
18969
 
18746
18970
  </td>
18747
18971
  </tr>
@@ -18769,7 +18993,7 @@ Use SearchOptions for search-based filtering or NotOptions for exclusion-based f
18769
18993
  </td>
18770
18994
  <td>
18771
18995
 
18772
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:142](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L142)
18996
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:144](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L144)
18773
18997
 
18774
18998
  </td>
18775
18999
  </tr>
@@ -18810,7 +19034,7 @@ options: {
18810
19034
  </td>
18811
19035
  <td>
18812
19036
 
18813
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
19037
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
18814
19038
 
18815
19039
  </td>
18816
19040
  </tr>
@@ -18822,7 +19046,7 @@ options: {
18822
19046
  </td>
18823
19047
  <td>
18824
19048
 
18825
- keyof `Entity`\[]
19049
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
18826
19050
 
18827
19051
  </td>
18828
19052
  <td>
@@ -18847,7 +19071,7 @@ relations: ["profile", "posts"];
18847
19071
  </td>
18848
19072
  <td>
18849
19073
 
18850
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
19074
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
18851
19075
 
18852
19076
  </td>
18853
19077
  </tr>
@@ -18884,7 +19108,7 @@ search: { name: Like('%smith%'), age: MoreThan(30) }
18884
19108
  </td>
18885
19109
  <td>
18886
19110
 
18887
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:130](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L130)
19111
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:132](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L132)
18888
19112
 
18889
19113
  </td>
18890
19114
  </tr>
@@ -18924,7 +19148,7 @@ sort: {
18924
19148
  </td>
18925
19149
  <td>
18926
19150
 
18927
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
19151
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
18928
19152
 
18929
19153
  </td>
18930
19154
  </tr>
@@ -18952,7 +19176,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
18952
19176
  </td>
18953
19177
  <td>
18954
19178
 
18955
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:136](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L136)
19179
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:138](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L138)
18956
19180
 
18957
19181
  </td>
18958
19182
  </tr>
@@ -18963,7 +19187,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
18963
19187
 
18964
19188
  ### GetOneOptionsWhere\<Entity>
18965
19189
 
18966
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:427](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L427)
19190
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:429](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L429)
18967
19191
 
18968
19192
  Options interface for retrieving a single entity using direct WHERE clause.
18969
19193
 
@@ -19051,7 +19275,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
19051
19275
  </td>
19052
19276
  <td>
19053
19277
 
19054
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:238](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L238)
19278
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:240](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L240)
19055
19279
 
19056
19280
  </td>
19057
19281
  </tr>
@@ -19091,7 +19315,7 @@ async createUserWithProfile(data, manager: EntityManager) {
19091
19315
  </td>
19092
19316
  <td>
19093
19317
 
19094
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
19318
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
19095
19319
 
19096
19320
  </td>
19097
19321
  </tr>
@@ -19119,7 +19343,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
19119
19343
  </td>
19120
19344
  <td>
19121
19345
 
19122
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:250](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L250)
19346
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:252](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L252)
19123
19347
 
19124
19348
  </td>
19125
19349
  </tr>
@@ -19160,7 +19384,7 @@ options: {
19160
19384
  </td>
19161
19385
  <td>
19162
19386
 
19163
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
19387
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
19164
19388
 
19165
19389
  </td>
19166
19390
  </tr>
@@ -19172,7 +19396,7 @@ options: {
19172
19396
  </td>
19173
19397
  <td>
19174
19398
 
19175
- keyof `Entity`\[]
19399
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
19176
19400
 
19177
19401
  </td>
19178
19402
  <td>
@@ -19197,7 +19421,7 @@ relations: ["profile", "posts"];
19197
19421
  </td>
19198
19422
  <td>
19199
19423
 
19200
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
19424
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
19201
19425
 
19202
19426
  </td>
19203
19427
  </tr>
@@ -19225,7 +19449,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
19225
19449
  </td>
19226
19450
  <td>
19227
19451
 
19228
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:244](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L244)
19452
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:246](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L246)
19229
19453
 
19230
19454
  </td>
19231
19455
  </tr>
@@ -19265,7 +19489,7 @@ sort: {
19265
19489
  </td>
19266
19490
  <td>
19267
19491
 
19268
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
19492
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
19269
19493
 
19270
19494
  </td>
19271
19495
  </tr>
@@ -19311,7 +19535,7 @@ where: [
19311
19535
  </td>
19312
19536
  <td>
19313
19537
 
19314
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:270](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L270)
19538
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:272](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L272)
19315
19539
 
19316
19540
  </td>
19317
19541
  </tr>
@@ -19322,7 +19546,7 @@ where: [
19322
19546
 
19323
19547
  ### NotOptions\<Entity>
19324
19548
 
19325
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:170](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L170)
19549
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:172](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L172)
19326
19550
 
19327
19551
  Options interface for exclusion-based CRUD operations.
19328
19552
 
@@ -19425,7 +19649,7 @@ filters: { status: 'active', type: 'user' }
19425
19649
  </td>
19426
19650
  <td>
19427
19651
 
19428
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:180](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L180)
19652
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:182](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L182)
19429
19653
 
19430
19654
  </td>
19431
19655
  </tr>
@@ -19465,7 +19689,7 @@ async createUserWithProfile(data, manager: EntityManager) {
19465
19689
  </td>
19466
19690
  <td>
19467
19691
 
19468
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
19692
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
19469
19693
 
19470
19694
  </td>
19471
19695
  </tr>
@@ -19501,7 +19725,7 @@ not: { role: 'admin', status: 'deleted' }
19501
19725
  </td>
19502
19726
  <td>
19503
19727
 
19504
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:197](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L197)
19728
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:199](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L199)
19505
19729
 
19506
19730
  </td>
19507
19731
  </tr>
@@ -19542,7 +19766,7 @@ options: {
19542
19766
  </td>
19543
19767
  <td>
19544
19768
 
19545
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
19769
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
19546
19770
 
19547
19771
  </td>
19548
19772
  </tr>
@@ -19554,7 +19778,7 @@ options: {
19554
19778
  </td>
19555
19779
  <td>
19556
19780
 
19557
- keyof `Entity`\[]
19781
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
19558
19782
 
19559
19783
  </td>
19560
19784
  <td>
@@ -19579,7 +19803,7 @@ relations: ["profile", "posts"];
19579
19803
  </td>
19580
19804
  <td>
19581
19805
 
19582
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
19806
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
19583
19807
 
19584
19808
  </td>
19585
19809
  </tr>
@@ -19607,7 +19831,7 @@ Use SearchOptions for search-based filtering or NotOptions for exclusion-based f
19607
19831
  </td>
19608
19832
  <td>
19609
19833
 
19610
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:186](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L186)
19834
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:188](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L188)
19611
19835
 
19612
19836
  </td>
19613
19837
  </tr>
@@ -19647,7 +19871,7 @@ sort: {
19647
19871
  </td>
19648
19872
  <td>
19649
19873
 
19650
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
19874
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
19651
19875
 
19652
19876
  </td>
19653
19877
  </tr>
@@ -19675,7 +19899,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
19675
19899
  </td>
19676
19900
  <td>
19677
19901
 
19678
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:203](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L203)
19902
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:205](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L205)
19679
19903
 
19680
19904
  </td>
19681
19905
  </tr>
@@ -19686,7 +19910,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
19686
19910
 
19687
19911
  ### Options\<Entity>
19688
19912
 
19689
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:23](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L23)
19913
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:23](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L23)
19690
19914
 
19691
19915
  Base options interface for CRUD operations.
19692
19916
 
@@ -19782,7 +20006,7 @@ async createUserWithProfile(data, manager: EntityManager) {
19782
20006
  </td>
19783
20007
  <td>
19784
20008
 
19785
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
20009
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
19786
20010
 
19787
20011
  </td>
19788
20012
  </tr>
@@ -19818,7 +20042,7 @@ options: {
19818
20042
  </td>
19819
20043
  <td>
19820
20044
 
19821
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
20045
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
19822
20046
 
19823
20047
  </td>
19824
20048
  </tr>
@@ -19830,7 +20054,7 @@ options: {
19830
20054
  </td>
19831
20055
  <td>
19832
20056
 
19833
- keyof `Entity`\[]
20057
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
19834
20058
 
19835
20059
  </td>
19836
20060
  <td>
@@ -19850,7 +20074,7 @@ relations: ["profile", "posts"];
19850
20074
  </td>
19851
20075
  <td>
19852
20076
 
19853
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
20077
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
19854
20078
 
19855
20079
  </td>
19856
20080
  </tr>
@@ -19885,7 +20109,7 @@ sort: {
19885
20109
  </td>
19886
20110
  <td>
19887
20111
 
19888
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
20112
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
19889
20113
 
19890
20114
  </td>
19891
20115
  </tr>
@@ -19896,7 +20120,7 @@ sort: {
19896
20120
 
19897
20121
  ### PaginatedGetOptions\<Entity>
19898
20122
 
19899
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:292](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L292)
20123
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:294](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L294)
19900
20124
 
19901
20125
  Options interface for paginated CRUD operations.
19902
20126
 
@@ -20000,7 +20224,7 @@ async createUserWithProfile(data, manager: EntityManager) {
20000
20224
  </td>
20001
20225
  <td>
20002
20226
 
20003
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
20227
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
20004
20228
 
20005
20229
  </td>
20006
20230
  </tr>
@@ -20041,7 +20265,7 @@ options: {
20041
20265
  </td>
20042
20266
  <td>
20043
20267
 
20044
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
20268
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
20045
20269
 
20046
20270
  </td>
20047
20271
  </tr>
@@ -20078,7 +20302,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
20078
20302
  </td>
20079
20303
  <td>
20080
20304
 
20081
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:303](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L303)
20305
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:305](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L305)
20082
20306
 
20083
20307
  </td>
20084
20308
  </tr>
@@ -20090,7 +20314,7 @@ pagination: { page: 2, limit: 25 } // Get 25 items from the second page
20090
20314
  </td>
20091
20315
  <td>
20092
20316
 
20093
- keyof `Entity`\[]
20317
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
20094
20318
 
20095
20319
  </td>
20096
20320
  <td>
@@ -20115,7 +20339,7 @@ relations: ["profile", "posts"];
20115
20339
  </td>
20116
20340
  <td>
20117
20341
 
20118
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
20342
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
20119
20343
 
20120
20344
  </td>
20121
20345
  </tr>
@@ -20155,7 +20379,259 @@ sort: {
20155
20379
  </td>
20156
20380
  <td>
20157
20381
 
20158
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
20382
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
20383
+
20384
+ </td>
20385
+ </tr>
20386
+ </tbody>
20387
+ </table>
20388
+
20389
+ ---
20390
+
20391
+ ### SaveOptionsWithSkip
20392
+
20393
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:531](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L531)
20394
+
20395
+ Extended save options interface with skip creation functionality.
20396
+
20397
+ This interface extends TypeORM's SaveOptions to provide additional control
20398
+ over the save operation, specifically allowing the ability to skip entity
20399
+ creation when certain conditions are met. This is useful for scenarios
20400
+ where you want to update existing entities but avoid creating new ones.
20401
+
20402
+ #### Examples
20403
+
20404
+ ```typescript
20405
+ // Save user data but skip creation if user doesn't exist
20406
+ const options: SaveOptionsWithSkip = {
20407
+ skipCreate: true,
20408
+ transaction: false,
20409
+ reload: true,
20410
+ };
20411
+ const savedUser = await userRepository.save(userData, options);
20412
+ ```
20413
+
20414
+ ```typescript
20415
+ // Normal save operation with creation allowed
20416
+ const options: SaveOptionsWithSkip = {
20417
+ skipCreate: false, // or omit this property
20418
+ chunk: 1000,
20419
+ };
20420
+ const savedUsers = await userRepository.save(usersData, options);
20421
+ ```
20422
+
20423
+ #### Extends
20424
+
20425
+ - `SaveOptions`
20426
+
20427
+ #### Properties
20428
+
20429
+ <table>
20430
+ <thead>
20431
+ <tr>
20432
+ <th>Property</th>
20433
+ <th>Type</th>
20434
+ <th>Description</th>
20435
+ <th>Inherited from</th>
20436
+ <th>Defined in</th>
20437
+ </tr>
20438
+ </thead>
20439
+ <tbody>
20440
+ <tr>
20441
+ <td>
20442
+
20443
+ <a id="chunk"></a> `chunk?`
20444
+
20445
+ </td>
20446
+ <td>
20447
+
20448
+ `number`
20449
+
20450
+ </td>
20451
+ <td>
20452
+
20453
+ Breaks save execution into chunks of a given size.
20454
+ For example, if you want to save 100,000 objects but you have issues with saving them,
20455
+ you can break them into 10 groups of 10,000 objects (by setting { chunk: 10000 }) and save each group separately.
20456
+ This option is needed to perform very big insertions when you have issues with underlying driver parameter number limitation.
20457
+
20458
+ </td>
20459
+ <td>
20460
+
20461
+ ```ts
20462
+ SaveOptions.chunk;
20463
+ ```
20464
+
20465
+ </td>
20466
+ <td>
20467
+
20468
+ node_modules/typeorm/repository/SaveOptions.d.ts:26
20469
+
20470
+ </td>
20471
+ </tr>
20472
+ <tr>
20473
+ <td>
20474
+
20475
+ <a id="data-1"></a> `data?`
20476
+
20477
+ </td>
20478
+ <td>
20479
+
20480
+ `any`
20481
+
20482
+ </td>
20483
+ <td>
20484
+
20485
+ Additional data to be passed with persist method.
20486
+ This data can be used in subscribers then.
20487
+
20488
+ </td>
20489
+ <td>
20490
+
20491
+ ```ts
20492
+ SaveOptions.data;
20493
+ ```
20494
+
20495
+ </td>
20496
+ <td>
20497
+
20498
+ node_modules/typeorm/repository/SaveOptions.d.ts:9
20499
+
20500
+ </td>
20501
+ </tr>
20502
+ <tr>
20503
+ <td>
20504
+
20505
+ <a id="listeners"></a> `listeners?`
20506
+
20507
+ </td>
20508
+ <td>
20509
+
20510
+ `boolean`
20511
+
20512
+ </td>
20513
+ <td>
20514
+
20515
+ Indicates if listeners and subscribers are called for this operation.
20516
+ By default they are enabled, you can disable them by setting { listeners: false } in save/remove options.
20517
+
20518
+ </td>
20519
+ <td>
20520
+
20521
+ ```ts
20522
+ SaveOptions.listeners;
20523
+ ```
20524
+
20525
+ </td>
20526
+ <td>
20527
+
20528
+ node_modules/typeorm/repository/SaveOptions.d.ts:14
20529
+
20530
+ </td>
20531
+ </tr>
20532
+ <tr>
20533
+ <td>
20534
+
20535
+ <a id="reload"></a> `reload?`
20536
+
20537
+ </td>
20538
+ <td>
20539
+
20540
+ `boolean`
20541
+
20542
+ </td>
20543
+ <td>
20544
+
20545
+ Flag to determine whether the entity that is being persisted
20546
+ should be reloaded during the persistence operation.
20547
+
20548
+ It will work only on databases which does not support RETURNING / OUTPUT statement.
20549
+ Enabled by default.
20550
+
20551
+ </td>
20552
+ <td>
20553
+
20554
+ ```ts
20555
+ SaveOptions.reload;
20556
+ ```
20557
+
20558
+ </td>
20559
+ <td>
20560
+
20561
+ node_modules/typeorm/repository/SaveOptions.d.ts:34
20562
+
20563
+ </td>
20564
+ </tr>
20565
+ <tr>
20566
+ <td>
20567
+
20568
+ <a id="skipcreate"></a> `skipCreate?`
20569
+
20570
+ </td>
20571
+ <td>
20572
+
20573
+ `boolean`
20574
+
20575
+ </td>
20576
+ <td>
20577
+
20578
+ Flag to control whether new entities should be created during save operations.
20579
+
20580
+ When set to true, the save operation will only update existing entities
20581
+ and skip creating new ones. When false or undefined, the normal save
20582
+ behavior applies (both create and update operations are performed).
20583
+
20584
+ **Default**
20585
+
20586
+ ```ts
20587
+ false;
20588
+ ```
20589
+
20590
+ **Example**
20591
+
20592
+ ```ts
20593
+ skipCreate: true; // Only update existing entities, don't create new ones
20594
+ ```
20595
+
20596
+ </td>
20597
+ <td>
20598
+
20599
+
20600
+
20601
+ </td>
20602
+ <td>
20603
+
20604
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:544](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L544)
20605
+
20606
+ </td>
20607
+ </tr>
20608
+ <tr>
20609
+ <td>
20610
+
20611
+ <a id="transaction-4"></a> `transaction?`
20612
+
20613
+ </td>
20614
+ <td>
20615
+
20616
+ `boolean`
20617
+
20618
+ </td>
20619
+ <td>
20620
+
20621
+ By default transactions are enabled and all queries in persistence operation are wrapped into the transaction.
20622
+ You can disable this behaviour by setting { transaction: false } in the persistence options.
20623
+
20624
+ </td>
20625
+ <td>
20626
+
20627
+ ```ts
20628
+ SaveOptions.transaction;
20629
+ ```
20630
+
20631
+ </td>
20632
+ <td>
20633
+
20634
+ node_modules/typeorm/repository/SaveOptions.d.ts:19
20159
20635
 
20160
20636
  </td>
20161
20637
  </tr>
@@ -20166,7 +20642,7 @@ sort: {
20166
20642
 
20167
20643
  ### SearchOptions\<Entity>
20168
20644
 
20169
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:108](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L108)
20645
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:110](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L110)
20170
20646
 
20171
20647
  Options interface for search-based CRUD operations.
20172
20648
 
@@ -20269,7 +20745,7 @@ filters: { status: 'active', type: 'admin' }
20269
20745
  </td>
20270
20746
  <td>
20271
20747
 
20272
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:118](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L118)
20748
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:120](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L120)
20273
20749
 
20274
20750
  </td>
20275
20751
  </tr>
@@ -20309,7 +20785,7 @@ async createUserWithProfile(data, manager: EntityManager) {
20309
20785
  </td>
20310
20786
  <td>
20311
20787
 
20312
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
20788
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
20313
20789
 
20314
20790
  </td>
20315
20791
  </tr>
@@ -20337,7 +20813,7 @@ Use SearchOptions for search-based filtering or NotOptions for exclusion-based f
20337
20813
  </td>
20338
20814
  <td>
20339
20815
 
20340
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:142](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L142)
20816
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:144](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L144)
20341
20817
 
20342
20818
  </td>
20343
20819
  </tr>
@@ -20378,7 +20854,7 @@ options: {
20378
20854
  </td>
20379
20855
  <td>
20380
20856
 
20381
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
20857
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
20382
20858
 
20383
20859
  </td>
20384
20860
  </tr>
@@ -20390,7 +20866,7 @@ options: {
20390
20866
  </td>
20391
20867
  <td>
20392
20868
 
20393
- keyof `Entity`\[]
20869
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
20394
20870
 
20395
20871
  </td>
20396
20872
  <td>
@@ -20415,7 +20891,7 @@ relations: ["profile", "posts"];
20415
20891
  </td>
20416
20892
  <td>
20417
20893
 
20418
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
20894
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
20419
20895
 
20420
20896
  </td>
20421
20897
  </tr>
@@ -20452,7 +20928,7 @@ search: { name: Like('%smith%'), age: MoreThan(30) }
20452
20928
  </td>
20453
20929
  <td>
20454
20930
 
20455
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:130](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L130)
20931
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:132](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L132)
20456
20932
 
20457
20933
  </td>
20458
20934
  </tr>
@@ -20492,7 +20968,7 @@ sort: {
20492
20968
  </td>
20493
20969
  <td>
20494
20970
 
20495
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
20971
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
20496
20972
 
20497
20973
  </td>
20498
20974
  </tr>
@@ -20520,7 +20996,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
20520
20996
  </td>
20521
20997
  <td>
20522
20998
 
20523
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:136](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L136)
20999
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:138](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L138)
20524
21000
 
20525
21001
  </td>
20526
21002
  </tr>
@@ -20531,7 +21007,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
20531
21007
 
20532
21008
  ### WhereOptions\<Entity>
20533
21009
 
20534
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:233](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L233)
21010
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:235](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L235)
20535
21011
 
20536
21012
  Options interface for direct WHERE clause CRUD operations.
20537
21013
 
@@ -20625,7 +21101,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
20625
21101
  </td>
20626
21102
  <td>
20627
21103
 
20628
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:238](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L238)
21104
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:240](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L240)
20629
21105
 
20630
21106
  </td>
20631
21107
  </tr>
@@ -20665,7 +21141,7 @@ async createUserWithProfile(data, manager: EntityManager) {
20665
21141
  </td>
20666
21142
  <td>
20667
21143
 
20668
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
21144
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L37)
20669
21145
 
20670
21146
  </td>
20671
21147
  </tr>
@@ -20693,7 +21169,7 @@ Use NotOptions for exclusion-based filtering or WhereOptions for direct where cl
20693
21169
  </td>
20694
21170
  <td>
20695
21171
 
20696
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:250](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L250)
21172
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:252](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L252)
20697
21173
 
20698
21174
  </td>
20699
21175
  </tr>
@@ -20734,7 +21210,7 @@ options: {
20734
21210
  </td>
20735
21211
  <td>
20736
21212
 
20737
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:65](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L65)
21213
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:67](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L67)
20738
21214
 
20739
21215
  </td>
20740
21216
  </tr>
@@ -20746,7 +21222,7 @@ options: {
20746
21222
  </td>
20747
21223
  <td>
20748
21224
 
20749
- keyof `Entity`\[]
21225
+ (keyof `Entity` | `` `${keyof Entity}.${string}` ``)\[]
20750
21226
 
20751
21227
  </td>
20752
21228
  <td>
@@ -20771,7 +21247,7 @@ relations: ["profile", "posts"];
20771
21247
  </td>
20772
21248
  <td>
20773
21249
 
20774
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:49](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L49)
21250
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L51)
20775
21251
 
20776
21252
  </td>
20777
21253
  </tr>
@@ -20799,7 +21275,7 @@ Use SearchOptions for search-based filtering or WhereOptions for direct where cl
20799
21275
  </td>
20800
21276
  <td>
20801
21277
 
20802
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:244](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L244)
21278
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:246](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L246)
20803
21279
 
20804
21280
  </td>
20805
21281
  </tr>
@@ -20839,7 +21315,7 @@ sort: {
20839
21315
  </td>
20840
21316
  <td>
20841
21317
 
20842
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:80](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L80)
21318
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:82](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L82)
20843
21319
 
20844
21320
  </td>
20845
21321
  </tr>
@@ -20885,7 +21361,7 @@ where: [
20885
21361
  </td>
20886
21362
  <td>
20887
21363
 
20888
- [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:270](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L270)
21364
+ [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:272](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L272)
20889
21365
 
20890
21366
  </td>
20891
21367
  </tr>
@@ -20900,7 +21376,7 @@ where: [
20900
21376
  type DatabaseTypes = "mysql" | "mariadb";
20901
21377
  ```
20902
21378
 
20903
- Defined in: [libs/nest-crud/src/types/database.types.ts:37](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/database.types.ts#L37)
21379
+ Defined in: [libs/nest-crud/src/types/database.types.ts:37](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/database.types.ts#L37)
20904
21380
 
20905
21381
  Supported database types for application connections.
20906
21382
 
@@ -20947,7 +21423,7 @@ const connectionOptions: ConnectionOptions = {
20947
21423
  type EntityDecorator = (target) => void;
20948
21424
  ```
20949
21425
 
20950
- Defined in: [libs/nest-crud/src/types/decorator.types.ts:64](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/decorator.types.ts#L64)
21426
+ Defined in: [libs/nest-crud/src/types/decorator.types.ts:64](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/decorator.types.ts#L64)
20951
21427
 
20952
21428
  Type definition for decorators that target standard entity classes
20953
21429
 
@@ -21030,7 +21506,7 @@ export class UserEntity extends BaseEntity {
21030
21506
  type EntityExtensionDecorator = (target) => void;
21031
21507
  ```
21032
21508
 
21033
- Defined in: [libs/nest-crud/src/types/decorator.types.ts:108](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/decorator.types.ts#L108)
21509
+ Defined in: [libs/nest-crud/src/types/decorator.types.ts:108](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/decorator.types.ts#L108)
21034
21510
 
21035
21511
  Type definition for decorators that target extended entity classes
21036
21512
 
@@ -21118,7 +21594,7 @@ export class ProductEntity extends BaseEntityExtension {
21118
21594
  type EntityOptionUnique = object;
21119
21595
  ```
21120
21596
 
21121
- Defined in: [libs/nest-crud/src/types/entity-option-unique.ts:51](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/entity-option-unique.ts#L51)
21597
+ Defined in: [libs/nest-crud/src/types/entity-option-unique.ts:51](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/entity-option-unique.ts#L51)
21122
21598
 
21123
21599
  Configuration type for defining unique constraints on entity fields.
21124
21600
 
@@ -21196,7 +21672,7 @@ type FilterOptions<Entity> = {
21196
21672
  };
21197
21673
  ```
21198
21674
 
21199
- Defined in: [libs/nest-crud/src/types/filter-options.type.ts:60](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/filter-options.type.ts#L60)
21675
+ Defined in: [libs/nest-crud/src/types/filter-options.type.ts:60](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/filter-options.type.ts#L60)
21200
21676
 
21201
21677
  A recursive type for building structured filter conditions for entity queries.
21202
21678
 
@@ -21300,7 +21776,7 @@ type FindConditions<Entity> =
21300
21776
  | QueryDeepPartial<Entity>;
21301
21777
  ```
21302
21778
 
21303
- Defined in: [libs/nest-crud/src/types/find-conditions.type.ts:59](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/find-conditions.type.ts#L59)
21779
+ Defined in: [libs/nest-crud/src/types/find-conditions.type.ts:59](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/find-conditions.type.ts#L59)
21304
21780
 
21305
21781
  A flexible type for defining query conditions when finding entities.
21306
21782
 
@@ -21389,7 +21865,7 @@ async function findUsers(conditions: FindConditions<User>): Promise<User[]> {
21389
21865
  type GetAllOptions<Entity> = PaginatedGetOptions<Entity>;
21390
21866
  ```
21391
21867
 
21392
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:571](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L571)
21868
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:618](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L618)
21393
21869
 
21394
21870
  Simple options type for retrieving all entities with pagination.
21395
21871
 
@@ -21442,7 +21918,7 @@ const [users, count] = await userService.findAll(options);
21442
21918
  type GetByIdOptions<Entity> = Omit<Options<Entity>, "sort">;
21443
21919
  ```
21444
21920
 
21445
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:362](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L362)
21921
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:364](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L364)
21446
21922
 
21447
21923
  Options interface for retrieving a single entity by its ID.
21448
21924
 
@@ -21497,7 +21973,7 @@ type GetManyOptions<Entity> =
21497
21973
  | GetManyOptionsWhere<Entity>;
21498
21974
  ```
21499
21975
 
21500
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:606](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L606)
21976
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:653](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L653)
21501
21977
 
21502
21978
  Union type for all options interfaces for retrieving multiple entities with pagination.
21503
21979
 
@@ -21568,7 +22044,7 @@ type GetOneOptions<Entity> =
21568
22044
  | GetOneOptionsWhere<Entity>;
21569
22045
  ```
21570
22046
 
21571
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:549](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L549)
22047
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:596](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L596)
21572
22048
 
21573
22049
  Union type for all options interfaces for retrieving a single entity.
21574
22050
 
@@ -21626,7 +22102,7 @@ type GetOptions<Entity> =
21626
22102
  | (WhereOptions<Entity> & PaginatedGetOptions<Entity>);
21627
22103
  ```
21628
22104
 
21629
- Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:524](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L524)
22105
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:571](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L571)
21630
22106
 
21631
22107
  Comprehensive options type for retrieving entities with various filtering approaches and pagination.
21632
22108
 
@@ -21683,7 +22159,7 @@ const [users, count] = await getUsers({
21683
22159
  type RepositoryDecorator = <T>(target) => T | void;
21684
22160
  ```
21685
22161
 
21686
- Defined in: [libs/nest-crud/src/types/repository-decorator.type.ts:47](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/repository-decorator.type.ts#L47)
22162
+ Defined in: [libs/nest-crud/src/types/repository-decorator.type.ts:47](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/repository-decorator.type.ts#L47)
21687
22163
 
21688
22164
  Type definition for repository class decorators.
21689
22165
 
@@ -21797,13 +22273,84 @@ class UserRepository extends BaseRepository<User> {
21797
22273
 
21798
22274
  ---
21799
22275
 
22276
+ ### SaveAndGetOptions\<Entity>
22277
+
22278
+ ```ts
22279
+ type SaveAndGetOptions<Entity> = SaveOptionsWithSkip & GetByIdOptions<Entity>;
22280
+ ```
22281
+
22282
+ Defined in: [libs/nest-crud/src/interfaces/crud-options.interfaces.ts:697](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/interfaces/crud-options.interfaces.ts#L697)
22283
+
22284
+ Combined options type for save-and-get operations.
22285
+
22286
+ This type combines SaveOptionsWithSkip and GetByIdOptions to provide a complete
22287
+ configuration for operations that save an entity and then immediately retrieve
22288
+ it by its ID. This is useful for scenarios where you need to save data and
22289
+ then return the saved entity with all its computed properties, relations, and
22290
+ database-generated values.
22291
+
22292
+ The type inherits all save options (including the skipCreate functionality)
22293
+ and all retrieval options (excluding sort since it's not relevant for single
22294
+ entity retrieval by ID).
22295
+
22296
+ #### Type Parameters
22297
+
22298
+ <table>
22299
+ <thead>
22300
+ <tr>
22301
+ <th>Type Parameter</th>
22302
+ <th>Description</th>
22303
+ </tr>
22304
+ </thead>
22305
+ <tbody>
22306
+ <tr>
22307
+ <td>
22308
+
22309
+ `Entity`
22310
+
22311
+ </td>
22312
+ <td>
22313
+
22314
+ The entity type that the options apply to
22315
+
22316
+ </td>
22317
+ </tr>
22318
+ </tbody>
22319
+ </table>
22320
+
22321
+ #### Examples
22322
+
22323
+ ```typescript
22324
+ // Save a user and retrieve it with profile relation loaded
22325
+ const options: SaveAndGetOptions<User> = {
22326
+ skipCreate: false,
22327
+ transaction: false,
22328
+ relations: ["profile"],
22329
+ options: { cache: true },
22330
+ };
22331
+ const savedUser = await userService.saveAndGet(userData, options);
22332
+ ```
22333
+
22334
+ ```typescript
22335
+ // Update existing user only (skip creation) and retrieve with relations
22336
+ const options: SaveAndGetOptions<User> = {
22337
+ skipCreate: true,
22338
+ reload: true,
22339
+ relations: ["profile", "posts"],
22340
+ manager: transactionManager,
22341
+ };
22342
+ const updatedUser = await userService.saveAndGet(userData, options);
22343
+ ```
22344
+
22345
+ ---
22346
+
21800
22347
  ### SortOptions\<Entity>
21801
22348
 
21802
22349
  ```ts
21803
22350
  type SortOptions<Entity> = FindOptionsOrder<Entity>;
21804
22351
  ```
21805
22352
 
21806
- Defined in: [libs/nest-crud/src/types/sort-options.type.ts:56](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/sort-options.type.ts#L56)
22353
+ Defined in: [libs/nest-crud/src/types/sort-options.type.ts:56](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/sort-options.type.ts#L56)
21807
22354
 
21808
22355
  Type alias for TypeORM's sorting configuration.
21809
22356
 
@@ -21895,7 +22442,7 @@ const users = await userRepository.find({
21895
22442
  type TypeORMErrorHandler = (error) => Error | void;
21896
22443
  ```
21897
22444
 
21898
- Defined in: [libs/nest-crud/src/types/error-handler.type.ts:54](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/types/error-handler.type.ts#L54)
22445
+ Defined in: [libs/nest-crud/src/types/error-handler.type.ts:54](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/types/error-handler.type.ts#L54)
21899
22446
 
21900
22447
  A function type for custom TypeORM error handling.
21901
22448
 
@@ -21998,7 +22545,7 @@ try {
21998
22545
  const BaseEntityTemplateRelations: string[];
21999
22546
  ```
22000
22547
 
22001
- Defined in: [libs/nest-crud/src/base/base-entity.ts:19](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/base/base-entity.ts#L19)
22548
+ Defined in: [libs/nest-crud/src/base/base-entity.ts:19](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/base/base-entity.ts#L19)
22002
22549
 
22003
22550
  List of standard relation properties in the BaseEntity
22004
22551
 
@@ -22022,7 +22569,7 @@ standard relations from foreign key constraint validation.
22022
22569
  const CONNECTION_OPTIONS: "CONNECTION_OPTIONS" = "CONNECTION_OPTIONS";
22023
22570
  ```
22024
22571
 
22025
- Defined in: [libs/nest-crud/src/tokens.ts:29](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/tokens.ts#L29)
22572
+ Defined in: [libs/nest-crud/src/tokens.ts:29](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/tokens.ts#L29)
22026
22573
 
22027
22574
  Token for database connection options
22028
22575
 
@@ -22062,7 +22609,7 @@ export class AppModule {}
22062
22609
  const DEFAULT_MAX_RECURSION_DEPTH: 10 = 10;
22063
22610
  ```
22064
22611
 
22065
- Defined in: [libs/nest-crud/src/constants.ts:21](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/constants.ts#L21)
22612
+ Defined in: [libs/nest-crud/src/constants.ts:21](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/constants.ts#L21)
22066
22613
 
22067
22614
  Default maximum recursion depth for deep object operations
22068
22615
 
@@ -22094,7 +22641,7 @@ toQueryDeepPartialEntity Function that uses this constant to limit recursion dep
22094
22641
  const EXTRACT_INVALID_COLUMN_REGEX: RegExp;
22095
22642
  ```
22096
22643
 
22097
- Defined in: [libs/nest-crud/src/constants.ts:106](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/constants.ts#L106)
22644
+ Defined in: [libs/nest-crud/src/constants.ts:106](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/constants.ts#L106)
22098
22645
 
22099
22646
  Regular expression for extracting column names from database column not found errors
22100
22647
 
@@ -22124,7 +22671,7 @@ EntityUtils.handleError Method that uses this pattern to extract column names fr
22124
22671
  const EXTRACT_INVALID_QUERY_FIELD_REGEX: RegExp;
22125
22672
  ```
22126
22673
 
22127
- Defined in: [libs/nest-crud/src/constants.ts:86](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/constants.ts#L86)
22674
+ Defined in: [libs/nest-crud/src/constants.ts:86](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/constants.ts#L86)
22128
22675
 
22129
22676
  Regular expression for extracting field names from TypeORM property not found errors
22130
22677
 
@@ -22154,7 +22701,7 @@ EntityUtils.handleError Method that uses this pattern to extract field names fro
22154
22701
  const FK_CONSTRAINT_REGEX: RegExp;
22155
22702
  ```
22156
22703
 
22157
- Defined in: [libs/nest-crud/src/constants.ts:66](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/constants.ts#L66)
22704
+ Defined in: [libs/nest-crud/src/constants.ts:66](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/constants.ts#L66)
22158
22705
 
22159
22706
  Regular expression for validating foreign key constraint naming convention
22160
22707
 
@@ -22238,7 +22785,7 @@ Defined in: node_modules/@nestjs/typeorm/dist/common/typeorm.decorators.d.ts:4
22238
22785
  const UNIQUE_CONSTRAINT_REGEX: RegExp;
22239
22786
  ```
22240
22787
 
22241
- Defined in: [libs/nest-crud/src/constants.ts:43](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/constants.ts#L43)
22788
+ Defined in: [libs/nest-crud/src/constants.ts:43](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/constants.ts#L43)
22242
22789
 
22243
22790
  Regular expression for validating unique constraint naming convention
22244
22791
 
@@ -22270,7 +22817,7 @@ The format is: UNIQUE_entityName_fieldName
22270
22817
  const USER_ENTITY_TABLE_NAME: "users" = "users";
22271
22818
  ```
22272
22819
 
22273
- Defined in: [libs/nest-crud/src/tokens.ts:56](https://github.com/hichchidev/hichchi/blob/ccb23061c2c4d1fe1d48b28048b4564b6268d47d/libs/nest-crud/src/tokens.ts#L56)
22820
+ Defined in: [libs/nest-crud/src/tokens.ts:56](https://github.com/hichchidev/hichchi/blob/1821ea22bf9e9b89c932111f16da4943c07c58c7/libs/nest-crud/src/tokens.ts#L56)
22274
22821
 
22275
22822
  Standard table name for user entities
22276
22823