Skip to content

feat(indexeddb): advanced cursor filtering impl#2066

Merged
shamardy merged 9 commits intodevfrom
indexedb-cusor-filter-ext
Mar 12, 2024
Merged

feat(indexeddb): advanced cursor filtering impl#2066
shamardy merged 9 commits intodevfrom
indexedb-cusor-filter-ext

Conversation

@borngraced
Copy link
Copy Markdown

@borngraced borngraced commented Feb 19, 2024

This pull request adds several new filtering features to the mm2 indexedbdb crate, including limit, offset, with a minor fix for where_ condition/option.

closes: #2052, #2019

@borngraced borngraced self-assigned this Feb 19, 2024
@borngraced borngraced changed the title feat(indexeddb): advanced indexeddb cursor filtering impl feat(indexeddb): advanced cursor filtering impl Feb 19, 2024
Comment on lines +274 to +278
/// Continues the cursor according to the provided `CursorAction`. If the action
/// is `CursorAction::Continue`, the cursor advances to the next item. If the action is
/// `CursorAction::ContinueWithValue`, the cursor advances to the specified value. If the
/// action is `CursorAction::Stop`, the cursor is stopped, and subsequent calls to `next`
/// will return `None`.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you reformat this explanation into multiple lines (per line for each action)?

Copy link
Copy Markdown

@onur-ozkan onur-ozkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will do the next review when this PR drops in-progress label and resolves the conflicts.

Copy link
Copy Markdown
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! Only some minor comments and a question!

Copy link
Copy Markdown
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@shamardy shamardy merged commit 96fac7c into dev Mar 12, 2024
@shamardy shamardy deleted the indexedb-cusor-filter-ext branch March 12, 2024 14:29
dimxy pushed a commit to dimxy/komodo-defi-framework that referenced this pull request Mar 13, 2024
* dev:
  feat(indexeddb): advanced cursor filtering impl (GLEECBTC#2066)
  update dockerhub destination repository (GLEECBTC#2082)
  feat(event streaming): configurable worker path, use SharedWorker (GLEECBTC#2080)
  fix(hd_tests): fix test_hd_utxo_tx_history unit test (GLEECBTC#2078)
  feat(network): improve efficiency of known peers handling (GLEECBTC#2074)
  feat(nft): enable eth with non fungible tokens (GLEECBTC#2049)
  feat(ETH transport & heartbeats): various enhancements/features (GLEECBTC#2058)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants