`success` can only be `true` in the TypeScript typings
success can only be true in the TypeScript typingsnode_modules/@cloudflare/workers-types/index.d.tssuccess can only be true in the D1Result type, see D1UpstreamFailure:D1UpstreamFailure is this file. I'm using "@cloudflare/workers-types": "^4.20230814.0", will update4.20231002.0. @rozenmd Can you link me to this file?D1UpstreamFailure is in the binding rather than the types so the users don't see itsuccess is false for methods which don't return itsuccess is false for first. Does it throw an error, return null, etcsuccess is true on every call that returns it? I've been assuming if there's an upstream error it will throw--local

$ npx wrangler d1 backup create prod-dbwrangler 3.11.0. Is this error expected? Are backups not yet supported?
scripts folder for myself/team to use these kinds of things, personally. You could probably write something that wraps wrangler, but I don't think the effort would be worth it, personally--remote? Or put the backup script behind some kind of auth and have a local script hit that?rclone or similar, and then reconstruct the metadata needed locally. You could try asking in #r2 if anyone has any specific recommendations here.; at the end of the SQL statement was breaking itlet sql_query = "SELECT *
FROM table_name
WHERE id = ?
AND timestamp > (
SELECT MAX(timestamp)
FROM table_name
);"node_modules/@cloudflare/workers-types/index.d.tsinterface D1UpstreamFailure {
results?: never
error: string
success: false
meta: Record<string, unknown>
}D1UpstreamFailureD1UpstreamFailure"@cloudflare/workers-types": "^4.20230814.0"4.20231002.0first$ npx wrangler d1 backup create prod-db✘ [ERROR] A request to the Cloudflare API (/accounts/some-id/d1/database/some-id/backup) failed.
The request is malformed: Experimental DBs do not support backups yet:
some-id (v3) [code: 7400]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choosewrangler 3.11.0scripts