title: Mongodb, mongoose - dynamically set TTL time
body: <p>I am referring to this <a href="https://stackoverflow.com/questions/24008956/time-to-live-in-mongodb-mongoose-dont-work-documents-doesnt-get-deleted">Time to live in mongodb, mongoose dont work. Documents doesnt get deleted</a> to ask my question:
  Is it possible to set TTL time for MongoDB dynamically?
  So let's suppose you have token collection and you want to use it for different purposes. In that case every time when you create the token it would be nice to set specific TTL for each token.
  If this is possible, could you please provide some code snippet?</p>