This project has moved. For the latest updates, please go here.

Is it possible to use multiple column ordering?

Sep 26, 2012 at 6:07 AM

I need to sort the table based on 2 column. Is it possible to use below syntax,

db.linq.from(CONSUMPTION).where("ConsumptionTypeId").equals(id).orderBy("Date").orderBy("DayValue").select().then(function () {    }, handleError, function (data) {                showConsumption(data, consumptionType);    });

Its not working.