Variable Range for beer find

14 views
Skip to first unread message

Cassandra Goodby

unread,
Mar 9, 2018, 5:57:56 PM3/9/18
to Brewery DB API
I am trying to create a range for finding a beer within a certain ibu with variables. 
brewdb.beer.find({ ibu:"1,40", abv:"1,5"},(err,data)=>{
res.send(data);
});
This works above but I want the 1 to be ibuMin and 40 to be ibuMax which i tried ibu:ibuMin, ibuMax but it did not work. Is there a way to do this?
Reply all
Reply to author
Forward
0 new messages