can you use ttl with gridfs?

131 views
Skip to first unread message

John Cole

unread,
Oct 12, 2012, 7:27:08 PM10/12/12
to mongod...@googlegroups.com
If you can, do you need to put a ttl index on both the chunks and files collections or just one of them?

Thanks,

John

Sam Millman

unread,
Oct 15, 2012, 3:32:06 AM10/15/12
to mongod...@googlegroups.com
I believe you must manage this yourself for the moment. MongoDB has no idea with GridFS is, it is entirely driver implemented.

--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb

John Cole

unread,
Oct 15, 2012, 9:40:24 AM10/15/12
to mongod...@googlegroups.com
Thanks,
  I'll manage this through the app and driver.

John
Reply all
Reply to author
Forward
0 new messages