Smarter way to get schema type

typeof googleDriveConnection._.inferInsert typeof googleDriveConnection._.inferSelect is there a smarter/cleaner way to get the type of a schema?
1 Reply
Angelelz
Angelelz14mo ago
The main way is typeof table.$inferSelect or typeof table.$inferInsert

Did you find this page helpful?