6namespace Stroika::Foundation::Database::Document::Connection {
13 inline bool Ptr::operator== (
const Ptr& rhs)
const noexcept
15 return this->get () == rhs.get ();
17 inline bool Ptr::operator== (nullptr_t)
const noexcept
19 return this->get () ==
nullptr;
21 inline Set<String> Ptr::GetCollections ()
23 return this->get ()->GetCollections ();
27 this->get ()->CreateCollection (name);
29 inline void Ptr::DropCollection (
const String& name)
31 this->get ()->DropCollection (name);
35 return this->get ()->GetCollection (name);
39 using namespace Characters;
40 return Format (
"{}"_f,
static_cast<const void*
> (this->get ()));
String is like std::u32string, except it is much easier to use, often much more space efficient,...
nonvirtual void CreateCollection(const String &name)
nonvirtual String ToString() const