Couchbase Server | Finding old items


#1

I’m using couchbase server 3 for php session data. I’m concerned that the number of items is growing unnecessarily.

How can I create a view or query to see how old the documents(session data) in couchbase are?