Astro DB: using count() and countDistinct()?
I was using a Postgres database before, and there I could use the
I now switched to Astro DB, but I noticed the
Any help is appreciated! I'm guessing it has something to do with how SQLite works, but I can't find any good docs on this.
count() and countDistinct() functions from Drizzle.I now switched to Astro DB, but I noticed the
count() and countDistinct() functions aren't exported from astro:db and when using the functions from Drizzle directly, I get all kinds of TS errors. This is the query I'd like to do: Any help is appreciated! I'm guessing it has something to do with how SQLite works, but I can't find any good docs on this.