https://developers.cloudflare.com/d1/learning/using-d1-from-pages/
A binding enables your Pages Functions to interact with resources on the Cloudflare developer platform. Use bindings to integrate your Pages Functions …



--local and --persist, how can we request Pages use a local copy of the DB in the .wrangler directory?D1_ERROR message when trying to do any kind of prepare statement.
668d0e1f-b01a-4048-8796-fdf4530fb192
when we enable global read replication, you won’t have to pay extra for it, nor will replication multiply your storage consumption. 
5/19/23, 1:29 PM



INSERT INTO table(col1,col2)
SELECT key, value
FROM json_each('[55,66,77]')0,55
1,66
2,77--persistD1_ERRORprepare668d0e1f-b01a-4048-8796-fdf4530fb192when we enable global read replication, you won’t have to pay extra for it, nor will replication multiply your storage consumption.{
"message": "D1_ERROR",
"cause": "Error: Error 9000: something went wrong"
}