add method to fetch a whole table at once (asynchronously)