mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 14:03:49 +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 |
||
|---|---|---|
| .. | ||
| backends | ||
| stores | ||
| app-storage.ts | ||
| store.ts | ||
| types.ts | ||