Posts by Luiz Carlos Muniz • 1 point
1 post
-
-1
votes2
answers636
viewsA: Return of a Knex query using . map
Just use await as in const usuarios = await Usuarios.query() users.map will work normally.
1 post
-1
votes2
answers636
viewsJust use await as in const usuarios = await Usuarios.query() users.map will work normally.