mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-08 14:56:12 +01:00
Make it work again
This commit is contained in:
@@ -59,13 +59,20 @@ public:
|
||||
/// Destructor
|
||||
|
||||
};
|
||||
/*
|
||||
|
||||
// BSON Embedded Array
|
||||
// spec: document
|
||||
template<>
|
||||
struct ElementTraits<Array::Ptr>
|
||||
{
|
||||
enum { TypeId = 0x04 };
|
||||
|
||||
static std::string toString(const Array::Ptr& value)
|
||||
{
|
||||
//TODO:
|
||||
return value.isNull() ? "null" : "[]";
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
template<>
|
||||
@@ -79,7 +86,7 @@ inline void BSONWriter::write<Array::Ptr>(Array::Ptr& from)
|
||||
{
|
||||
from->write(_writer);
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
}} // Namespace Poco::MongoDB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user