Page 1 of 1

data.length returns wrong value on db results

Posted: Mon Apr 14, 2014 2:41 pm
by Sean Kelley

I have an appery database query service which queries a collection with 109 rows. In my success event on query I have check for number of results:
var count = data.length;
console.log(count);
which gives my a result of 100

My query is very basic with just db id, session token, and where parameters. The only thing that I can think of causing issues is that the query parameter is empty until later when I add something


data.length returns wrong value on db results

Posted: Mon Apr 14, 2014 2:56 pm
by Maryna Brodina

Hello!

Please check this post https://getsatisfaction.com/apperyio/...


data.length returns wrong value on db results

Posted: Mon Apr 14, 2014 3:07 pm
by Sean Kelley

got it...I need to set limit