function and return value containing data, but the knex library is async, Any workarounds?
Use callbacks
make everything async
An async function returns a promise, you can chain a .then to the result
Обсуждают сегодня