cloudflare / cloudflare/workerd

type D1Result problem

Open
#940 3 comments 1 reaction 1 assignee Claimed by @workers-devprod View on GitHub
types
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

According to the documentation, the 'success' field under D1Result should be of type boolean, but currently, it is set to true.
https://developers.cloudflare.com/d1/platform/client-api/#return-object

```ts
declare interface D1Result {
results: T[];
success: true;
meta: any;
error?: never;
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.