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

Add a binding to meta object for D1Result. #591

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Conversation

langyo
Copy link
Contributor

@langyo langyo commented Jul 4, 2024

Thanks to the official staff for reviewing. This PR is based on #337 .

When I tried to use sea-orm proxy connection, I found that the D1Result object could not obtain other information except data, so I traced the source code.

In fact, worker-sys has already declared the meta function, but D1Result under worker did not further extract and serialize this part of data. I made some simple work that D1Result can obtain this part of the content.

Demo is here.

worker/src/d1/mod.rs Outdated Show resolved Hide resolved
worker/src/d1/mod.rs Outdated Show resolved Hide resolved
@langyo langyo requested a review from kflansburg July 4, 2024 20:52
@kflansburg kflansburg merged commit d0a40f1 into cloudflare:main Jul 5, 2024
3 checks passed
renovate bot referenced this pull request in spiraldb/vortex Jul 25, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [worker](https://togithub.com/cloudflare/workers-rs) |
workspace.dependencies | patch | `0.3.0` -> `0.3.1` |

---

### Release Notes

<details>
<summary>cloudflare/workers-rs (worker)</summary>

###
[`v0.3.1`](https://togithub.com/cloudflare/workers-rs/releases/tag/v0.3.1)

[Compare
Source](https://togithub.com/cloudflare/workers-rs/compare/v0.3.0...v0.3.1)

#### What's Changed

- Expose `Hyperdrive` from the worker crate by
[@&#8203;ramnivas](https://togithub.com/ramnivas) in
[https://github.com/cloudflare/workers-rs/pull/584](https://togithub.com/cloudflare/workers-rs/pull/584)
- Add a binding to meta object for `D1Result`. by
[@&#8203;langyo](https://togithub.com/langyo) in
[https://github.com/cloudflare/workers-rs/pull/591](https://togithub.com/cloudflare/workers-rs/pull/591)
- Use `wasm-pack` as crate dependency by
[@&#8203;kflansburg](https://togithub.com/kflansburg) in
[https://github.com/cloudflare/workers-rs/pull/592](https://togithub.com/cloudflare/workers-rs/pull/592)
- Support sha256 cert fingerprints in TlsClientAuth by
[@&#8203;fisherdarling](https://togithub.com/fisherdarling) in
[https://github.com/cloudflare/workers-rs/pull/601](https://togithub.com/cloudflare/workers-rs/pull/601)
- Add support for Version Metadata Binding by
[@&#8203;GoncaloGarcia](https://togithub.com/GoncaloGarcia) in
[https://github.com/cloudflare/workers-rs/pull/598](https://togithub.com/cloudflare/workers-rs/pull/598)

#### New Contributors

- [@&#8203;ramnivas](https://togithub.com/ramnivas) made their first
contribution in
[https://github.com/cloudflare/workers-rs/pull/584](https://togithub.com/cloudflare/workers-rs/pull/584)
- [@&#8203;langyo](https://togithub.com/langyo) made their first
contribution in
[https://github.com/cloudflare/workers-rs/pull/591](https://togithub.com/cloudflare/workers-rs/pull/591)
- [@&#8203;GoncaloGarcia](https://togithub.com/GoncaloGarcia) made their
first contribution in
[https://github.com/cloudflare/workers-rs/pull/598](https://togithub.com/cloudflare/workers-rs/pull/598)

**Full Changelog**:
cloudflare/workers-rs@v0.3.0...v0.3.1

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/spiraldb/vortex).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

2 participants