It might be possible to have a babel macro function that inspects the passed SQL query and generate TS type from it.
However, the query might contain a wild card which means the macro function will also need access to the current DB schema.
However, the query might contain a wild card which means the macro function will also need access to the current DB schema.
No comments yet.