All Questions
2 questions
1
vote
0
answers
167
views
How to replicate a LEFT JOIN LATERAL query in Drizzle ORM
I'm trying to translate the following SQL query into Drizzle ORM in TypeScript:
await this.drizzleDB.execute(
sql`
SELECT i.id, i.title, iu.description, iu.last_updated_timestamp
...
0
votes
1
answer
648
views
Drizzle-ORM creating hash index on table
I want to create an index on a table in my Drizzle schema with one caveat, I want the index to be using the HASH index type. In the bottom you will find my current attempt.
However, when I am looking ...