Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

couchbase

Package Overview
Dependencies
Maintainers
2
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchbase - npm Package Compare versions

Comparing version 2.4.5 to 2.4.6

46

lib/n1qlquery.js

@@ -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 @@ */

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc