feat: release 3.0.2

This commit is contained in:
2026-01-07 02:34:18 +01:00
parent 72355de920
commit 53b43f6253
7 changed files with 241 additions and 285 deletions

View File

@@ -35,7 +35,7 @@ export class MemoryStorage<TSchema extends AnyDocument = AnyDocument> extends St
}
async find(condition: Criteria<TSchema> = {}, options?: QueryOptions): Promise<TSchema[]> {
const cursor = new Query(condition).find<TSchema>(this.documents);
const cursor = this.index.getByCondition(condition);
if (options !== undefined) {
return addOptions(cursor, options).all();
}