我正在研究 Rethinkdb 上的几个教程和示例,并将它们转换为 PHP-RQL 以供我自己学习。
我目前正在查看http://www.infoworld.com/article/2975838/database/build-real-time-web-apps-with-rethinkdb.html并且无法弄清楚如何复制它:
r.http("http://www.reddit.com/r/aww.json")("data")("children")("data").orderBy(r.desc("score")).limit(5).pluck("score", "title", "url")
具体来说,它是我正在努力在 PHP-RQL 中重新创建的初始过滤器 ("("data")("children")("data")")。
任何帮助将不胜感激。
谢谢