Add method addNewDocument and return a reference of the active document in the add methods to allow chaining these methods ...

This commit is contained in:
fbraem
2013-02-21 16:48:21 +01:00
parent 7600eed502
commit 7328eace34
2 changed files with 32 additions and 12 deletions

View File

@@ -220,9 +220,5 @@ void Document::write(BinaryWriter& writer)
writer << '\0';
}
void Document::addElement(Element::Ptr element)
{
_elements.insert(element);
}
}} // Namespace Poco::MongoDB