Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix virtual table limit offset #873

Merged
merged 2 commits into from Oct 12, 2022

Conversation

mandel59
Copy link
Contributor

@mandel59 mandel59 commented Sep 3, 2022

This PR add limit and offset clause support for user-defined virtual tables.
Fix #872.

@mandel59
Copy link
Contributor Author

mandel59 commented Sep 3, 2022

This patch doesn't handle the return method of the iterator protocol.

Copy link
Member

@JoshuaWise JoshuaWise left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. LGTM!

@JoshuaWise JoshuaWise merged commit 15652ad into WiseLibs:master Oct 12, 2022
B4nan pushed a commit to mikro-orm/mikro-orm that referenced this pull request Nov 28, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [better-sqlite3](https://togithub.com/WiseLibs/better-sqlite3) |
[`^7.0.0` ->
`^8.0.0`](https://renovatebot.com/diffs/npm/better-sqlite3/7.6.2/8.0.0)
|
[![age](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/compatibility-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/confidence-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|
| [better-sqlite3](https://togithub.com/WiseLibs/better-sqlite3) |
[`7.6.2` ->
`8.0.0`](https://renovatebot.com/diffs/npm/better-sqlite3/7.6.2/8.0.0) |
[![age](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/compatibility-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/better-sqlite3/8.0.0/confidence-slim/7.6.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>WiseLibs/better-sqlite3</summary>

###
[`v8.0.0`](https://togithub.com/WiseLibs/better-sqlite3/releases/tag/v8.0.0)

[Compare
Source](https://togithub.com/WiseLibs/better-sqlite3/compare/v7.6.2...v8.0.0)

#### Breaking Changes

-   Dropped support for Node.js versions `10.x` and `12.x`.

#### Non-breaking Changes

-   Upgraded to SQLite version `3.40.0`.
- Fixed LIMIT and OFFSET queries on virtual tables, by
[@&#8203;mandel59](https://togithub.com/mandel59) in
[WiseLibs/better-sqlite3#873
-   Fixed various compilation issues:
- By [@&#8203;nathanhammond](https://togithub.com/nathanhammond) in
[WiseLibs/better-sqlite3#894
- By [@&#8203;neoxpert](https://togithub.com/neoxpert) in
[WiseLibs/better-sqlite3#870

#### New Contributors

- [@&#8203;mandel59](https://togithub.com/mandel59) made their first
contribution in
[WiseLibs/better-sqlite3#873
- [@&#8203;nathanhammond](https://togithub.com/nathanhammond) made their
first contribution in
[WiseLibs/better-sqlite3#894
- [@&#8203;neoxpert](https://togithub.com/neoxpert) made their first
contribution in
[WiseLibs/better-sqlite3#870
- [@&#8203;threema-danilo](https://togithub.com/threema-danilo) made
their first contribution in
[WiseLibs/better-sqlite3#878

**Full Changelog**:
WiseLibs/better-sqlite3@v7.6.2...v8.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekday" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/mikro-orm/mikro-orm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yOS4yIiwidXBkYXRlZEluVmVyIjoiMzQuMzcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
hernanrz added a commit to hernanrz/better-sqlite3 that referenced this pull request Jan 18, 2023
kroggen added a commit to litesync/better-sqlite3 that referenced this pull request Jan 21, 2023
kroggen added a commit to octodb/better-sqlite3 that referenced this pull request Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

User-defined virtual table don't support limit and offset clause
2 participants