Added method to find out SAPI url
test for empty whereValue and all operators