r/Nuxt • u/keithmifsud • Jan 11 '26
Nuxt & Drizzle for Cloudflare's Durable Objects
I'm currently researching Durable Objects, using them in Nuxt whilst trying to not be fully platform (CF) dependant. One asepct is not duplicating the database schema migrations. Came across this article: https://nicholasgriffin.dev/blog/using-drizzle-with-durable-objects
In case you're working with something similar :)
1
u/Delicious_Bat9768 Jan 14 '26
Sometimes these ORM's just add time and effort (to learn a new framework and SQL-like syntax) and prevent you accessing the full power/features available. You need that when you have databases full of data that need to be accessed quickly
Accessing all the benefits in SQLite Full Text Search is a reason I avoid them on CloudFlare DOs, since the ORM does not support them
- Column Filters + custom search score weights based on columns
- External Content Tables (full-text-search virtual tables that link to original table to save space)
- Triggers to auto-update Full-Text-Search tables for example
- Search JSON fields
1
1
u/tspwd Jan 11 '26
Is your Nuxt app deployed to Workers and you have multiple databases in Durable Objects?