Multi get and touch


#1

Hi,

I see that one can get several keys in one round trip. Also one can do get-and-touch in a single round trip. Is it possible to do several get-and-touch in one round trip, please? Something like:

IDictionary<string, object> CouchbaseClient.Get(IEnumerable keys, IEnumerable newExpirations);

If not possible, would you consider adding such an operation in a future version, please?

Thanks.


#2

nvargas -

This is something we would probably add as an extension method to the current 1.X version or perhaps to 2.X, which is in development. You can always file a feature request here: http://www.couchbase.com/issues/browse/NCBC. That is probably the best way and you will receive updates when the status changes as well.

You could also try rolling your own and submit a pull request :wink:

-Jeff