A wrapper for database field retreival out of the sequelize object #11
Labels
backend
Fixes apply to the backend branch
enhancement
New feature or request
good first issue
Good for newcomers
Is your feature request related to a problem? Please describe.
After getting the row object from sequelize, it is painful to type
row.getDataValue('')
everytime. Have a wrapper instead of that.Describe the solution you'd like
Have any number of row.getDataValue inside your custom wrapper. It should return an object with the fields expected.
The text was updated successfully, but these errors were encountered: