Mathis 3472c59ac2
feat(services): refactor MysqlHandler to improve factorize method
Update the MysqlHandler class in the 'mysql.service.ts':
- Enhance the `factorize` method to handle 'id' in a special manner and create a string of '?' for prepared SQL queries.
- Refactor the `add` method to utilize the updated `factorize` method for constructing SQL queries.
- Update the return types of `getById` and `getByEmail` methods to return an array of IDbUser instead of a single IDbUser instance.
- Rename a private attribute 'Logger' to 'logger'.

Issue: #18
Signed-off-by: Mathis <yidhra@tuta.io>
2024-05-02 12:22:17 +02:00
2024-04-24 16:55:37 +02:00
2024-04-24 16:55:37 +02:00
2024-04-29 14:58:44 +02:00
2024-04-22 16:05:04 +02:00
2024-04-30 10:55:37 +02:00
2024-04-22 16:05:04 +02:00
2024-04-23 13:51:59 +02:00

brief-05-back

Description
Faux site de location de véhicule.
Readme 648 KiB
Languages
TypeScript 100%