fix transaction sample documentation (#1542)
* fix transaction sample fixes #1524 * delete new line
This commit is contained in:
@@ -88,7 +88,7 @@ public void doSomething() {
|
||||
CouchbaseDocument target = new CouchbaseDocument();
|
||||
mappingCouchbaseConverter.write(airline, target);
|
||||
|
||||
ctx.insert(couchbaseClientFactory.getDefaultCollection(), target.getId(), target.getContent());
|
||||
ctx.insert(couchbaseClientFactory.getDefaultCollection(), target.getId(), target.export());
|
||||
|
||||
ctx.commit();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user