feat(cursor): Add toArray method to SmartdataDbCursor to convert raw MongoDB documents into initialized class instances

This commit is contained in:
2025-04-14 17:58:54 +00:00
parent 938b25c925
commit 368dc27607
3 changed files with 12 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-04-14 - 5.8.0 - feat(cursor)
Add toArray method to SmartdataDbCursor to convert raw MongoDB documents into initialized class instances
- Introduced asynchronous toArray method in SmartdataDbCursor which retrieves all documents from the MongoDB cursor
- Maps each native document to a SmartDataDbDoc instance using createInstanceFromMongoDbNativeDoc for consistent API usage
## 2025-04-14 - 5.7.0 - feat(SmartDataDbDoc)
Add extended cursor method getCursorExtended for flexible cursor modifications