Extract interface for table from schema
Can I extract an interface for a table from my schema without using it from the client? Something like "typeof [nameOfTable]" or something? Or do I need to define my own interfaces?
2 Replies
There is the
InferModel
type that you can pass a table into.
From the documentation:
Thank you!