File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export class AggregationCursor<TSchema = any> extends AbstractCursor<TSchema> {
77
77
}
78
78
79
79
/** Execute the explain for the cursor */
80
- explain ( verbosity ?: ExplainVerbosityLike ) : Promise < Document > {
80
+ async explain ( verbosity ?: ExplainVerbosityLike ) : Promise < Document > {
81
81
return executeOperation (
82
82
this . client ,
83
83
new AggregateOperation ( this . namespace , this [ kPipeline ] , {
Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ export class ClientSession extends TypedEventEmitter<ClientSessionEvents> {
444
444
* @param options - optional settings for the transaction
445
445
* @returns A raw command response or undefined
446
446
*/
447
- withTransaction < T = void > (
447
+ async withTransaction < T = void > (
448
448
fn : WithTransactionCallback < T > ,
449
449
options ?: TransactionOptions
450
450
) : Promise < Document | undefined > {
You can’t perform that action at this time.
0 commit comments