ErrorCtor [CustomError]: EmptyResponse
Author: tgbvCreated Feb 12, 2021Updated Sep 15, 2023
I receive the titled issue when executing the code and there are no records on the database table.
UsersModel.where('username', 'some username').fetch({ require: true })
.then( ... )
.catch(e=>console.log(e))Package version is 1.2.0 How should I handle it?
Source: bookshelf/bookshelf