mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 05:03:26 +00:00
- Add getAllFromIndex to StorageBackend interface for index-based queries - Implement getAllFromIndex in IndexedDBStorageBackend using cursor API - Update SessionsStore.getAllMetadata to use lastModified index - Enables database-native sorting instead of fetching all keys and sorting in JS Benefits: - Much faster for large datasets (uses IndexedDB cursor with direction) - Reduces memory usage (no need to load all keys first) - Leverages existing indices for optimal performance |
||
|---|---|---|
| .. | ||
| indexeddb-storage-backend.ts | ||