andrewscofield / parse.com-php-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I couldn't use three values at where clause.

satheesh110 opened this issue · comments

This is my code

$parse = new parseQuery($table);
$parse->orderBy('createdAt');
$parse->where($wField, $wValue);
$parse->where($wField1, $wValue1);
$parse->where($wField2, $wValue2);
//result->Not working

$parse = new parseQuery($table);
$parse->orderBy('createdAt');
$parse->where($wField, $wValue);
$parse->where($wField1, $wValue1);
//result->Working

It didn't work. It works when I use two where functions. But not working if I use three where functions. Is it the correct way of adding where conditions or else... Please assist me on this one. Thank you.

Sorry. It's working now. That was my mistake.