Update sqlrest.js

If you make a request with conditions, it's not required to enter parameters.
Example : 
exposants.fetch({query:{sql:'SELECT * FROM exposant cat1 IN(1,2,3) ORDER BY title LIMIT 0, 10'}, localOnly:true});