we are writing a libCouchbase library in Drogon (https://github.com/an-tao/drogon) ( Drogon is a HTTP application framework written in C++) and I have a few questions. I would really appreciate a fast answer from somebody from Couchbase.
When I implemented a getting callback, and get the lcb_RESPGET pointer in it, I have some problems to solve.
How to avoid the buffer in it (the value buffer and key buffer) from being released by libCouchbase ? I don’t want to copy the content of buffers to my c++ object.
Another question, Can I send a new command on the same connection before the last command gets the result? In other words, does libCouchbase support pipelining or batch mode?