couchbase
Advanced tools
Comparing version 2.4.5 to 2.4.6
@@ -44,2 +44,29 @@ 'use strict'; | ||
/** | ||
* Enum representing the different query profiling modes. | ||
* | ||
* @readonly | ||
* @enum {string} | ||
* | ||
* @since 2.4.6 | ||
* @committed | ||
*/ | ||
N1qlQuery.ProfileType = { | ||
/** | ||
* Disables profiling. This is the default | ||
*/ | ||
PROFILE_NONE: 'off', | ||
/** | ||
* This enables phase profiling. | ||
*/ | ||
PROFILE_PHASES: 'phases', | ||
/** | ||
* This enables general timing profiling. | ||
*/ | ||
PROFILE_TIMINGS: 'timings' | ||
}; | ||
/** | ||
* Returns the fully prepared string representation of this query. | ||
@@ -138,2 +165,3 @@ */ | ||
* @since 2.3.1 | ||
* @committed | ||
*/ | ||
@@ -154,2 +182,3 @@ N1qlStringQuery.prototype.pretty = function(pretty) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -169,2 +198,3 @@ N1qlStringQuery.prototype.scanCap = function(scanCap) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -184,2 +214,3 @@ N1qlStringQuery.prototype.pipelineBatch = function(pipelineBatch) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -199,2 +230,3 @@ N1qlStringQuery.prototype.pipelineCap = function(pipelineCap) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -207,2 +239,16 @@ N1qlStringQuery.prototype.readonly = function(readonly) { | ||
/** | ||
* Controls the profiling mode used during query execution. | ||
* | ||
* @param {N1qlQuery.ProfileType} profileType | ||
* @returns {N1qlStringQuery} | ||
* | ||
* @since 2.4.6 | ||
* @committed | ||
*/ | ||
N1qlStringQuery.prototype.profile = function(profileType) { | ||
this.options.profile = profileType; | ||
return this; | ||
}; | ||
/** | ||
* Returns the fully prepared string representation of this query. | ||
@@ -209,0 +255,0 @@ */ |
@@ -42,3 +42,3 @@ { | ||
}, | ||
"version": "2.4.5", | ||
"version": "2.4.6", | ||
"config": { | ||
@@ -45,0 +45,0 @@ "native": false |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5936947
13936
7