Dynamic input not leading to changes on the front end
I'm building a dynamic procedure to access my database via Drizzle ORM.
Ideally a developer would be able to send input parameters to the procedure and have it's output adjusted by that input.
For example, in the below, I have a table called
If I hard code the
Ideally a developer would be able to send input parameters to the procedure and have it's output adjusted by that input.
For example, in the below, I have a table called
demotable which has an updatedAt column. If a developer passes in columns: { updatedAt: false } to the procedure, then ideally the column would not get included in the result.If I hard code the
columns parameter in the backend itself, then it works great. Is there a way to accomplish this for the full round trip?