I've been trying but it seems they both create different sql files, the paths are right but I end up
I've been trying but it seems they both create different sql files, the paths are right but I end up with different database files
wrangler pages dev ... --d1=DB and set preview_database_id="DB" in your wrangler.toml so that the wrangler d1 commands use the same database locally



unknown and then another type. If it won't cast without the unknown then it's likely something else is wrong. 
run shouldn't actually return anything (https://developers.cloudflare.com/d1/platform/client-api/#await-stmtrun) but iirc it's broken and does.
D1_ERROR: Error: SQL execute error: Execute returned results - did you mean to call query? but it's probably going to be a pain to return to it's original behaviour without breaking projects

wrangler pages dev ... --d1=DBpreview_database_id="DB"wrangler d1unknownrunD1_ERROR: Error: SQL execute error: Execute returned results - did you mean to call query?