Skip to content

Commit 5f4684d

Browse files
author
ehennum
committed
fixup on JSDoc generated for Optic #556
1 parent a91e0a6 commit 5f4684d

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

lib/plan-builder-generated.js

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3250,7 +3250,7 @@ class JsonExpr {
32503250
constructor() {
32513251
}
32523252
/**
3253-
* Creates a (JSON) array, which is like a sequence of values, but allows for nesting. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json.array|json.array}
3253+
* Creates a (JSON) array, which is like a sequence of values, but allows for nesting. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json:array|json:array}
32543254
* @method planBuilder.json#array
32553255
* @since 2.1.1
32563256
* @param { ElementNode } [array] - A serialized array element.
@@ -3262,7 +3262,7 @@ array(...args) {
32623262
return new types.JsonArray('json', 'array', checkedArgs);
32633263
}
32643264
/**
3265-
* Returns the size of the array. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json.arraySize|json.arraySize}
3265+
* Returns the size of the array. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json:array-size|json:array-size}
32663266
* @method planBuilder.json#arraySize
32673267
* @since 2.1.1
32683268
* @param { JsonArray } [array] - An array.
@@ -3274,7 +3274,7 @@ arraySize(...args) {
32743274
return new types.XsUnsignedLong('json', 'array-size', checkedArgs);
32753275
}
32763276
/**
3277-
* Returns the array values as an XQuery sequence. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json.arrayValues|json.arrayValues}
3277+
* Returns the array values as an XQuery sequence. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json:array-values|json:array-values}
32783278
* @method planBuilder.json#arrayValues
32793279
* @since 2.1.1
32803280
* @param { JsonArray } [array] - An array.
@@ -3291,7 +3291,7 @@ arrayValues(...args) {
32913291

32923292
}
32933293
/**
3294-
* Creates a JSON object, which is a kind of map with a fixed and ordered set of keys. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json.object|json.object}
3294+
* Creates a JSON object, which is a kind of map with a fixed and ordered set of keys. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json:object|json:object}
32953295
* @method planBuilder.json#object
32963296
* @since 2.1.1
32973297
* @param { ElementNode } [map] - A serialized JSON object.
@@ -3303,7 +3303,7 @@ object(...args) {
33033303
return new types.JsonObject('json', 'object', checkedArgs);
33043304
}
33053305
/**
3306-
* Creates a JSON object. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json.objectDefine|json.objectDefine}
3306+
* Creates a JSON object. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json:object-define|json:object-define}
33073307
* @method planBuilder.json#objectDefine
33083308
* @since 2.1.1
33093309
* @param { XsString } [keys] - The sequence of keys in this object.
@@ -3315,7 +3315,7 @@ objectDefine(...args) {
33153315
return new types.JsonObject('json', 'object-define', checkedArgs);
33163316
}
33173317
/**
3318-
* Extract a subarray from an array, producing a new array. The second and third arguments to this function operate similarly to those of fn:subsequence for XQuery sequences. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json.subarray|json.subarray}
3318+
* Extract a subarray from an array, producing a new array. The second and third arguments to this function operate similarly to those of fn:subsequence for XQuery sequences. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json:subarray|json:subarray}
33193319
* @method planBuilder.json#subarray
33203320
* @since 2.1.1
33213321
* @param { JsonArray } [array] - An array.
@@ -3333,7 +3333,7 @@ subarray(...args) {
33333333

33343334
}
33353335
/**
3336-
* Constructs a json:array from a sequence of items. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json.toArray|json.toArray}
3336+
* Constructs a json:array from a sequence of items. Provides a client interface to a server function. See {@link http://docs.marklogic.com/json:to-array|json:to-array}
33373337
* @method planBuilder.json#toArray
33383338
* @since 2.1.1
33393339
* @param { Item } [items] - The items to be used as elements in the constructed array.
@@ -3355,7 +3355,7 @@ class MapExpr {
33553355
constructor() {
33563356
}
33573357
/**
3358-
* Returns true if the key exists in the map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map.contains|map.contains}
3358+
* Returns true if the key exists in the map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map:contains|map:contains}
33593359
* @method planBuilder.map#contains
33603360
* @since 2.1.1
33613361
* @param { MapMap } [map] - A map.
@@ -3372,7 +3372,7 @@ contains(...args) {
33723372

33733373
}
33743374
/**
3375-
* Returns the number of keys used in the map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map.count|map.count}
3375+
* Returns the number of keys used in the map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map:count|map:count}
33763376
* @method planBuilder.map#count
33773377
* @since 2.1.1
33783378
* @param { MapMap } [map] - A map.
@@ -3384,7 +3384,7 @@ count(...args) {
33843384
return new types.XsUnsignedInt('map', 'count', checkedArgs);
33853385
}
33863386
/**
3387-
* Constructs a new map with a single entry consisting of the key and value specified as arguments. This is particularly helpful when used as part of an argument to map:new(). Provides a client interface to a server function. See {@link http://docs.marklogic.com/map.entry|map.entry}
3387+
* Constructs a new map with a single entry consisting of the key and value specified as arguments. This is particularly helpful when used as part of an argument to map:new(). Provides a client interface to a server function. See {@link http://docs.marklogic.com/map:entry|map:entry}
33883388
* @method planBuilder.map#entry
33893389
* @since 2.1.1
33903390
* @param { XsString } [key] - The map key.
@@ -3401,7 +3401,7 @@ entry(...args) {
34013401

34023402
}
34033403
/**
3404-
* Get a value from a map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map.get|map.get}
3404+
* Get a value from a map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map:get|map:get}
34053405
* @method planBuilder.map#get
34063406
* @since 2.1.1
34073407
* @param { MapMap } [map] - A map.
@@ -3418,7 +3418,7 @@ get(...args) {
34183418

34193419
}
34203420
/**
3421-
* Get the keys used in the map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map.keys|map.keys}
3421+
* Get the keys used in the map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map:keys|map:keys}
34223422
* @method planBuilder.map#keys
34233423
* @since 2.1.1
34243424
* @param { MapMap } [map] - A map.
@@ -3430,7 +3430,7 @@ keys(...args) {
34303430
return new types.XsString('map', 'keys', checkedArgs);
34313431
}
34323432
/**
3433-
* Creates a map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map.map|map.map}
3433+
* Creates a map. Provides a client interface to a server function. See {@link http://docs.marklogic.com/map:map|map:map}
34343434
* @method planBuilder.map#map
34353435
* @since 2.1.1
34363436
* @param { ElementNode } [map] - A serialized map element.
@@ -4144,7 +4144,7 @@ iri(...args) {
41444144
return new types.SemIri('sem', 'iri', checkedArgs);
41454145
}
41464146
/**
4147-
* Provides a client interface to a server function.
4147+
* Converts an IRI value to a QName value. Provides a client interface to a server function.
41484148
* @method planBuilder.sem#iriToQName
41494149
* @since 2.1.1
41504150
* @param { XsString } [arg1] -
@@ -4233,7 +4233,7 @@ langMatches(...args) {
42334233

42344234
}
42354235
/**
4236-
* Provides a client interface to a server function.
4236+
* Converts a QName value to an IRI value. Provides a client interface to a server function.
42374237
* @method planBuilder.sem#QNameToIri
42384238
* @since 2.1.1
42394239
* @param { XsQName } [arg1] -
@@ -4466,7 +4466,7 @@ collatedString(...args) {
44664466

44674467
}
44684468
/**
4469-
* Returns a specified date with the specified number interval (signed integer) added to a specified datepart of that date Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql.dateadd|sql.dateadd}
4469+
* Returns a specified date with the specified number interval (signed integer) added to a specified datepart of that date Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql:dateadd|sql:dateadd}
44704470
* @method planBuilder.sql#dateadd
44714471
* @since 2.1.1
44724472
* @param { XsString } [datepart] - Is the part of date where the number will be added. The following table lists all valid datepart arguments. User-defined variable equivalents are not valid. The return data type is the data type of the date argument. Options: datepart parameter abbreviation includes: "year","yyyy","yy" The year part of the date "quarter","qq","q" The quarter part of the date "month","mm","m" The month part of the date "dayofyear","dy","y" The day of the year from the date "day","dd","d" The day of the month from the date "week","wk","ww" The week of the year from the date "weekday","dw" The day of the week from the date "hour","hh" The hour of the day from the date "minute","mi","n" The minute of the hour from the date "second","ss","s" The second of the minute from the date "millisecond","ms" The millisecond of the minute from the date "microsecond","msc" The microsecond of the minute from the date "nanosecond","ns" The nanosecond of the minute from the date
@@ -4484,7 +4484,7 @@ dateadd(...args) {
44844484

44854485
}
44864486
/**
4487-
* Returns the count (signed integer) of the specified datepart boundaries crossed between the specified startdate and enddate. Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql.datediff|sql.datediff}
4487+
* Returns the count (signed integer) of the specified datepart boundaries crossed between the specified startdate and enddate. Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql:datediff|sql:datediff}
44884488
* @method planBuilder.sql#datediff
44894489
* @since 2.1.1
44904490
* @param { XsString } [datepart] - Is the part of startdate and enddate that specifies the type of boundary crossed. The following table lists all valid datepart arguments. User-defined variable equivalents are not valid. Options: datepart parameter abbreviation includes: "year","yyyy","yy" The year part of the date "quarter","qq","q" The quarter part of the date "month","mm","m" The month part of the date "dayofyear","dy","y" The day of the year from the date "day","dd","d" The day of the month from the date "week","wk","ww" The week of the year from the date "weekday","dw" The day of the week from the date "hour","hh" The hour of the day from the date "minute","mi","n" The minute of the hour from the date "second","ss","s" The second of the minute from the date "millisecond","ms" The millisecond of the minute from the date "microsecond","msc" The microsecond of the minute from the date "nanosecond","ns" The nanosecond of the minute from the date
@@ -4502,7 +4502,7 @@ datediff(...args) {
45024502

45034503
}
45044504
/**
4505-
* Returns an integer that represents the specified datepart of the specified date. Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql.datepart|sql.datepart}
4505+
* Returns an integer that represents the specified datepart of the specified date. Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql:datepart|sql:datepart}
45064506
* @method planBuilder.sql#datepart
45074507
* @since 2.1.1
45084508
* @param { XsString } [datepart] - The part of date that to be returned. Options: datepart parameter abbreviation includes: "year","yyyy","yy" The year part of the date "quarter","qq","q" The quarter part of the date "month","mm","m" The month part of the date "dayofyear","dy","y" The day of the year from the date "day","dd","d" The day of the month from the date "week","wk","ww" The week of the year from the date "weekday","dw" The day of the week from the date "hour","hh" The hour of the day from the date "minute","mi","n" The minute of the hour from the date "second","ss","s" The second of the minute from the date "millisecond","ms" The millisecond of the minute from the date "microsecond","msc" The microsecond of the minute from the date "nanosecond","ns" The nanosecond of the minute from the date "TZoffset","tz" The timezone offset from the date
@@ -4794,7 +4794,13 @@ right(...args) {
47944794
return new types.XsString('sql', 'right', checkedArgs);
47954795

47964796
}
4797-
/** @ignore */
4797+
/**
4798+
* Constructs a row identifier from the string form of the temporary identifier assigned to a row during processing. Provides a client interface to a server function.
4799+
* @method planBuilder.sql#rowID
4800+
* @since 2.1.1
4801+
* @param { XsAnyAtomicType } [arg1] -
4802+
* @returns { SqlRowID }
4803+
*/
47984804
rowID(...args) {
47994805
const paramdef = ['arg1', [types.XsAnyAtomicType, PlanColumn, PlanParam], false, false];
48004806
const checkedArgs = bldrbase.makeSingleArgs('sql.rowID', 1, paramdef, args);
@@ -4939,7 +4945,7 @@ week(...args) {
49394945
return new types.XsInteger('sql', 'week', checkedArgs);
49404946
}
49414947
/**
4942-
* Provides a client interface to a server function.
4948+
* Returns the day of the week. Provides a client interface to a server function.
49434949
* @method planBuilder.sql#weekday
49444950
* @since 2.1.1
49454951
* @param { Item } [arg1] -

0 commit comments

Comments
 (0)