|
MySQL Connector/C++ 9.5.0
MySQL connector library for C and C++ applications
|
Represents a collection of key-value pairs where value can be a scalar or another document. More...
Public Member Functions | |
| DbDoc () | |
| Create null document instance. More... | |
| DbDoc (const std::string &) | |
| Creates DbDoc instance out of given JSON string description. | |
| bool | isNull () const |
| Check if document is null. | |
| virtual bool | hasField (const Field &) const |
| Check if named field is a top-level field in the document. | |
| virtual int | fieldType (const Field &) const |
| Return Value::XXX constant that identifies type of value stored at given field. | |
| virtual const Value & | operator[] (const Field &) const |
| Return value of given field. | |
| virtual void | print (std::ostream &) const |
| Print JSON description of the document. | |
Represents a collection of key-value pairs where value can be a scalar or another document.
|
inline |
Create null document instance.