Parse.com JavaScript containsAll does not work -


i have article object include array field tags. want find articles contains tags. here code:

  var article = parse.object.extend('article');   var query = new parse.query(article);   query.containsall('tags',tags);   query.find({     success : function(results) {       console.log(results); 

the tags in code array like, ["tag1","tag2"]. code return empty. wrong? thanks.

have tried using containedin function? if pass array it, searches requested value.

query.containedin("tags", tags); 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -