#include "Stroika/Foundation/StroikaPreComp.h"#include <optional>#include "Stroika/Foundation/Characters/String.h"#include "Stroika/Foundation/Containers/Set.h"#include "Stroika/Foundation/Database/Document/Collection.h"#include "Stroika/Foundation/Debug/AssertExternallySynchronizedMutex.h"#include "Connection.inl"Go to the source code of this file.
Classes | |
| class | Stroika::Foundation::Database::Document::Connection::Ptr |
| class | Stroika::Foundation::Database::Document::Connection::IRep |
Namespaces | |
| namespace | Stroika::Foundation |
Typedefs | |
| using | Stroika::Foundation::Database::Document::Connection::OpertionCallbackPtr = function< void(Operation op, const Ptr &documentDBConnection, const optional< String > &collectionName, const exception_ptr &e)> |
Enumerations | |
| enum | Stroika::Foundation::Database::Document::Connection::Operation |
The point of this module is to define a Connection abstraction that can be used for different kinds of connections (e.g. SQLite local database object, and mongoDB remote database object). This generic API can then be used in places where either backend database might be in use.
Definition in file Foundation/Database/Document/Connection.h.
| using Stroika::Foundation::Database::Document::Connection::OpertionCallbackPtr = typedef function<void (Operation op, const Ptr& documentDBConnection, const optional<String>& collectionName, const exception_ptr& e)> |
Optionally passed to SomeKindOfDocDB::Connection::New (its Options argument) for the purpose of logging;
Definition at line 58 of file Foundation/Database/Document/Connection.h.
Optionally passed to OpertionCallbackPtr for the purpose of logging
Definition at line 43 of file Foundation/Database/Document/Connection.h.