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.
MongoDBISODateフィールドに基づいてクエリを実行したいと思います。ただし、Java Dateオブジェクトを正しいISODateオブジェクトにシリアル化する方法がわかりません。これは、QueryBuilderで使用できます。ちょっとしたサンプルコードをいただければ幸いです。どうもありがとう。
DateオブジェクトのJSONでの適切な表現へのシリアル化({$ date:
builder.greaterThan(new Date())
うまく動作します。ただし、タイムゾーンには注意してください。