On Thursday, October 13, 2011 11:36:34 AM UTC-4, pbreit wrote: > > Quantity is not a number? What does your quantity table look like?
db.item.quantity is a reference to db.quantity.id, so it's a number, but not the quantity of interest. Presumably there's a field in db.quantity that stores the actual quantity.