Go to the source code of this file.
◆ DEFINE_MONGO_TRANSACTION_PLUGIN_FACTORY
#define DEFINE_MONGO_TRANSACTION_PLUGIN_FACTORY |
( |
|
NAME, |
|
|
|
STREAM |
|
) |
| |
Value:std::unique_ptr<MongoTransactionPlugin> Create##NAME##TransactionMongoPlugin() { \
return MongoTransactionPluginFactory::Create<model::NAME##Transaction, model::Embedded##NAME##Transaction>( \
STREAM<model::NAME##Transaction>, \
STREAM<model::Embedded##NAME##Transaction>); \
}
Defines a mongo transaction plugin factory for NAME transaction using STREAM.