+1 to deploying it, `wrangler dev`'s Workers !== real Workers
+1 to deploying it,
wrangler dev's Workers !== real Workersworker dev --remote? wrangler dev --remote doesn't have the same performance characteristics as a deployed Worker (which runs across Cloudflare's network)README.md that it can potentially handle big DBs. .run I have updated the types and wrangler and I still see that run returns a D1Response. What I am missing?
wrangler d1 info <dbname>
wrangler d1 execute TestDB --local --command="SELECT * FROM MyTable" wrangler d1 info <dbname>Object {
served_by: v3-prod,
duration: 0.2097,
changes: 0,
last_row_id: 0,
changed_db: false
...
}const { results, meta } = await stmt.bind(email).all();npx wrangler@latest d1 insights <myDB> --sortBy reads --timePeriod 7d{
"query": "SELECT (SELECT count(*) FROM \"table_one\") as \"table_one\",(SELECT count(*) FROM \"table_two\") as \"table_two\",(SELECT count(*) FROM \"table_three\") as \"table_three\",(SELECT count(*) FROM \"table_four\") as \"table_four\",(SELECT count(*) FROM \"table_five\") as \"table_five\",(SELECT count(*) FROM \"table_six\") as \"table_six\",(SELECT count(*) FROM \"table_seven\") as \"table_seven\",(SELECT count(*) FROM \"table_eight\") as \"table_eight\";",
"avgRowsRead": 396035,
"totalRowsRead": 792070,
"avgRowsWritten": 0,
"totalRowsWritten": 0,
"avgDurationMs": 18.983150000000002,
"totalDurationMs": 37.966300000000004,
"numberOfTimesRun": 2
},