Skip to content

Commit

Permalink
Add docs tips about IDB keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Que3216 committed Oct 18, 2024
1 parent c66bfb7 commit 16f7466
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/sdk-bundles-api/src/record/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ export interface IndexedDBStoreEntries {
databaseName: string;
objectStoreName: string;
entries: {
/**
* Note if you don't set explicit keys, and instead use 'keyPath' when constructing your store then
* the key passed here will be undefined: you'll need to retrieve your key from the value.
*/
key?: IDBValidKey;

/**
Expand Down

0 comments on commit 16f7466

Please sign in to comment.