Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

PHP: Clear all keys in bucket

4 replies [Last post]
  • Login or register to post comments
Fri, 07/22/2011 - 18:37
tgraupmann
Offline
Joined: 07/21/2011
Groups: None

Is there a way to clear all the keys in a bucket from php?

Top
  • Login or register to post comments
Fri, 07/22/2011 - 18:41
tgraupmann
Offline
Joined: 07/21/2011
Groups: None

Flush seems to be it!
http://www.php.net/manual/en/memcache.flush.php

Top
  • Login or register to post comments
Mon, 07/25/2011 - 13:58
perry
Offline
Joined: 10/11/2010
Groups:

Yes, just please don't use it before 1.7.1 as there are known issues.

We will be releasing that today, but to do this on previous versions you can delete and recreate the bucket.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Mon, 07/25/2011 - 14:03
tgraupmann
Offline
Joined: 07/21/2011
Groups: None

Is there a way to drop and create a bucket from the memcachedD client?

Or can a membase client drop and create a bucket?

Top
  • Login or register to post comments
Mon, 07/25/2011 - 14:06
perry
Offline
Joined: 10/11/2010
Groups:

No, unfortunately you'd have to run that separately. Membase has a REST API that can be accessed from anywhere, but there are no direct client implementations: http://www.couchbase.org/wiki/display/membase/Membase+Management+REST+API

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker