3c8308561e
fix(classes.collection): Centralize TC39 decorator metadata initialization and use context.metadata in class decorators
Juergen Kunz2025-11-28 15:45:15 +00:00
11a1345891
fix(collection): Ensure TC39 decorator metadata is initialized on both original and decorated constructors/prototypes and add debug logging
Juergen Kunz2025-11-28 11:27:36 +00:00
f6cc07880a
fix(classes.collection): Fix closure bug in Collection decorator by defining collection getter on original constructor and prototype
Juergen Kunz2025-11-28 11:02:39 +00:00
0a349180b2
fix(decorators): Add Symbol.metadata polyfill and import it at entry to ensure decorator metadata is available
Juergen Kunz2025-11-28 09:16:52 +00:00
ef5491075f
fix(collectionfactory): Simplify CollectionFactory.getCollection: remove unnecessary IIFE and instantiate collection only when dbArg is SmartdataDb
Juergen Kunz2025-11-28 07:53:15 +00:00
9be43a85ef
fix(readme): Update README: clarify examples, expand search/cursor/docs and add local Claude settings
Juergen Kunz2025-08-18 11:50:37 +00:00
bf66209d3e
feat: Enhance type safety for MongoDB filter conditions by introducing helper types for $in and $nin values
Juergen Kunz2025-08-18 11:42:41 +00:00
cdd1ae2c9b
feat: Add comprehensive query filters guide and enhance type safety for MongoDB queries
Juergen Kunz2025-08-18 11:29:15 +00:00
43f9033ccc
fix(cursor): Improve cursor usage documentation and refactor getCursor API to support native cursor modifiers
Philipp Kunz2025-04-24 11:34:49 +00:00
3ae2a7fcf5
fix(db operations): Update transaction API to consistently pass optional session parameters across database operations
Philipp Kunz2025-04-23 17:28:49 +00:00
f5d5e20a97
feat(doc): Implement support for beforeSave, afterSave, beforeDelete, and afterDelete lifecycle hooks in document save and delete operations to allow custom logic execution during these critical moments.
Philipp Kunz2025-04-23 09:03:15 +00:00
e2dc094afd
fix(search): Improve search query parsing for implicit AND queries by preserving quoted substrings and better handling free terms, quoted phrases, and field:value tokens.
Philipp Kunz2025-04-22 20:42:11 +00:00
9c6d6d9f2c
fix(search): Fix handling of quoted wildcard patterns in field-specific search queries and add tests for location-based wildcard phrase searches
Philipp Kunz2025-04-22 20:09:21 +00:00
2bf923b4f1
fix(search): Improve implicit AND logic for mixed free term and field queries in search and enhance wildcard field handling.
Philipp Kunz2025-04-22 19:37:50 +00:00
436311ab06
feat(doc/search): Enhance search functionality with filter and validate options for advanced query control
Philipp Kunz2025-04-22 19:13:17 +00:00
75aeb12e81
fix(lucene adapter and search tests): Improve range query parsing in Lucene adapter and expand search test coverage
Philipp Kunz2025-04-22 18:24:26 +00:00
6a2a708ea1
fix(documentation): Update search API documentation to replace deprecated searchWithLucene examples with the unified search(query) API and clarify its behavior.
Philipp Kunz2025-04-18 15:10:03 +00:00
b5a9449d5e
feat(collections/search): Improve text index creation and search fallback mechanisms in collections and document search methods
Philipp Kunz2025-04-18 11:25:39 +00:00
0bfebaf5b9
fix(cursor, doc): Add explicit return types and casts to SmartdataDbCursor methods and update getCursorExtended signature in SmartDataDbDoc.
Philipp Kunz2025-04-14 18:06:29 +00:00
368dc27607
feat(cursor): Add toArray method to SmartdataDbCursor to convert raw MongoDB documents into initialized class instances
Philipp Kunz2025-04-14 17:58:54 +00:00