Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは機能します:
return articles.find({}, {sort: {'published': -1}, limit: 1});
これはしません:
sort_order = 'published'; return articles.find({}, {sort: {sort_order: -1}, limit: 1});
これを行う方法はありますか?