You can also try Durable Object SQLite storage. According to docs, you can create unlimited database
You can also try Durable Object SQLite storage. According to docs, you can create unlimited database, but each database is still limited to 1GB.



D1 Read token API token and then any writes would fail? Doesn't seem like there's a way to do this through workers APIconst db = drizzle({ connection: process.env.DATABASE_URL, casing: 'snake_case' })// Row definition
type OrderRow = {
Id: string;
CustomerName: string;
OrderDate: number;
};
// Elsewhere in your application
const result = await env.MY_DB.prepare(
"SELECT Id, CustomerName, OrderDate FROM [Order] ORDER BY ShippedDate DESC LIMIT 100",
).run<OrderRow>();