Can someone tell me why row write is 6 rows in 1 statement?
Can someone tell me why row write is 6 rows in 1 statement?

Writing to columns referenced in an index will add at least one additional row written to account for updating the index.




wrangler d1 migrations create my-db "Migration message", then it created a migration file with name: 0NaN_<message> like this. Anyone else have this issue ?
"migrations_table" in wrangler.jsonc fixed itjson what other datatypes are there
The SQLite JSON extension ↗, on which D1 builds on, has additional usage examples.is using 'first-primary' the equiv of using not using sessions api at all - even if i have replication enabled?For the first call, yes, they are the same.
first-primary).if 'first-unconstrained' detects a write through sessions will it be upgraded to a primary, thus adding extra latency?Yes, if a query is a write, we will automatically forward it to the primary for execution. It still flows through the replica location though, so there might be some extra latency (or not) depending on these locations.
first-unconstrained means a replica will most likely process the query.
wrangler d1 migrations create my-db "Migration message"0NaN_<message>"migrations_table"The SQLite JSON extension ↗, on which D1 builds on, has additional usage examples.first-primaryfirst-unconstrained