i'm actually submitting a following up question to a previous thread. i'm executing a GetView with millions of rows. I know the data is there, i can query it on the cb admin console.
but when i run my C# command it doesn't return anything, but steps through the line immediately....
Our requirement is to provide unique coupon to the user. We are generating unique coupons by our algorithm and storing in Couchbase DB.
We created one bucket where we are storing all the documents contain coupon codes. One column in the document is "IN USE". While supplying the coupons to...
Please let me know, this would save a lot of time....
There is conflicting documentation regarding which method to use for reading/writing data. One says do not use the REST API to read or write data and to use the SDK. And another says to use the REST API to build your own SDK.
1) Generate and store thousands of codes in a data bucket overnight (Ex: CodeBucket)
2) Give out these codes when requested (one code per request).
3) To ensure a code is given out only once, using a view as follows to retrieve a code