Remove multiple keys with one request


#1

Hello

Is it possible to remove multiple keys with one request? Or is there a wildcard remove available?

Thanks


#2

@tinohager

Not currently in the plans, but you can always create a request for a feature here: http://www.couchbase.com/issues/browse/NCBC

Also, you can always submit a pull request through github if you would like to contribute.

-Jeff


#3

I want this too (except for in Node SDK)… I had been meaning to make a post about it myself. Seems strange it isn’t already baked in.


#4

I am a novice in this area, just started learning Couchbase. But cann’t we handle this situation in the middle tier so that our user atleast will not feel the pain. Middle tier will interact with couchbase in a batch manner for multiple removes. No idea if this make sense.


#5

@tinohager -

I created a ticket for this: http://www.couchbase.com/issues/browse/NCBC-736

@neatcode -

You can always create a feature request for the node client in Jira. @brett19 is the node lead here.

@simplymanas -

You definitely could do this in your middle tier, or the SDK could offer methods of convenience for developers so that they do not have to. I think the scenario is common enough that it make sense to make it a feature of the SDK; the feedback from devs also suggests this.

-Jeff


#6

@jmorris
Perfect :slight_smile: Thanks


#7

Thanks Jeff @jmorris