Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

data.length returns wrong value on db results

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

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

data.length returns wrong value on db results

got it...I need to set limit

Return to “Issues”