Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Reply
couchbase server not return id within record using c# code
Shailesh Uke
May 11 2017 8:49 AM
271
Reply
when we get records from couchbase server using select query not get id of each record
my code below . what i am missing
var clientConfiguration = new ClientConfiguration();
clientConfiguration.Servers = new List<Uri> { new Uri("http://localhost:8091/pools/") };
List<string> objDocList = new List<string>();
Cluster Cluster = new Cluster(clientConfiguration);
var bucket = Cluster.OpenBucket();
var result = bucket.Query<dynamic>("select * from testbucket");
foreach (var row in result)
{
dynamic propJSON = JsonConvert.SerializeObject(row);
//propJSON not contain id
}
I want id for updating record
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to Transfer xml file from remote server to another
How to view PDF file before downloading