Dynamic Table Names
I am new to drizzle (started today) and am wondering if it is possible to have a dynamic table name. I have a database that has a new table created for each month. The schema of all these tables is the same. Is it possible to just have 1 schema definition instead of needing to have this repeated? I was able to accomplish this in the past using sqlalchemy using the blow config. Sorry if I have asked this in a confusing manner.
Current Drizzle:
SQLAlchemy:
1 Reply
Pseudo code:
We use it, works great. Basically, you just define a function that defines your table, then you just call it. No magic, just regular js š