/// <summary> /// Asynchronously executes query and returns scalar result. /// </summary> /// <remarks> Multiple active operations are not supported. Use <see langword="await"/> /// to ensure that all asynchronous operations have completed.</remarks> /// <param name="token">The token to cancel current operation if needed.</param> /// <returns>Scalar result of query.</returns> public Task <object> ExecuteScalarAsync(CancellationToken token = default) => driver.ExecuteScalarAsync(session, realCommand, token);