MySQL Forums
Forum List  »  Connector/C++

Re: Problem while using MySQL connector API
Posted by: Luis Silva
Date: October 11, 2019 12:34PM


Yes, you are right, that gives a wrong output, because its not yet fully done!

There is a workaround, which might work for you, which is using fields to create the document and so, you can print the all document, which will work.

DbDoc doc=coll.find(" = :id").fields(" as id", " as foo").bind("id", 1).execute().fetchOne();
cout<< doc << endl;

So result would be document with id and foo keys.

We continue working and this, and this missing part is already detected and will be fixed.

If you find other issues or ideas, please fill in bugs/feature requests!

Any questions, please ask!

Luís Silva

Options: ReplyQuote

Written By
Re: Problem while using MySQL connector API
October 11, 2019 12:34PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.