mysql.service.ts
- Compact multiple lines codes into single lines for readability and simplicity. - Replace some Promise responses from unknown to specific IDbStatusResult for a more predictable result. - In `insert`, `update`, `getById` and `delete` methods for `brands`, `categories`, `models`, `vehicles` and `users`, modify the way promises are handled and return values. - This makes the code more readable and easier to understand. Issue: #17 Signed-off-by: Mathis <yidhra@tuta.io>
brief-05-back
Languages
TypeScript
100%