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.
mongo db に日付フィールドを追加したい。ロボモンゴを使用しています。どうやってやるの?
文字列の場合は "" で、数値の場合は NumberInt で指定できます。日付フィールドのデータ型は何ですか? また、現在の日付を挿入するにはどうすればよいですか?
db.yourcollection.insert({date_field_name:new Date()})