mongodb - expireAfterSeconds what timezone is used? -


when i'm doing:

db.events.ensureindex({ "expiresat": 1 }, { expireafterseconds: 0 }) 

what timezone expiresat comparing ??

mongodb dates utc dates. therefore, values can st "expiresat" field utc times. , expiry going @ after set expiryafterseconds (in case 0) passed since expiresat in utc time.


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

C++ Program To Find Smallest and Largest Number In Array -