function getAllKeys(objectStore): Promise<IDBValidKey[]>;Defined in: packages/indexeddb-db-collection/src/wrapper.ts:364
Retrieves all keys from an object store.
Uses the native getAllKeys() method for efficient bulk key retrieval.
IDBObjectStore
The IDBObjectStore to read keys from
Promise<IDBValidKey[]>
A promise that resolves to an array of all keys in the store
await executeTransaction(db, 'todos', 'readonly', async (tx, stores) => {
const allKeys = await getAllKeys(stores.todos)
console.log('All keys:', allKeys)
})