阅读背景:

查询带有id数组的mongo,其中where子句ruby on rails

来源:互联网 

Let's say I have a table Users in the database. The user table has article_id. I also have an array let's say article_ids. Now I want to take all the users in the database that have article_id in that array of ids. I am trying to with the following query:Let's say I have a table Users in the database.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: