<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed Jun 19 14:02:30 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/NCBC-73/NCBC-73.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[NCBC-73] Need better explanation of usage and return values of increment operation (and likely others)</title>
                <link>http://www.couchbase.com/issues/browse/NCBC-73</link>
                <project id="10046" key="NCBC">Couchbase .NET client library</project>
                        <description>The current docs for incrememnt: &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-net-1.1/couchbase-sdk-net-update-increment.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-net-1.1/couchbase-sdk-net-update-increment.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Can there be some attention paid to the above documentation (and will likely be needed across the board in similar areas):&lt;br/&gt;
-Some return values say: CasResult&amp;lt;ulong&amp;gt; (Cas result of bool).  What is &amp;quot;Cas result of bool&amp;quot;?&lt;br/&gt;
-Other return values say: IMutateOperationResult (Mutate operation result).  Is the same operation really expected to return drastically different object types?&lt;br/&gt;
-Some examples have &amp;quot;var casv = client.GetWithCas(&amp;quot;inventory&amp;quot;);&amp;quot; before performing the increment.  Is it necessary to get the CAS id before performing this type of increment?  Is it necessary to supply the CAS id for this type of increment?&lt;br/&gt;
-Some examples have very simply usage, others have more detail:&lt;br/&gt;
var getResult = client.ExecuteGet(&amp;quot;inventory&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
if (getResult.Success) {&lt;br/&gt;
	var mutateResult  client.ExecuteIncrement(&amp;quot;inventory&amp;quot;, 100, 1, getResult.Cas);&lt;br/&gt;
&lt;br/&gt;
	if (mutateResult.Success) {&lt;br/&gt;
		logger.Debug(&amp;quot;New value: &amp;quot; + mutateResult.Value);&lt;br/&gt;
	}&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
-Can all of the examples be made consistent, and/or just have a single example at the top showing how to perform the incremement and work with the result.  Then the various optional methods can be shown below?&lt;br/&gt;
-There seems to be a fair amount of duplication within the methods provided.  For example, the last two are exactly the same (even have the same typo on &amp;quot;numvers&amp;quot;) and there are other seemingly duplicates throughout.</description>
                <environment></environment>
            <key id="18022">NCBC-73</key>
            <summary>Need better explanation of usage and return values of increment operation (and likely others)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Jun 2012 09:22:36 -0500</created>
                <updated>Wed, 29 May 2013 16:20:36 -0500</updated>
                                    <version>1.1.6</version>
                                <fixVersion>1.2.8</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9274</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>