bindings are always better than the REST api unless you need something meta out of the API the sql w
bindings are always better than the REST api unless you need something meta out of the API the sql won't give you

request.isEUCountry ? env.EUDB (no replica) : env.DB ?/link your acct?D1_ERROR: internal error; reference = ... - what is this?

D1_ERROR: internal error; reference = ndpgcatuhsqmvt3vuskhertr Error: D1_ERROR: internal error; reference = ndpgcatuhsqmvt3vuskhertr at D1DatabaseSessionAlwaysPrimary._sendOrThrow (cloudflare-internal:d1-api:125:19) at async D1PreparedStatement.first (cloudflare-internal:d1-api:287:35)request.isEUCountry ? env.EUDB (no replica) : env.DB/linkD1_ERROR: internal error; reference = ...