I am trying to run a stored procedure by passing the query in it. My query is something like this:
SELECT DISTINCT VALUE f._self FROM collection f JOIN c IN f.data WHERE (c.Name= 'James') AND (c['DOB'] = '2020-02-02 00:00:00')
But after debugging it inside the console of Data explorer, I am getting output like this:
select distinct value f._self from collection f join c in f.data where (c.name= 'james') and (c['dob'] = '2020-02-02 00:00:00')
It makes the query in smaller case with parameters also. So with this I am not able to query the DB. Why is it behaving like this?