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

Can/how to put a None as oldValue for cas?

1 reply [Last post]
  • Login or register to post comments
Mon, 02/27/2012 - 13:03
byzhang
Offline
Joined: 02/25/2012
Groups: None

The env: couchbase 1.8, python client 2.0

Top
  • Login or register to post comments
Tue, 03/06/2012 - 10:12
ingenthr
Offline
Joined: 03/16/2010
Groups:

I'm sorry, I don't understand the question. With CAS, you'd normally not put none in there at all. If you're looking for an atomic way to create an item if it doesn't exist (and thus has no CAS value), you're looking for the "add" method.

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