Type alias TransactionData<MongoDBDatasources, KnexDataSources>
TransactionData<MongoDBDatasources, KnexDataSources>: ([MongoDBDatasources] extends [never] ? {
mongodb?: undefined;
} : {
mongodb?: Partial<Record<MongoDBDatasources, ClientSession>>;
}) & ([KnexDataSources] extends [never] ? {
knex?: undefined;
} : {
knex?: Partial<Record<KnexDataSources, Knex.Transaction>>;
})
Type Parameters
-
MongoDBDatasources extends string
-
KnexDataSources extends string