getBySlug
function in MySQL services
The `getBySlug` function originally returned a single database model by slug from the MySQL handler. It has been updated to return a list of database models by slug name. Error handling for failed query executions is also included. Signed-off-by: Mathis <yidhra@tuta.io>
brief-05-back
Languages
TypeScript
100%