The problem is, I use an Orm (typeOrm) and I don't know if I can connect D1 with typeorm
The problem is, I use an Orm (typeOrm) and I don't know if I can connect D1 with typeorm
npx wrangler d1 export dbname --remote --output db.sql so there is a waygetPlatformProxy imported from wrangler, but this doesn't work in production because wrangler depends on node libraries that aren't available in production. I need the database in this context to create user records (they are created by an auth.js prisma adapter)On July 1, 2024, we will deprecate D1 alpha databases. Upon deprecation, alpha databases will reject live SQL queriesI don't personally have any alpha DBs that I use in production anyway, but describing this as a "deprecation" but then completely disabling all queries to it seems to counter eachother a little. This was the first real direct comms I've received about D1 alpha DBs being formally deprecated. cc @Vy
SELECT *
FROM (
SELECT latest_table_name
FROM table_source
) AS dynamic_table
JOIN table_name ON dynamic_table.value = table_name.table_name;npx wrangler d1 export dbname --remote --output db.sqlgetPlatformProxy