You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return new PlanModifyPlan(this, 'op', 'where-distinct', args);
7429
-
}
7430
-
/**
7431
-
* Inserts or overwrites the documents identified by the uri column with the data supplied by the other document descriptor columns. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.write|ModifyPlan.prototype.write}
return new PlanModifyPlan(this, 'op', 'write', checkedArgs);
7441
-
}
7442
-
/**
7443
-
* This method deletes a document from the database. If the document does not exist, this method does not throw an error. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.remove|ModifyPlan.prototype.remove}
return new PlanModifyPlan(this, 'op', 'remove', checkedArgs);
7453
-
}
7454
-
/**
7455
-
* Gets an early lock on documents that will be updated later in the pipeline with an operation like remove() or write(). Documents are always locked, but for complex pipelines, it can be beneficial to lock the document early, so to minimize the potential for lock contention. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.lockForUpdate|ModifyPlan.prototype.lockForUpdate}
return new PlanModifyPlan(this, 'op', 'validate-doc', checkedArgs);
7515
-
7516
7394
}
7517
7395
/**
7518
7396
* This function flattens an array value into multiple rows.Then performs a op:join-inner on the rest of the rows. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.unnestInner|ModifyPlan.prototype.unnestInner}
return new PlanAccessPlan(null, 'op', 'from-search', checkedArgs);
8227
8105
8228
-
}
8229
-
/**
8230
-
* This function constructs document rows with rows provided by a parameter. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.fromParam|op.fromParam}
8231
-
* @method planBuilder#fromParam
8232
-
* @since 2.1.1
8233
-
* @param { XsString } [paramName] - The paramName parameter specifies the placeholder parameter supplying the rows.
8234
-
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
8235
-
* @param { PlanRowColTypes } [rowColTypes] - Describes the columns with an array of JavaScript objects. It's a combinations of column, type and nullable. The 'column' is the column name, which is required. The 'type' is the optional type of the column, which can be an atomic type or the default of none. The 'nullable' is an optional boolean defaulting to false. If your rows contains only uri, doc, collections, metadata, permissions, quality and temporalCollection columns, you could simply use op.docColTypes instead.
return new PlanAccessPlan(null, 'op', 'from-param', checkedArgs);
8245
-
8246
-
}
8247
-
/**
8248
-
* This function constructs document rows from the docsDescriptors. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.fromDocDescriptors|op.fromDocDescriptors}
8249
-
* @method planBuilder#fromDocDescriptors
8250
-
* @since 2.1.1
8251
-
* @param { PlanDocDescriptor } [docDescriptor] - An array of document descriptors. Each document descriptor describes a document. A document descriptor contains a combination of uri, doc, collections, metadata, permissions, quality and temporalCollection. This is a simpler form of op.fromParam.
8252
-
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
return new PlanAccessPlan(null, 'op', 'from-doc-descriptors', checkedArgs);
8262
-
8263
-
}
8264
-
/**
8265
-
* This function matches and returns the uri, content, and score for documents. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.fromDocUris|op.fromDocUris}
8266
-
* @method planBuilder#fromDocUris
8267
-
* @since 2.1.1
8268
-
* @param { PlanQueryDef } [querydef] - Qualifies a set of documents. The query can be a cts.query or as an array of document URI string literals.
8269
-
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
return new PlanAccessPlan(null, 'op', 'from-doc-uris', checkedArgs);
8279
-
8280
8106
}
8281
8107
/**
8282
8108
* This function returns a filter definition as input for a WHERE operation. As with a cts:query or sem:store, the filter definition cannot be used in an Optic Boolean expression but, instead, must be the only argument to the WHERE call. Add a separate WHERE call to filter based on an Optic Boolean expression. The condition must be a valid simple SQL Boolean expression expressed as a string. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.sqlCondition|op.sqlCondition}
return new PlanFunction('op', 'resolve-function', checkedArgs);
8893
8719
8894
-
}
8895
-
/**
8896
-
* Constructs a document column identifier object for columns of uri, doc, collections, metadata, permissions, quality and temporalCollection. The document column identifier object can be passed to the prototype.joinDocCols or prototype.write. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.docCols|op.docCols}
8897
-
* @method planBuilder#docCols
8898
-
* @since 2.1.1
8899
-
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
8900
-
* @param { XsString } [names] - An array of columns names, a combination of uri, doc, collections, metadata, permissions, quality and temporalCollection.
return new PlanDocColsIdentifier('op', 'doc-cols', checkedArgs);
8910
-
8911
-
}
8912
-
/**
8913
-
* Provides the 3rd parameter for op.fromParam for row column types. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.docColTypes|op.docColTypes}
0 commit comments