The result structure should be optimized.

17 views
Skip to first unread message

AkiraVoid

unread,
Jun 19, 2022, 10:01:51 AM6/19/22
to node-mysql
For now, the structure is difficult to migrate with TypeScript. Every query should have a consistent result whatever it is "SELECT", "UPDATE", "INSERT INTO" or "DELETE FROM". Also, at least we should have a table describes all possible properties and their types in result and error object.
Reply all
Reply to author
Forward
0 new messages