1
我很好奇,想知道别人都在用什么MongoDB中存储日期。我需要存储像user_created,user_lastLogin等日期。有没有人有过为什么一种方法可能比另一种更好的经验?
我很好奇,想知道别人都在用什么MongoDB中存储日期。我需要存储像user_created,user_lastLogin等日期。有没有人有过为什么一种方法可能比另一种更好的经验?
您的语言驱动程序应该允许您使用该语言的日期类型/对象。
这是[此问题]的副本(http://stackoverflow.com/questions/3778428/best-way-to-store-datetime-in-to-mongodb)。 – 2010-10-04 07:19:33