diff --git a/NOTICE.txt b/NOTICE.txt index ad7950a3..855997da 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,6 +1,6 @@ MarkLogic® Node Client API -Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. This project is licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at diff --git a/config-optic/connectdef.js b/config-optic/connectdef.js index fcda29ec..ac5c3885 100644 --- a/config-optic/connectdef.js +++ b/config-optic/connectdef.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/config-optic/setupqa.js b/config-optic/setupqa.js index 464fa7dd..57b5e1a5 100755 --- a/config-optic/setupqa.js +++ b/config-optic/setupqa.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; @@ -16,7 +16,7 @@ var testName = clientConnectdef.name; var planServerdef = clientConnectdef.plan; var testLoad = require('./loaddata.js'); -var testUser = require('./userconfig.js'); +var testUser = require('./userconfig.js'); var db = marklogic.createDatabaseClient({ host: planServerdef.host, @@ -64,7 +64,7 @@ check.then(function(response) { } }).result(); }) -.then(function(response){ +.then(function(response){ console.log('setting up rest eval role'); return testUser.addRestEvalRole(manager).result(); }) diff --git a/config-optic/teardown.js b/config-optic/teardown.js index f1f05020..5e519ebb 100644 --- a/config-optic/teardown.js +++ b/config-optic/teardown.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/config-optic/testlib.js b/config-optic/testlib.js index 9e055670..a05e709f 100644 --- a/config-optic/testlib.js +++ b/config-optic/testlib.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var valcheck = require('../node_modules/core-util-is/lib/util.js'); diff --git a/etc/test-config-qa-ssl.js b/etc/test-config-qa-ssl.js index e3d88aa0..ff65507c 100644 --- a/etc/test-config-qa-ssl.js +++ b/etc/test-config-qa-ssl.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var testHost = 'localhost'; diff --git a/etc/test-config-qa.js b/etc/test-config-qa.js index a32ebfb6..e4aaa140 100644 --- a/etc/test-config-qa.js +++ b/etc/test-config-qa.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var testHost = 'localhost'; diff --git a/etc/test-config.js b/etc/test-config.js index 193dc036..3ceda5f2 100644 --- a/etc/test-config.js +++ b/etc/test-config.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ let testHost = 'localhost'; diff --git a/etc/test-lib.js b/etc/test-lib.js index 5f09262b..78ebfd7a 100644 --- a/etc/test-lib.js +++ b/etc/test-lib.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var valcheck = require('core-util-is'); diff --git a/etc/test-setup-dmsdk-qa.js b/etc/test-setup-dmsdk-qa.js index ad4e8c2c..68ebf404 100644 --- a/etc/test-setup-dmsdk-qa.js +++ b/etc/test-setup-dmsdk-qa.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var valcheck = require('core-util-is'); diff --git a/etc/test-setup-prompt.js b/etc/test-setup-prompt.js index f6fe5ffb..9deb89de 100644 --- a/etc/test-setup-prompt.js +++ b/etc/test-setup-prompt.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var read = require("read"); var mlutil = require('../lib/mlutil.js'); diff --git a/etc/test-setup-qa.js b/etc/test-setup-qa.js index 34c28184..0b8f1615 100644 --- a/etc/test-setup-qa.js +++ b/etc/test-setup-qa.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var valcheck = require('core-util-is'); diff --git a/etc/test-setup-users.js b/etc/test-setup-users.js index 5f14f1e9..87d8c7fd 100644 --- a/etc/test-setup-users.js +++ b/etc/test-setup-users.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var valcheck = require('core-util-is'); diff --git a/etc/test-setup.js b/etc/test-setup.js index 6885b210..7bf1265f 100644 --- a/etc/test-setup.js +++ b/etc/test-setup.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const fs = require('fs'); const valcheck = require('core-util-is'); diff --git a/etc/test-teardown-dmsdk-qa.js b/etc/test-teardown-dmsdk-qa.js index c4aaf5f9..f8c5718b 100644 --- a/etc/test-teardown-dmsdk-qa.js +++ b/etc/test-teardown-dmsdk-qa.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../lib/marklogic.js'); diff --git a/etc/test-teardown-nodeOpticFunctionalTest.js b/etc/test-teardown-nodeOpticFunctionalTest.js index c4aaf5f9..f8c5718b 100644 --- a/etc/test-teardown-nodeOpticFunctionalTest.js +++ b/etc/test-teardown-nodeOpticFunctionalTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../lib/marklogic.js'); diff --git a/etc/test-teardown-qa.js b/etc/test-teardown-qa.js index d70094ab..b9ba184b 100644 --- a/etc/test-teardown-qa.js +++ b/etc/test-teardown-qa.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../lib/marklogic.js'); diff --git a/etc/test-teardown.js b/etc/test-teardown.js index 4b1445f6..f4d68da1 100644 --- a/etc/test-teardown.js +++ b/etc/test-teardown.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../lib/marklogic.js'); diff --git a/etc/users-setup.js b/etc/users-setup.js index 9102836b..c5f027f5 100644 --- a/etc/users-setup.js +++ b/etc/users-setup.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var valcheck = require('core-util-is'); diff --git a/examples/all.js b/examples/all.js index d9a8c768..60610059 100644 --- a/examples/all.js +++ b/examples/all.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var fs = require('fs'); diff --git a/examples/before-load.js b/examples/before-load.js index 2c572c27..5c9bd248 100644 --- a/examples/before-load.js +++ b/examples/before-load.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var fs = require('fs'); diff --git a/examples/example-util.js b/examples/example-util.js index 29744d05..8f496c43 100644 --- a/examples/example-util.js +++ b/examples/example-util.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var fs = require('fs'); diff --git a/examples/optimistic-locking.js b/examples/optimistic-locking.js index 5488e9cd..cd740fc0 100644 --- a/examples/optimistic-locking.js +++ b/examples/optimistic-locking.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/patch-document.js b/examples/patch-document.js index 4a04be58..2fe02c7e 100644 --- a/examples/patch-document.js +++ b/examples/patch-document.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/probe-document.js b/examples/probe-document.js index bec3b807..da7abc95 100644 --- a/examples/probe-document.js +++ b/examples/probe-document.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/progress-cloud-connection.js b/examples/progress-cloud-connection.js index 11931ca6..702792b9 100644 --- a/examples/progress-cloud-connection.js +++ b/examples/progress-cloud-connection.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ /* This file provides an example for the users to help them connect to Progress cloud using the apiKey and host diff --git a/examples/query-builder.js b/examples/query-builder.js index 0e01af25..2fb36386 100644 --- a/examples/query-builder.js +++ b/examples/query-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/query-by-example.js b/examples/query-by-example.js index 65f62790..fa4bc70c 100644 --- a/examples/query-by-example.js +++ b/examples/query-by-example.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/query-extract.js b/examples/query-extract.js index eab1ca97..803c70bc 100644 --- a/examples/query-extract.js +++ b/examples/query-extract.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/query-parser.js b/examples/query-parser.js index 255b2b66..5a5bd112 100644 --- a/examples/query-parser.js +++ b/examples/query-parser.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/queryAll-documents.js b/examples/queryAll-documents.js index a4b2be89..1653e408 100644 --- a/examples/queryAll-documents.js +++ b/examples/queryAll-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ let exutil = require('./example-util.js'); diff --git a/examples/queryAll-rows.js b/examples/queryAll-rows.js index bca00f36..6a1275c7 100644 --- a/examples/queryAll-rows.js +++ b/examples/queryAll-rows.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/queryToReadAll-documents.js b/examples/queryToReadAll-documents.js index 59d9352c..64ca8cc4 100644 --- a/examples/queryToReadAll-documents.js +++ b/examples/queryToReadAll-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/queryToRemoveAll-documents.js b/examples/queryToRemoveAll-documents.js index af732cac..960e29e6 100644 --- a/examples/queryToRemoveAll-documents.js +++ b/examples/queryToRemoveAll-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/queryToTransformAll-documents.js b/examples/queryToTransformAll-documents.js index 51daf319..3df43f00 100644 --- a/examples/queryToTransformAll-documents.js +++ b/examples/queryToTransformAll-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/read-documents.js b/examples/read-documents.js index 3f2f3f3a..380a1e6e 100644 --- a/examples/read-documents.js +++ b/examples/read-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/read-metadata.js b/examples/read-metadata.js index 663f40dd..203b739b 100644 --- a/examples/read-metadata.js +++ b/examples/read-metadata.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/read-rows.js b/examples/read-rows.js index 6ff3c4e4..0f6b3666 100644 --- a/examples/read-rows.js +++ b/examples/read-rows.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/read-stream.js b/examples/read-stream.js index 31c98a87..9b9fba12 100644 --- a/examples/read-stream.js +++ b/examples/read-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/readAll-documents.js b/examples/readAll-documents.js index 38dc5b7f..011c8ac8 100644 --- a/examples/readAll-documents.js +++ b/examples/readAll-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ let exutil = require('./example-util.js'); diff --git a/examples/removeAllUris-documents.js b/examples/removeAllUris-documents.js index 7889ee66..2e728351 100644 --- a/examples/removeAllUris-documents.js +++ b/examples/removeAllUris-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/setup.js b/examples/setup.js index 41666eda..2102a83b 100644 --- a/examples/setup.js +++ b/examples/setup.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var fs = require('fs'); diff --git a/examples/transform-on-client.js b/examples/transform-on-client.js index 22f935b0..97acc00a 100644 --- a/examples/transform-on-client.js +++ b/examples/transform-on-client.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/transformAll-documents.js b/examples/transformAll-documents.js index 41308825..b5750b7e 100644 --- a/examples/transformAll-documents.js +++ b/examples/transformAll-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/unnest-function.js b/examples/unnest-function.js index 913abddb..c6e6dd69 100644 --- a/examples/unnest-function.js +++ b/examples/unnest-function.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const exutil = require('./example-util.js'); diff --git a/examples/write-remove.js b/examples/write-remove.js index 841e3d52..079b5cf2 100644 --- a/examples/write-remove.js +++ b/examples/write-remove.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var exutil = require('./example-util.js'); diff --git a/examples/write-stream.js b/examples/write-stream.js index 933f1e6b..956b9893 100644 --- a/examples/write-stream.js +++ b/examples/write-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var fs = require('fs'); diff --git a/examples/writeAll-documents.js b/examples/writeAll-documents.js index 7a390c04..4529f1d6 100644 --- a/examples/writeAll-documents.js +++ b/examples/writeAll-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ let exutil = require('./example-util.js'); diff --git a/gulpfile.js b/gulpfile.js index 5c354cfd..ac3ec460 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const path = require('path'); const gulp = require('gulp'); diff --git a/lib/basic-loader.js b/lib/basic-loader.js index e652bf7a..f37573be 100644 --- a/lib/basic-loader.js +++ b/lib/basic-loader.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/ctsquery-builder.js b/lib/ctsquery-builder.js index 22c42279..583f614a 100644 --- a/lib/ctsquery-builder.js +++ b/lib/ctsquery-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/documents.js b/lib/documents.js index b7df7538..12f05121 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/endpoint-proxy.js b/lib/endpoint-proxy.js index 22f57fbf..36afb095 100644 --- a/lib/endpoint-proxy.js +++ b/lib/endpoint-proxy.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/endpointDeclarationValidator.js b/lib/endpointDeclarationValidator.js index c9ea815a..e4db59c5 100644 --- a/lib/endpointDeclarationValidator.js +++ b/lib/endpointDeclarationValidator.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/extlibs.js b/lib/extlibs.js index 95a86c85..a3f03385 100644 --- a/lib/extlibs.js +++ b/lib/extlibs.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/graphs.js b/lib/graphs.js index b6089588..2c5489d3 100644 --- a/lib/graphs.js +++ b/lib/graphs.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/internal.js b/lib/internal.js index 883b0fdf..73e60761 100644 --- a/lib/internal.js +++ b/lib/internal.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; @@ -25,7 +25,7 @@ class InternalClass { if (!operation.validStatusCodes) { operation.validStatusCodes = [200, 201, 204, 404]; } - + return requester.startRequest(operation); } } diff --git a/lib/marklogic.js b/lib/marklogic.js index 1090ebaf..e967f703 100644 --- a/lib/marklogic.js +++ b/lib/marklogic.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var http = require('http'); diff --git a/lib/mllog.js b/lib/mllog.js index 317c020a..e1fd65f1 100644 --- a/lib/mllog.js +++ b/lib/mllog.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var util = require('util'); diff --git a/lib/mlutil.js b/lib/mlutil.js index 3184a345..5ce86785 100644 --- a/lib/mlutil.js +++ b/lib/mlutil.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var util = require("util"); diff --git a/lib/operation.js b/lib/operation.js index b2e1c324..c5327f95 100644 --- a/lib/operation.js +++ b/lib/operation.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/optional.js b/lib/optional.js index b48f7a1a..2c66000e 100644 --- a/lib/optional.js +++ b/lib/optional.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/patch-builder.js b/lib/patch-builder.js index 1fadc157..207c9533 100644 --- a/lib/patch-builder.js +++ b/lib/patch-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; @@ -142,7 +142,7 @@ function insert() { * Specifies a library supplying functions to apply to existing content * to produce the replacement content as part of * {@link patchBuilder#replace} or {@link patchBuilder#replaceInsert} operations. - * The library must be installed as /ext/marklogic/patch/apply/MODULE_NAME.xqy + * The library must be installed as /ext/marklogic/patch/apply/MODULE_NAME.xqy * or /ext/marklogic/patch/apply/MODULE_NAME.sjs and must have the * http://marklogic.com/patch/apply/MODULE_NAME namespace if the library has .xqy extension. * @method diff --git a/lib/plan-builder-base.js b/lib/plan-builder-base.js index 59c17b04..664f4360 100644 --- a/lib/plan-builder-base.js +++ b/lib/plan-builder-base.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/plan-builder-generated.js b/lib/plan-builder-generated.js index d413945b..41b96764 100755 --- a/lib/plan-builder-generated.js +++ b/lib/plan-builder-generated.js @@ -1,14 +1,14 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; -/* -The contents of this file are mostly an output of the Optic code generator. -But some parts have been manually modified. So care needs to be taken when +/* +The contents of this file are mostly an output of the Optic code generator. +But some parts have been manually modified. So care needs to be taken when running the code generator to not lose any manual modifications, each of -which should either be commented or should be obvious, such as changes in -version numbers for "since" annotations. +which should either be commented or should be obvious, such as changes in +version numbers for "since" annotations. */ const types = require('./server-types-generated.js'); @@ -52,7 +52,7 @@ andNotQuery(...args) { * @method planBuilder.cts#andQuery * @since 2.1.1 * @param { CtsQuery } [queries] - A sequence of sub-queries. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "ordered" An ordered and-query, which specifies that the sub-query matches must occur in the order of the specified sub-queries. For example, if the sub-queries are "cat" and "dog", an ordered query will only match fragments where both "cat" and "dog" occur, and where "cat" comes before "dog" in the fragment. "unordered" An unordered and-query, which specifies that the sub-query matches can occur in any order. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "ordered" An ordered and-query, which specifies that the sub-query matches must occur in the order of the specified sub-queries. For example, if the sub-queries are "cat" and "dog", an ordered query will only match fragments where both "cat" and "dog" occur, and where "cat" comes before "dog" in the fragment. "unordered" An unordered and-query, which specifies that the sub-query matches can occur in any order. * @returns { CtsQuery } */ andQuery(...args) { @@ -217,7 +217,7 @@ collectionQuery(...args) { * Creates a reference to the collection lexicon, for use as a parameter to cts:value-tuples. Since lexicons are implemented with range indexes, this function will throw an exception if the specified range index does not exist. Provides a client interface to a server function. See {@link http://docs.marklogic.com/cts.collectionReference|cts.collectionReference} * @method planBuilder.cts#collectionReference * @since 2.1.1 - * @param { XsString } [options] - Options. The default is (). Options include: "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Do not check the definition against the context database. + * @param { XsString } [options] - Options. The default is (). Options include: "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Do not check the definition against the context database. * @returns { CtsReference } */ collectionReference(...args) { @@ -233,8 +233,8 @@ collectionReference(...args) { * @param { XsString } [view] - The TDE view name. * @param { XsString } [column] - The TDE column name. * @param { XsAnyAtomicType } [value] - One or more values used for querying. - * @param { XsString } [operator] - Operator for the $value values. The default operator is "=". Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. + * @param { XsString } [operator] - Operator for the $value values. The default operator is "=". Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -354,7 +354,7 @@ documentRootQuery(...args) { * @param { XsQName } [latitudeName] - One or more latitude attribute QNames to match. When multiple QNames are specified, the query matches if any QName matches; however, only the first matching latitude attribute in any point instance will be checked. * @param { XsQName } [longitudeName] - One or more longitude attribute QNames to match. When multiple QNames are specified, the query matches if any QName matches; however, only the first matching longitude attribute in any point instance will be checked. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -373,9 +373,9 @@ elementAttributePairGeospatialQuery(...args) { * @since 2.1.1 * @param { XsQName } [elementName] - One or more element QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsQName } [attributeName] - One or more attribute QNames to match. When multiple QNames are specified, the query matches if any QName matches. - * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. * @param { XsAnyAtomicType } [value] - Some values to match. When multiple values are specified, the query matches if any value matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -394,7 +394,7 @@ elementAttributeRangeQuery(...args) { * @since 2.1.1 * @param { XsQName } [element] - An element QName. * @param { XsQName } [attribute] - An attribute QName. - * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. + * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. * @returns { CtsReference } */ elementAttributeReference(...args) { @@ -433,7 +433,7 @@ elementAttributeValueQuery(...args) { * @param { XsQName } [elementName] - One or more element QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsQName } [attributeName] - One or more attribute QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsString } [text] - Some words or phrases to match. When multiple strings are specified, the query matches if any string matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. * "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. * "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -453,7 +453,7 @@ elementAttributeWordQuery(...args) { * @param { XsQName } [elementName] - One or more parent element QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsQName } [childName] - One or more child element QNames to match. When multiple QNames are specified, the query matches if any QName matches; however, only the first matching latitude child in any point instance will be checked. The element must specify both latitude and longitude coordinates. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -472,7 +472,7 @@ elementChildGeospatialQuery(...args) { * @since 2.1.1 * @param { XsQName } [elementName] - One or more element QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -493,7 +493,7 @@ elementGeospatialQuery(...args) { * @param { XsQName } [latitudeName] - One or more latitude element QNames to match. When multiple QNames are specified, the query matches if any QName matches; however, only the first matching latitude child in any point instance will be checked. * @param { XsQName } [longitudeName] - One or more longitude element QNames to match. When multiple QNames are specified, the query matches if any QName matches; however, only the first matching longitude child in any point instance will be checked. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -528,9 +528,9 @@ elementQuery(...args) { * @method planBuilder.cts#elementRangeQuery * @since 2.1.1 * @param { XsQName } [elementName] - One or more element QNames to match. When multiple QNames are specified, the query matches if any QName matches. - * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. * @param { XsAnyAtomicType } [value] - One or more element values to match. When multiple values are specified, the query matches if any value matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -548,7 +548,7 @@ elementRangeQuery(...args) { * @method planBuilder.cts#elementReference * @since 2.1.1 * @param { XsQName } [element] - An element QName. - * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. + * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. * @returns { CtsReference } */ elementReference(...args) { @@ -614,9 +614,9 @@ falseQuery(...args) { * @method planBuilder.cts#fieldRangeQuery * @since 2.1.1 * @param { XsString } [fieldName] - One or more field names to match. When multiple field names are specified, the query matches if any field name matches. - * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. * @param { XsAnyAtomicType } [value] - One or more field values to match. When multiple values are specified, the query matches if any value matches. The value must be a type for which there is a range index defined. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -634,7 +634,7 @@ fieldRangeQuery(...args) { * @method planBuilder.cts#fieldReference * @since 2.1.1 * @param { XsString } [field] - A field name. - * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. + * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. * @returns { CtsReference } */ fieldReference(...args) { @@ -652,7 +652,7 @@ fieldReference(...args) { * @since 2.1.1 * @param { XsString } [fieldName] - One or more field names to search over. If multiple field names are supplied, the match can be in any of the specified fields (or-query semantics). * @param { XsAnyAtomicType } [text] - The values to match. If multiple values are specified, the query matches if any of the values match (or-query semantics). For XML and metadata, the values should be strings. For JSON, the values can be strings, numbers or booleans to match correspondingly typed nodes. To match null, pass in the empty sequence. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple or score-random (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple or score-random (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -671,7 +671,7 @@ fieldValueQuery(...args) { * @since 2.1.1 * @param { XsString } [fieldName] - One or more field names to search over. If multiple field names are supplied, the match can be in any of the specified fields (or-query semantics). * @param { XsString } [text] - The word or phrase to match. If multiple strings are specified, the query matches if any of the words or phrases match (or-query semantics). - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -689,7 +689,7 @@ fieldWordQuery(...args) { * @method planBuilder.cts#geospatialPathReference * @since 2.1.1 * @param { XsString } [pathExpression] - A path expression. - * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (point or long-lat-point) "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type and coordinate-system info only from the input. Do not check the definition against the context database. + * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (point or long-lat-point) "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type and coordinate-system info only from the input. Do not check the definition against the context database. * @param { MapMap } [map] - A map of namespace bindings. The keys should be namespace prefixes and the values should be namespace URIs. These namespace bindings will be added to the in-scope namespace bindings in the interpretation of the path. * @returns { CtsReference } */ @@ -707,7 +707,7 @@ geospatialPathReference(...args) { * @method planBuilder.cts#geospatialRegionPathReference * @since 2.1.1 * @param { XsString } [pathExpression] - The XPath expression specified in the index configuration. - * @param { XsString } [options] - Index configuration options. The default is (). These options should match the configuration used when creating the index. Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float (default) and double. "unchecked" Read the coordinate-system info only from the input. Do not check the definition against the context database. + * @param { XsString } [options] - Index configuration options. The default is (). These options should match the configuration used when creating the index. Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float (default) and double. "unchecked" Read the coordinate-system info only from the input. Do not check the definition against the context database. * @param { MapMap } [namespaces] - A map of namespace bindings. The keys should be namespace prefixes and the values should be namespace URIs. These namespace bindings will be added to the in-scope namespace bindings in the interpretation of the path. * @param { XsInteger } [geohashPrecision] - The geohash precision specified in the index configuration. Values between 1 and 12 inclusive are possible. * @param { XsString } [units] - The units specified in the index configuration. 'miles', 'km', 'feet', and 'meters' are valid. @@ -730,7 +730,7 @@ geospatialRegionPathReference(...args) { * @param { CtsReference } [reference] - Zero or more geospatial path region index references that identify regions in your content. To create a reference, see cts:geospatial-region-path-reference. * @param { XsString } [operation] - The match operation to apply between the regions specified in the $geospatial-region-reference parameter and the regions in the $regions parameter. Allowed values: contains, covered-by, covers, disjoint, intersects, overlaps, within, equals, touches, crosses. See the Usage Notes for details. * @param { CtsRegion } [region] - Criteria regions to match against the regions specified in the $geospatial-region-reference parameter. These regions function as the right operand of $operation. - * @param { XsString } [options] - Options to this query. The default is (). Available options: "units=value" Measure distances and the radii of circles using the given units. Allowed values: miles (default), km, feet, and meters. This option only affects regions provided in the $regions parameter, not regions stored in documents. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this query. The default is (). Available options: "units=value" Measure distances and the radii of circles using the given units. Allowed values: miles (default), km, feet, and meters. This option only affects regions provided in the $regions parameter, not regions stored in documents. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -761,7 +761,7 @@ iriReference(...args) { * @param { XsString } [propertyName] - One or more parent property names to match. When multiple names are specified, the query matches if any name matches. * @param { XsString } [childName] - One or more child property names to match. When multiple names are specified, the query matches if any name matches; however, only the first matching latitude child in any point instance will be checked. The property must specify both latitude and longitude coordinates. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -780,7 +780,7 @@ jsonPropertyChildGeospatialQuery(...args) { * @since 2.1.1 * @param { XsString } [propertyName] - One or more json property names to match. When multiple names are specified, the query matches if any name matches. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -801,7 +801,7 @@ jsonPropertyGeospatialQuery(...args) { * @param { XsString } [latitudeName] - One or more latitude property names to match. When multiple names are specified, the query matches if any name matches; however, only the first matching latitude child in any point instance will be checked. * @param { XsString } [longitudeName] - One or more longitude property names to match. When multiple names are specified, the query matches if any name matches; however, only the first matching longitude child in any point instance will be checked. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -819,9 +819,9 @@ jsonPropertyPairGeospatialQuery(...args) { * @method planBuilder.cts#jsonPropertyRangeQuery * @since 2.1.1 * @param { XsString } [propertyName] - One or more property name to match. When multiple names are specified, the query matches if any name matches. - * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. * @param { XsAnyAtomicType } [value] - One or more property values to match. When multiple values are specified, the query matches if any value matches. The value must be a type for which there is a range index defined. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -839,7 +839,7 @@ jsonPropertyRangeQuery(...args) { * @method planBuilder.cts#jsonPropertyReference * @since 2.1.1 * @param { XsString } [property] - A property name. - * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. + * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. * @returns { CtsReference } */ jsonPropertyReference(...args) { @@ -936,7 +936,7 @@ locksFragmentQuery(...args) { * @since 2.1.1 * @param { XsString } [temporalCollection] - The name of the temporal collection. * @param { XsDateTime } [timestamp] - Return only temporal documents with a system start time less than or equal to this value. Default is temporal:get-lsqt($temporal-collection). Timestamps larger than LSQT are rejected. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" Break down the query into sub-queries and then cache each one of them for better performance. This is enabled, by default. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" Break down the query into sub-queries and then cache each one of them for better performance. This is enabled, by default. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -955,7 +955,7 @@ lsqtQuery(...args) { * @since 2.1.1 * @param { CtsQuery } [queries] - A sequence of queries to match. * @param { XsDouble } [distance] - A distance, in number of words, between any two matching queries. The results match if two queries match and the distance between the two matches is equal to or less than the specified distance. A distance of 0 matches when the text is the exact same text or when there is overlapping text (see the third example below). A negative distance is treated as 0. The default value is 10. - * @param { XsString } [options] - Options to this query. The default value is (). Options include: "ordered" Any near-query matches must occur in the order of the specified sub-queries. "unordered" Any near-query matches will satisfy the query, regardless of the order they were specified. "minimum-distance" The minimum distance between two matching queries. The results match if the two queries match and the minimum distance between the two matches is greater than or equal to the specified minimum distance. The default value is zero. A negative distance is treated as 0. + * @param { XsString } [options] - Options to this query. The default value is (). Options include: "ordered" Any near-query matches must occur in the order of the specified sub-queries. "unordered" Any near-query matches will satisfy the query, regardless of the order they were specified. "minimum-distance" The minimum distance between two matching queries. The results match if the two queries match and the minimum distance between the two matches is greater than or equal to the specified minimum distance. The default value is zero. A negative distance is treated as 0. * @param { XsDouble } [weight] - A weight attributed to the distance for this query. Higher weights add to the importance of distance (as opposed to term matches) when the relevance order is calculated. The default value is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. This parameter has no effect if the word positions index is not enabled. * @returns { CtsQuery } */ @@ -1002,7 +1002,7 @@ notQuery(...args) { * @method planBuilder.cts#orQuery * @since 2.1.1 * @param { CtsQuery } [queries] - A sequence of sub-queries. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "synonym" Specifies that all of the terms in the $queries parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "synonym" Specifies that all of the terms in the $queries parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @returns { CtsQuery } */ orQuery(...args) { @@ -1032,7 +1032,7 @@ partOfSpeech(...args) { * @since 2.1.1 * @param { XsString } [pathExpression] - One or more path expressions to match. When multiple path expressions are specified, the query matches if any path expression matches. * @param { CtsRegion } [region] - One or more geographic boxes, circles, polygons, or points. Where multiple regions are specified, the query matches if any region matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "type=long-lat-point" Specifies the format for the point in the data as longitude first, latitude second. "type=point" Specifies the format for the point in the data as latitude first, longitude second. This is the default format. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $regions parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrence of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -1050,9 +1050,9 @@ pathGeospatialQuery(...args) { * @method planBuilder.cts#pathRangeQuery * @since 2.1.1 * @param { XsString } [pathName] - One or more XPath expressions that identify the content to match. When multiple paths are specified, the query matches if any path matches. - * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. * @param { XsAnyAtomicType } [value] - One or more values to match. These values are compared to the value(s) addressed by the path-expression parameter. When multiple When multiple values are specified, the query matches if any value matches. The value must be a type for which there is a range index defined. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "collation=URI" Use the range index with the collation specified by URI. If not specified, then the default collation from the query is used. If a range index with the specified collation does not exist, an error is thrown. "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "cached-incremental" When querying on a short date or dateTime range, break the query into sub-queries on smaller ranges, and then cache the results of each. See the Usage Notes for details. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -1070,7 +1070,7 @@ pathRangeQuery(...args) { * @method planBuilder.cts#pathReference * @since 2.1.1 * @param { XsString } [pathExpression] - A path range index expression. - * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. + * @param { XsString } [options] - Options. The default is (). Options include: "type=type" Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point) "collation=URI" Use the lexicon with the collation specified by URI. "nullable" Allow null values in tuples reported from cts:value-tuples when using this lexicon. "unchecked" Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database. "coordinate-system=name" Create a reference to an index or lexicon based on the specified coordinate system. Allowed values: "wgs84", "wgs84/double", "raw", "raw/double". Only applicable if the index/lexicon value type is point or long-lat-point. "precision=value" Create a reference to an index or lexicon configured with the specified geospatial precision. Allowed values: float and double. Only applicable if the index/lexicon value type is point or long-lat-point. This value takes precedence over the precision implicit in the coordinate system name. * @param { MapMap } [map] - A map of namespace bindings. The keys should be namespace prefixes and the values should be namespace URIs. These namespace bindings will be added to the in-scope namespace bindings in the interpretation of the path. * @returns { CtsReference } */ @@ -1105,9 +1105,9 @@ period(...args) { * @method planBuilder.cts#periodCompareQuery * @since 2.1.1 * @param { XsString } [axis1] - Name of the first axis to compare - * @param { XsString } [operator] - A comparison operator. Period is the two timestamps contained in the axis. Operators include: "aln_equals" Match documents whose period1 equals period2. "aln_contains" Match documents whose period1 contains period2. i.e. period1 starts before period2 starts and ends before period2 ends. "aln_contained_by" Match documents whose period1 is contained by period2. "aln_meets" Match documents whose period1 meets period2, i.e. period1 ends at period2 start. "aln_met_by" Match documents whose period1 meets period2, i.e. period1 starts at period2 end. "aln_before" Match documents whose period1 is before period2, i.e. period1 ends before period2 starts. "aln_after" Match documents whose period1 is after period2, i.e. period1 starts after period2 ends. "aln_starts" Match documents whose period1 starts period2, i.e. period1 starts at period2 start and ends before period2 ends. "aln_started_by" Match documents whose period2 starts period1, i.e. period1 starts at period2 start and ends after period2 ends. "aln_finishes" Match documents whose period1 finishes period2, i.e. period1 finishes at period2 finish and starts after period2 starts. "aln_finished_by" Match documents whose period2 finishes period1, i.e. period1 finishes at period2 finish and starts before period2 starts. "aln_overlaps" Match documents whose period1 overlaps period2, i.e. period1 starts before period2 start and ends before period2 ends but after period2 starts. "aln_overlapped_by" Match documents whose period2 overlaps period1, i.e. period1 starts after period2 start but before period2 ends and ends after period2 ends. "iso_contains" Match documents whose period1 contains period2 in sql 2011 standard. i.e. period1 starts before or at period2 starts and ends after or at period2 ends. "iso_overlaps" Match documents whose period1 overlaps period2 in sql 2011 standard. i.e. period1 and period2 have common time period. "iso_succeeds" Match documents whose period1 succeeds period2 in sql 2011 standard. i.e. period1 starts at or after period2 ends "iso_precedes" Match documents whose period1 precedes period2 in sql 2011 standard. i.e. period1 ends at or before period2 ends "iso_succeeds" Match documents whose period1 succeeds period2 in sql 2011 standard. i.e. period1 starts at or after period2 ends "iso_precedes" Match documents whose period1 precedes period2 in sql 2011 standard. i.e. period1 ends at or before period2 ends "iso_imm_succeeds" Match documents whose period1 immediately succeeds period2 in sql 2011 standard. i.e. period1 starts at period2 ends "iso_imm_precedes" Match documents whose period1 immediately precedes period2 in sql 2011 standard. i.e. period1 ends at period2 ends + * @param { XsString } [operator] - A comparison operator. Period is the two timestamps contained in the axis. Operators include: "aln_equals" Match documents whose period1 equals period2. "aln_contains" Match documents whose period1 contains period2. i.e. period1 starts before period2 starts and ends before period2 ends. "aln_contained_by" Match documents whose period1 is contained by period2. "aln_meets" Match documents whose period1 meets period2, i.e. period1 ends at period2 start. "aln_met_by" Match documents whose period1 meets period2, i.e. period1 starts at period2 end. "aln_before" Match documents whose period1 is before period2, i.e. period1 ends before period2 starts. "aln_after" Match documents whose period1 is after period2, i.e. period1 starts after period2 ends. "aln_starts" Match documents whose period1 starts period2, i.e. period1 starts at period2 start and ends before period2 ends. "aln_started_by" Match documents whose period2 starts period1, i.e. period1 starts at period2 start and ends after period2 ends. "aln_finishes" Match documents whose period1 finishes period2, i.e. period1 finishes at period2 finish and starts after period2 starts. "aln_finished_by" Match documents whose period2 finishes period1, i.e. period1 finishes at period2 finish and starts before period2 starts. "aln_overlaps" Match documents whose period1 overlaps period2, i.e. period1 starts before period2 start and ends before period2 ends but after period2 starts. "aln_overlapped_by" Match documents whose period2 overlaps period1, i.e. period1 starts after period2 start but before period2 ends and ends after period2 ends. "iso_contains" Match documents whose period1 contains period2 in sql 2011 standard. i.e. period1 starts before or at period2 starts and ends after or at period2 ends. "iso_overlaps" Match documents whose period1 overlaps period2 in sql 2011 standard. i.e. period1 and period2 have common time period. "iso_succeeds" Match documents whose period1 succeeds period2 in sql 2011 standard. i.e. period1 starts at or after period2 ends "iso_precedes" Match documents whose period1 precedes period2 in sql 2011 standard. i.e. period1 ends at or before period2 ends "iso_succeeds" Match documents whose period1 succeeds period2 in sql 2011 standard. i.e. period1 starts at or after period2 ends "iso_precedes" Match documents whose period1 precedes period2 in sql 2011 standard. i.e. period1 ends at or before period2 ends "iso_imm_succeeds" Match documents whose period1 immediately succeeds period2 in sql 2011 standard. i.e. period1 starts at period2 ends "iso_imm_precedes" Match documents whose period1 immediately precedes period2 in sql 2011 standard. i.e. period1 ends at period2 ends * @param { XsString } [axis2] - Name of the second period to compare - * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. * @returns { CtsQuery } */ periodCompareQuery(...args) { @@ -1124,9 +1124,9 @@ periodCompareQuery(...args) { * @method planBuilder.cts#periodRangeQuery * @since 2.1.1 * @param { XsString } [axis] - One or more axis to match on. - * @param { XsString } [operator] - A comparison operator. Operators include: "aln_equals" Match documents whose period1 equals value. "aln_contains" Match documents whose period1 contains value. i.e. period1 starts before value starts and ends before value ends. "aln_contained_by" Match documents whose period1 is contained by value. "aln_meets" Match documents whose period1 meets value, i.e. period1 ends at value start. "aln_met_by" Match documents whose period1 meets value, i.e. period1 starts at value end. "aln_before" Match documents whose period1 is before value, i.e. period1 ends before value starts. "aln_after" Match documents whose period1 is after value, i.e. period1 starts after value ends. "aln_starts" Match documents whose period1 starts value, i.e. period1 starts at value start and ends before value ends. "aln_started_by" Match documents whose value starts period1, i.e. period1 starts at value start and ends after value ends. "aln_finishes" Match documents whose period1 finishes value, i.e. period1 finishes at value finish and starts after value starts. "aln_finished_by" Match documents whose value finishes period1, i.e. period1 finishes at value finish and starts before value starts. "aln_overlaps" Match documents whose period1 overlaps value, i.e. period1 starts before value start and ends before value ends but after value starts. "aln_overlapped_by" Match documents whose value overlaps period1, i.e. period1 starts after value start but before value ends and ends after value ends. "iso_contains" Match documents whose period1 contains value in sql 2011 standard. i.e. period1 starts before or at value starts and ends after or at value ends. "iso_overlaps" Match documents whose period1 overlaps value in sql 2011 standard. i.e. period1 and value have common time period. "iso_succeeds" Match documents whose period1 succeeds value in sql 2011 standard. i.e. period1 starts at or after value ends "iso_precedes" Match documents whose period1 precedes value in sql 2011 standard. i.e. period1 ends at or before value ends "iso_imm_succeeds" Match documents whose period1 immediately succeeds value in sql 2011 standard. i.e. period1 starts at value end "iso_imm_precedes" Match documents whose period1 immediately precedes value in sql 2011 standard. i.e. period1 ends at value end + * @param { XsString } [operator] - A comparison operator. Operators include: "aln_equals" Match documents whose period1 equals value. "aln_contains" Match documents whose period1 contains value. i.e. period1 starts before value starts and ends before value ends. "aln_contained_by" Match documents whose period1 is contained by value. "aln_meets" Match documents whose period1 meets value, i.e. period1 ends at value start. "aln_met_by" Match documents whose period1 meets value, i.e. period1 starts at value end. "aln_before" Match documents whose period1 is before value, i.e. period1 ends before value starts. "aln_after" Match documents whose period1 is after value, i.e. period1 starts after value ends. "aln_starts" Match documents whose period1 starts value, i.e. period1 starts at value start and ends before value ends. "aln_started_by" Match documents whose value starts period1, i.e. period1 starts at value start and ends after value ends. "aln_finishes" Match documents whose period1 finishes value, i.e. period1 finishes at value finish and starts after value starts. "aln_finished_by" Match documents whose value finishes period1, i.e. period1 finishes at value finish and starts before value starts. "aln_overlaps" Match documents whose period1 overlaps value, i.e. period1 starts before value start and ends before value ends but after value starts. "aln_overlapped_by" Match documents whose value overlaps period1, i.e. period1 starts after value start but before value ends and ends after value ends. "iso_contains" Match documents whose period1 contains value in sql 2011 standard. i.e. period1 starts before or at value starts and ends after or at value ends. "iso_overlaps" Match documents whose period1 overlaps value in sql 2011 standard. i.e. period1 and value have common time period. "iso_succeeds" Match documents whose period1 succeeds value in sql 2011 standard. i.e. period1 starts at or after value ends "iso_precedes" Match documents whose period1 precedes value in sql 2011 standard. i.e. period1 ends at or before value ends "iso_imm_succeeds" Match documents whose period1 immediately succeeds value in sql 2011 standard. i.e. period1 starts at value end "iso_imm_precedes" Match documents whose period1 immediately precedes value in sql 2011 standard. i.e. period1 ends at value end * @param { CtsPeriod } [period] - the cts:period to perform operations on. When multiple values are specified, the query matches if any value matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. * @returns { CtsQuery } */ periodRangeQuery(...args) { @@ -1210,9 +1210,9 @@ propertiesFragmentQuery(...args) { * @method planBuilder.cts#rangeQuery * @since 2.1.1 * @param { CtsReference } [index] - One or more range index references. When multiple indexes are specified, the query matches if any index matches. - * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [operator] - A comparison operator. Operators include: "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. * @param { XsAnyAtomicType } [value] - One or more values to match. When multiple values are specified, the query matches if any value matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). + * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. "synonym" Specifies that all of the terms in the $value parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -1268,8 +1268,8 @@ tokenize(...args) { * @param { XsAnyAtomicType } [subject] - The subjects to look up. When multiple values are specified, the query matches if any value matches. When the empty sequence is specified, then triples with any subject are matched. * @param { XsAnyAtomicType } [predicate] - The predicates to look up. When multiple values are specified, the query matches if any value matches. When the empty sequence is specified, then triples with any predicate are matched. * @param { XsAnyAtomicType } [object] - The objects to look up. When multiple values are specified, the query matches if any value matches. When the empty sequence is specified, then triples with any object are matched. - * @param { XsString } [operator] - If a single string is provided it is treated as the operator for the $object values. If a sequence of three strings are provided, they give the operators for $subject, $predicate and $object in turn. The default operator is "=". Operators include: "sameTerm" Match triple index values which are the same RDF term as $value. This compares aspects of values that are ignored in XML Schema comparison semantics, like timezone and derived type of $value. "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. + * @param { XsString } [operator] - If a single string is provided it is treated as the operator for the $object values. If a sequence of three strings are provided, they give the operators for $subject, $predicate and $object in turn. The default operator is "=". Operators include: "sameTerm" Match triple index values which are the same RDF term as $value. This compares aspects of values that are ignored in XML Schema comparison semantics, like timezone and derived type of $value. "<" Match range index values less than $value. "<=" Match range index values less than or equal to $value. ">" Match range index values greater than $value. ">=" Match range index values greater than or equal to $value. "=" Match range index values equal to $value. "!=" Match range index values not equal to $value. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "cached" Cache the results of this query in the list cache. "uncached" Do not cache the results of this query in the list cache. "score-function=function" Use the selected scoring function. The score function may be: linearUse a linear function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. reciprocalUse a reciprocal function of the difference between the specified query value and the matching value in the index to calculate a score for this range query. zeroThis range query does not contribute to the score. This is the default. "slope-factor=number" Apply the given number as a scaling factor to the slope of the scoring function. The default is 1.0. * @param { XsDouble } [weight] - A weight for this query. The default is 1.0. * @returns { CtsQuery } */ @@ -2814,7 +2814,7 @@ class GeoExpr { * @method planBuilder.geo#approxCenter * @since 2.1.1 * @param { CtsRegion } [region] - A geospatial region. - * @param { XsString } [options] - Options. The default is (). Options include: "box-percent=n" An integer between 0 and 100 (default is 100) that indicates what percentage of a polygon's bounding box slivers should be used in constructing the approximate centroid. Lower numbers use fewer slivers, giving faster but less accurate results; larger numbers use more slivers, giving slower but more accurate results. "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" The precision use for this operation, including the interpretation of input values. Allowed values: float, double. Default: The precision of the governing coordinate system. + * @param { XsString } [options] - Options. The default is (). Options include: "box-percent=n" An integer between 0 and 100 (default is 100) that indicates what percentage of a polygon's bounding box slivers should be used in constructing the approximate centroid. Lower numbers use fewer slivers, giving faster but less accurate results; larger numbers use more slivers, giving slower but more accurate results. "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" The precision use for this operation, including the interpretation of input values. Allowed values: float, double. Default: The precision of the governing coordinate system. * @returns { CtsPoint } */ approxCenter(...args) { @@ -2834,7 +2834,7 @@ approxCenter(...args) { * @param { CtsPoint } [p2] - The ending point of the first arc. * @param { CtsPoint } [q1] - The starting point of the second arc. * @param { CtsPoint } [q2] - The ending point of the second arc. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { CtsPoint } */ arcIntersection(...args) { @@ -2852,7 +2852,7 @@ arcIntersection(...args) { * @since 2.1.1 * @param { CtsPoint } [p1] - The first point. * @param { CtsPoint } [p2] - The second point. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Unit of measure of the tolerance value. Valid values are miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Unit of measure of the tolerance value. Valid values are miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsDouble } */ bearing(...args) { @@ -2869,7 +2869,7 @@ bearing(...args) { * @method planBuilder.geo#boundingBoxes * @since 2.1.1 * @param { CtsRegion } [region] - A geographic region (box, circle, polygon, or point). - * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "box-percent=n" An integer between 0 and 100 (default is 100) that indicates what percentage of a polygon's bounding box slivers should be returned. Lower numbers give fewer, less accurate boxes; larger numbers give more, more accurate boxes. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. The bounding boxes will be padded to cover any points within tolerance of the region. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. The default value is 0 (no padding). "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "box-percent=n" An integer between 0 and 100 (default is 100) that indicates what percentage of a polygon's bounding box slivers should be returned. Lower numbers give fewer, less accurate boxes; larger numbers give more, more accurate boxes. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. The bounding boxes will be padded to cover any points within tolerance of the region. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. The default value is 0 (no padding). "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. * @returns { CtsBox } */ boundingBoxes(...args) { @@ -2887,7 +2887,7 @@ boundingBoxes(...args) { * @since 2.1.1 * @param { CtsBox } [box] - A geographic box. * @param { CtsRegion } [region] - One or more geographic regions (boxes, circles, polygons, or points). Where multiple regions are specified, return true if any region intersects the box. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. * @returns { XsBoolean } */ boxIntersects(...args) { @@ -2905,7 +2905,7 @@ boxIntersects(...args) { * @since 2.1.1 * @param { CtsCircle } [circle] - A geographic circle. * @param { CtsRegion } [region] - One or more geographic regions (boxes, circles, polygons, or points). Where multiple regions are specified, return true if any region intersects the target circle. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on boxes', circles', and polygons' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and polygons' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. * @returns { XsBoolean } */ circleIntersects(...args) { @@ -2923,7 +2923,7 @@ circleIntersects(...args) { * @since 2.1.1 * @param { CtsCircle } [circle] - A cts circle that defines the circle to be approximated. * @param { XsDouble } [arcTolerance] - How far the approximation can be from the actual circle, specified in the same units as the units option. Arc-tolerance should be greater than the value of the tolerance option. - * @param { XsString } [options] - Options with which you can customize this operation. The following options are available: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. Tolerance should be smaller than the value of the arc-tolerance parameter. + * @param { XsString } [options] - Options with which you can customize this operation. The following options are available: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. Tolerance should be smaller than the value of the arc-tolerance parameter. * @returns { CtsPolygon } */ circlePolygon(...args) { @@ -2941,7 +2941,7 @@ circlePolygon(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of contains. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of contains. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ contains(...args) { @@ -2958,7 +2958,7 @@ contains(...args) { * @method planBuilder.geo#countDistinctVertices * @since 2.1.1 * @param { CtsRegion } [region] - A cts region. - * @param { XsString } [options] - Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsInteger } */ countDistinctVertices(...args) { @@ -2988,7 +2988,7 @@ countVertices(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of covered-by. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of covered-by. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ coveredBy(...args) { @@ -3006,7 +3006,7 @@ coveredBy(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of covers. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of covers. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ covers(...args) { @@ -3024,7 +3024,7 @@ covers(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of crosses. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of crosses. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ crosses(...args) { @@ -3043,7 +3043,7 @@ crosses(...args) { * @param { CtsPoint } [p] - The starting point. * @param { XsDouble } [bearing] - The bearing, in radians. * @param { XsDouble } [distance] - The distance, in units. See the units option, below. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. * @returns { CtsPoint } */ destination(...args) { @@ -3061,7 +3061,7 @@ destination(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of disjoint. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of disjoint. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ disjoint(...args) { @@ -3079,7 +3079,7 @@ disjoint(...args) { * @since 2.1.1 * @param { CtsPoint } [p1] - The first point. * @param { CtsPoint } [p2] - The second point. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. * @returns { XsDouble } */ distance(...args) { @@ -3118,7 +3118,7 @@ distanceConvert(...args) { * @param { XsDouble } [semiMinorAxis] - The semi minor axis of the ellipse. The units are governed by the units option. * @param { XsDouble } [azimuth] - The azimuth. * @param { XsDouble } [arcTolerance] - How far the approximation can be from the actual ellipse, specified in the same units as the units option. Arc-tolerance should be greater than the value of the tolerance option, which defaults to 0.05km (0.3106856 miles). - * @param { XsString } [options] - Options with which to configure the behavior. Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, the axes of the ellipse, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options with which to configure the behavior. Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, the axes of the ellipse, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { CtsPolygon } */ ellipsePolygon(...args) { @@ -3136,7 +3136,7 @@ ellipsePolygon(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of equals. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of equals. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ equals(...args) { @@ -3178,7 +3178,7 @@ geohashDecodePoint(...args) { * @since 2.1.1 * @param { CtsRegion } [region] - The region to encode. * @param { XsInteger } [geohashPrecision] - The desired precision (length of the geohash). The precision should be between 1 and 12. If the precision is less than 1, or unspecified, the default geohash-precision of 6 is used. A geohash-precision greater than 12 is treated as the same as 12. In the worst case (at the equator) a precision of 12 gives resolution of less than a centimeter. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. Geohashing is not allowed for non-geodetic coordinate systems. Attempting to use this function with the raw or raw/double coordinate system will result in an XDMP-GEOHASH-COORD error. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. geohashes=value Specify which geohashes to return. Allowed values: all Return a complete set of covering hashes for the region (boundary + interior). This is the default behavior. boundary Return only geohashes that intersect with the boundary of the region. interior Return only geohashes completely contained in the interior of the region. exterior Return all geohashes disjoint from the region. That is, all geohashes completely contained in the exterior of the region. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. Geohashing is not allowed for non-geodetic coordinate systems. Attempting to use this function with the raw or raw/double coordinate system will result in an XDMP-GEOHASH-COORD error. "precision=string" Use the coordinate system at the given precision. Allowed values: float (default) and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. geohashes=value Specify which geohashes to return. Allowed values: all Return a complete set of covering hashes for the region (boundary + interior). This is the default behavior. boundary Return only geohashes that intersect with the boundary of the region. interior Return only geohashes completely contained in the interior of the region. exterior Return all geohashes disjoint from the region. That is, all geohashes completely contained in the exterior of the region. * @returns { XsString } */ geohashEncode(...args) { @@ -3236,7 +3236,7 @@ geohashSubhashes(...args) { * @method planBuilder.geo#interiorPoint * @since 2.1.1 * @param { CtsRegion } [region] - A cts region. - * @param { XsString } [options] - Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { CtsPoint } */ interiorPoint(...args) { @@ -3254,7 +3254,7 @@ interiorPoint(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of intersects. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of intersects. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ intersects(...args) { @@ -3272,7 +3272,7 @@ intersects(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of overlaps. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of overlaps. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ overlaps(...args) { @@ -3300,7 +3300,7 @@ parseWkt(...args) { * Perform an affine transformation on a geospatial region. The transformation is always applied in the raw coordinate system (Cartesian). Provides a client interface to a server function. See {@link http://docs.marklogic.com/geo.regionAffineTransform|geo.regionAffineTransform} * @method planBuilder.geo#regionAffineTransform * @since 2.1.1 - * @param { CtsRegion } [region] - + * @param { CtsRegion } [region] - * @param { MapMap } [transform] - A sequence of maps that specify the transformation to apply. Each map should contain at least one of the following transform specifications: translation Translate the points of the region by the given amount in the x and y coordinates. The value is a map with the following keys: txAmount to shift the points in the x direction. (Required.) tyAmount to shift the points in the y direction. (Required.) scaling Scale the points of the region by the given amount of the x and y coordinates. The value is a map with the following keys: sxAmount to scale the points in the x direction. (Required.) syAmount to scale the points in the y direction. (Required.) pscPoint to scale relative to. (Optional. Default is the origin.) rotation Rotate the points of the region by the given angle. The value is a map with the following keys: angleAmount to rotate the points (radians). (Required.) protPoint to rotate relative to. (Optional. Default is the origin.) shearing Shear the points of the region by the given amounts. The value is a map with the following keys: shxyAmount of shearing due to x in y direction. (Required.) shyxAmount of shearing due to y in x direction. (Required.) reflection Reflect the points of the region around a line or a point. The value is a map with the following keys: lineRLine of reflection. prefPoint to reflect points around. The value is a map with the following keys: startThe starting point of the line. endThe ending point of the line. Exactly of lineR or pref must be specified. If no transform specifications are provided, the points are transformed by the identity transform. That is, they remain unchanged. * @param { XsString } [options] - Geospatial options that affect the transformation. Currently there are no relevant options. * @returns { CtsRegion } @@ -3320,7 +3320,7 @@ regionAffineTransform(...args) { * @since 2.1.1 * @param { CtsRegion } [region] - A cts region. * @param { XsDouble } [threshold] - How close the approximation should be, in the units specified by the units option. - * @param { XsString } [options] - Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. Tolerance must be smaller than the value of the threshold parameter. + * @param { XsString } [options] - Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. Tolerance must be smaller than the value of the threshold parameter. * @returns { CtsRegion } */ regionApproximate(...args) { @@ -3337,7 +3337,7 @@ regionApproximate(...args) { * @method planBuilder.geo#regionClean * @since 2.1.1 * @param { CtsRegion } [region] - A cts region. - * @param { XsString } [options] - The tolerance, units, coordinate system. Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - The tolerance, units, coordinate system. Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { CtsRegion } */ regionClean(...args) { @@ -3355,7 +3355,7 @@ regionClean(...args) { * @since 2.1.1 * @param { CtsRegion } [target] - A geographic region. * @param { CtsRegion } [region] - One or more geographic regions (boxes, circles, polygons, or points). Where multiple regions are specified, return true if target contains any of the regions. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on boxes', circles', and regions' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and regions' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on boxes', circles', and regions' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on boxes', circles', and regions' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. * @returns { XsBoolean } */ regionContains(...args) { @@ -3373,7 +3373,7 @@ regionContains(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. * @param { CtsRegion } [region2] - The second geospatial region to compare. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsString } */ regionDe9im(...args) { @@ -3391,7 +3391,7 @@ regionDe9im(...args) { * @since 2.1.1 * @param { CtsRegion } [target] - A geographic region (box, circle, polygon, or point). * @param { CtsRegion } [region] - One or more geographic regions. Where multiple regions are specified, return true if any region intersects the target region. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on regions' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on regions' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. "boundaries-included" Points on regions' boundaries are counted as matching. This is the default. "boundaries-excluded" Points on regions' boundaries are not counted as matching. "boundaries-latitude-excluded" Points on boxes' latitude boundaries are not counted as matching. "boundaries-longitude-excluded" Points on boxes' longitude boundaries are not counted as matching. "boundaries-south-excluded" Points on the boxes' southern boundaries are not counted as matching. "boundaries-west-excluded" Points on the boxes' western boundaries are not counted as matching. "boundaries-north-excluded" Points on the boxes' northern boundaries are not counted as matching. "boundaries-east-excluded" Points on the boxes' eastern boundaries are not counted as matching. "boundaries-circle-excluded" Points on circles' boundary are not counted as matching. "boundaries-endpoints-excluded" Points on linestrings' boundary (the endpoints) are not counted as matching. * @returns { XsBoolean } */ regionIntersects(...args) { @@ -3410,7 +3410,7 @@ regionIntersects(...args) { * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of $operation. * @param { XsString } [operation] - The operation to apply between the region specified in the $region-1 and $region-2 parameters. Allowed values: contains, covered-by, covers, crosses, disjoint, equals, intersects, overlaps, touches, within. See the Usage Notes for details. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of $operation. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ regionRelate(...args) { @@ -3427,7 +3427,7 @@ regionRelate(...args) { * @method planBuilder.geo#removeDuplicateVertices * @since 2.1.1 * @param { CtsRegion } [region] - A cts region. - * @param { XsString } [options] - The tolerance, units, coordinate system. Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - The tolerance, units, coordinate system. Options include: "coordinate-system=value" Use the given coordinate system. Valid values are wgs84, wgs84/double, etrs89, etrs89/double, raw and raw/double. Defaults to the governing coordinating system. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. Defaults to the precision of the governing coordinate system. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { CtsRegion } */ removeDuplicateVertices(...args) { @@ -3445,7 +3445,7 @@ removeDuplicateVertices(...args) { * @since 2.1.1 * @param { CtsPoint } [p1] - The first point. * @param { CtsRegion } [region] - A region such as a circle, box, polygon, linestring, or complex-polygon. For compatibility with previous versions, a sequence of points is interpreted as a sequence of arcs (defined pairwise) and the distance returned is the shortest distance to one of those points. If the first parameter is a point within the region specified in this parameter, then this function returns 0. If the point specified in the first parameter in not in the region specified in this parameter, then this function returns the shortest distance to the boundary of the region. - * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. + * @param { XsString } [options] - Options for the operation. The default is (). Options include: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "units=value" Measure distance and the radii of circles in the specified units. Allowed values: miles (default), km, feet, meters. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. * @returns { XsDouble } */ shortestDistance(...args) { @@ -3475,7 +3475,7 @@ toWkt(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of touches. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of touches. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ touches(...args) { @@ -3505,7 +3505,7 @@ validateWkt(...args) { * @since 2.1.1 * @param { CtsRegion } [region1] - The first geospatial region to compare. This region is the left operand of within. * @param { CtsRegion } [region2] - The second geospatial region to compare. This region is the right operand of within. - * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. + * @param { XsString } [options] - Options to this operation. The default is (). Available options: "coordinate-system=string" Use the given coordinate system. Valid values are: wgs84The WGS84 coordinate system with degrees as the angular unit. wgs84/radiansThe WGS84 coordinate system with radians as the angular unit. wgs84/doubleThe WGS84 coordinate system at double precision with degrees as the angular unit. wgs84/radians/doubleThe WGS84 coordinate system at double precision with radians as the angular unit. etrs89The ETRS89 coordinate system. etrs89/doubleThe ETRS89 coordinate system at double precision. rawThe raw (unmapped) coordinate system. raw/doubleThe raw coordinate system at double precision. "precision=value" Use the coordinate system at the given precision. Allowed values: float and double. "units=value" Measure distance, radii of circles, and tolerance in the specified units. Allowed values: miles (default), km, feet, meters. "tolerance=distance" Tolerance is the largest allowable variation in geometry calculations. If the distance between two points is less than tolerance, then the two points are considered equal. For the raw coordinate system, use the units of the coordinates. For geographic coordinate systems, use the units specified by the units option. * @returns { XsBoolean } */ within(...args) { @@ -4049,7 +4049,7 @@ median(...args) { * @method planBuilder.math#mode * @since 2.1.1 * @param { XsAnyAtomicType } [arg] - The sequence of values. - * @param { XsString } [options] - Options. The default is (). Options include: "collation=URI" Applies only when $arg is of the xs:string type. If no specified, the default collation is used. "coordinate-system=name" Applies only when $arg is of the cts:point type. If no specified, the default coordinate system is used. + * @param { XsString } [options] - Options. The default is (). Options include: "collation=URI" Applies only when $arg is of the xs:string type. If no specified, the default collation is used. "coordinate-system=name" Applies only when $arg is of the cts:point type. If no specified, the default coordinate system is used. * @returns { XsAnyAtomicType } */ mode(...args) { @@ -4079,7 +4079,7 @@ modf(...args) { * @since 2.1.1 * @param { XsAnyAtomicType } [arg] - The sequence of values. * @param { XsAnyAtomicType } [value] - The value to be "ranked". - * @param { XsString } [options] - Options. The default is (). Options include: "ascending"(default) Rank the value as if the sequence was sorted in ascending order. "descending" Rank the value as if the sequence was sorted in descending order. "collation=URI" Applies only when $arg is of the xs:string type. If no specified, the default collation is used. "coordinate-system=name" Applies only when $arg is of the cts:point type. If no specified, the default coordinate system is used. + * @param { XsString } [options] - Options. The default is (). Options include: "ascending"(default) Rank the value as if the sequence was sorted in ascending order. "descending" Rank the value as if the sequence was sorted in descending order. "collation=URI" Applies only when $arg is of the xs:string type. If no specified, the default collation is used. "coordinate-system=name" Applies only when $arg is of the cts:point type. If no specified, the default coordinate system is used. * @returns { XsDouble } */ percentRank(...args) { @@ -4154,7 +4154,7 @@ radians(...args) { * @since 2.1.1 * @param { XsAnyAtomicType } [arg1] - The sequence of values. * @param { XsAnyAtomicType } [arg2] - The value to be "ranked". - * @param { XsString } [options] - Options. The default is (). Options include: "ascending"(default) Rank the value as if the sequence was sorted in ascending order. "descending" Rank the value as if the sequence was sorted in descending order. "collation=URI" Applies only when $arg is of the xs:string type. If no specified, the default collation is used. "coordinate-system=name" Applies only when $arg is of the cts:point type. If no specified, the default coordinate system is used. + * @param { XsString } [options] - Options. The default is (). Options include: "ascending"(default) Rank the value as if the sequence was sorted in ascending order. "descending" Rank the value as if the sequence was sorted in descending order. "collation=URI" Applies only when $arg is of the xs:string type. If no specified, the default collation is used. "coordinate-system=name" Applies only when $arg is of the cts:point type. If no specified, the default coordinate system is used. * @returns { XsInteger } */ rank(...args) { @@ -4442,7 +4442,7 @@ iri(...args) { * Converts an IRI value to a QName value. Provides a client interface to a server function. * @method planBuilder.sem#iriToQName * @since 2.1.1 - * @param { XsString } [arg1] - + * @param { XsString } [arg1] - * @returns { XsQName } */ iriToQName(...args) { @@ -4531,7 +4531,7 @@ langMatches(...args) { * Converts a QName value to an IRI value. Provides a client interface to a server function. * @method planBuilder.sem#QNameToIri * @since 2.1.1 - * @param { XsQName } [arg1] - + * @param { XsQName } [arg1] - * @returns { SemIri } */ QNameToIri(...args) { @@ -4556,7 +4556,7 @@ random(...args) { * @since 2.1.1 * @param { XsString } [locations] - The locations of the rulesets. * @param { SemStore } [store] - The base store(s) over which to apply the ruleset to get inferred triples. The default for sem:store is an empty sequence, which means accessing the current database's triple index using the default rulesets configured for that database. - * @param { XsString } [options] - Options as a sequence of string values. Available options are: "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. + * @param { XsString } [options] - Options as a sequence of string values. Available options are: "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. * @returns { SemStore } */ rulesetStore(...args) { @@ -4589,7 +4589,7 @@ sameTerm(...args) { * The sem:store function defines a set of criteria, that when evaluated, selects a set of triples to be passed in to sem:sparql(), sem:sparql-update(), or sem:sparql-values() as part of the options argument. The sem:store constructor queries from the current database's triple index, restricted by the options and the cts:query argument (for instance, "triples in documents matching this query"). Provides a client interface to a server function. See {@link http://docs.marklogic.com/sem.store|sem.store} * @method planBuilder.sem#store * @since 2.1.1 - * @param { XsString } [options] - Options as a sequence of string values. Available options are: "any" Values from any fragment should be included. "document" Values from document fragments should be included. "properties" Values from properties fragments should be included. "locks" Values from locks fragments should be included. "checked" Word positions should be checked when resolving the query. "unchecked" Word positions should not be checked when resolving the query. "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. "no-default-rulesets" Don't apply the database's default rulesets to the sem:store. "locking=read-write/write" read-write: Read-lock documents containing triples being accessed, write-lock documents being updated; write: Only write-lock documents being updated. Default is locking=read-write. Locking is ignored in query transaction. + * @param { XsString } [options] - Options as a sequence of string values. Available options are: "any" Values from any fragment should be included. "document" Values from document fragments should be included. "properties" Values from properties fragments should be included. "locks" Values from locks fragments should be included. "checked" Word positions should be checked when resolving the query. "unchecked" Word positions should not be checked when resolving the query. "size=number of MB" The maximum size of the memory used to cache inferred triples. This defaults to the default inference size set for the app-server. If the value provided is bigger than the maximum inference size set for the App Server, an error is raised [XDMP-INFSIZE]. "no-default-rulesets" Don't apply the database's default rulesets to the sem:store. "locking=read-write/write" read-write: Read-lock documents containing triples being accessed, write-lock documents being updated; write: Only write-lock documents being updated. Default is locking=read-write. Locking is ignored in query transaction. * @param { CtsQuery } [query] - Only include triples in fragments selected by the cts:query. The triples do not need to match the query, but they must occur in fragments selected by the query. The fragments are not filtered to ensure they match the query, but instead selected in the same manner as "unfiltered" cts:search operations. If a string is entered, the string is treated as a cts:word-query of the specified string. * @returns { SemStore } */ @@ -4782,7 +4782,7 @@ collatedString(...args) { * 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} * @method planBuilder.sql#dateadd * @since 2.1.1 - * @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 + * @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 * @param { XsInt } [number] - This number will be added to the datepart of the given date. * @param { Item } [date] - Is an expression that can be resolved to a time, date or datetime, value. date can be an expression, column expression, user-defined variable or string literal. startdate is subtracted from enddate. * @returns { Item } @@ -4800,7 +4800,7 @@ dateadd(...args) { * 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} * @method planBuilder.sql#datediff * @since 2.1.1 - * @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 + * @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 * @param { Item } [startdate] - Is an expression that can be resolved to a time, date, datetime or value. date can be an expression, column expression, user-defined variable or string literal. startdate is subtracted from enddate. * @param { Item } [enddate] - Same as startdate. * @returns { XsInteger } @@ -4818,7 +4818,7 @@ datediff(...args) { * 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} * @method planBuilder.sql#datepart * @since 2.1.1 - * @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 + * @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 * @param { Item } [date] - Is an expression that can be resolved to a xs:date, xs:time, xs:dateTime. date can be an expression, column expression,user-defined variable, or string literal. * @returns { XsInteger } */ @@ -5111,7 +5111,7 @@ right(...args) { * 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. * @method planBuilder.sql#rowID * @since 2.1.1 - * @param { XsAnyAtomicType } [arg1] - + * @param { XsAnyAtomicType } [arg1] - * @returns { SqlRowID } */ rowID(...args) { @@ -5201,7 +5201,7 @@ strpos(...args) { * Returns a xs:string? timestamp created by adding a number to the given dateTimeType field of a given timestamp. Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql.timestampadd|sql.timestampadd} * @method planBuilder.sql#timestampadd * @since 2.1.1 - * @param { XsString } [dateTimeType] - The dateTimeType of the timestamp where addition should take place. Available types are: SQL_TSI_FRAC_SECOND nano seconds SQL_TSI_SECOND seconds SQL_TSI_MINUTE minute SQL_TSI_HOUR hour SQL_TSI_DAY day SQL_TSI_WEEK week SQL_TSI_MONTH month SQL_TSI_QUARTER quarter SQL_TSI_YEAR year + * @param { XsString } [dateTimeType] - The dateTimeType of the timestamp where addition should take place. Available types are: SQL_TSI_FRAC_SECOND nano seconds SQL_TSI_SECOND seconds SQL_TSI_MINUTE minute SQL_TSI_HOUR hour SQL_TSI_DAY day SQL_TSI_WEEK week SQL_TSI_MONTH month SQL_TSI_QUARTER quarter SQL_TSI_YEAR year * @param { XsInt } [value] - The integer to add to the given dateTimeType field of the third parameter. * @param { Item } [timestamp] - The xs:dateTime timestamp to which addition has to take place. * @returns { Item } @@ -5219,7 +5219,7 @@ timestampadd(...args) { * Returns the difference in dateTimeType field of two given timestamps. Provides a client interface to a server function. See {@link http://docs.marklogic.com/sql.timestampdiff|sql.timestampdiff} * @method planBuilder.sql#timestampdiff * @since 2.1.1 - * @param { XsString } [dateTimeType] - The dateTimeType of the timestamp where addition should take place. Available types are: SQL_TSI_FRAC_SECOND nano seconds SQL_TSI_SECOND seconds SQL_TSI_MINUTE minute SQL_TSI_HOUR hour SQL_TSI_DAY day SQL_TSI_WEEK week SQL_TSI_MONTH month SQL_TSI_QUARTER quarter SQL_TSI_YEAR year + * @param { XsString } [dateTimeType] - The dateTimeType of the timestamp where addition should take place. Available types are: SQL_TSI_FRAC_SECOND nano seconds SQL_TSI_SECOND seconds SQL_TSI_MINUTE minute SQL_TSI_HOUR hour SQL_TSI_DAY day SQL_TSI_WEEK week SQL_TSI_MONTH month SQL_TSI_QUARTER quarter SQL_TSI_YEAR year * @param { Item } [timestamp1] - The integer to add to the given dateTimeType field of the third parameter. * @param { Item } [timestamp2] - The xs:dateTime timestamp to which addition has to take place. * @returns { XsInteger } @@ -5261,7 +5261,7 @@ week(...args) { * Returns the day of the week. Provides a client interface to a server function. * @method planBuilder.sql#weekday * @since 2.1.1 - * @param { Item } [arg1] - + * @param { Item } [arg1] - * @returns { XsInteger } */ weekday(...args) { @@ -6104,7 +6104,7 @@ or64(...args) { * Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value. While this function is closely related to other XSLT functions, it is available in XSLT as well as in all XQuery dialects and in Server-Side JavaScript. Provides a client interface to a server function. See {@link http://docs.marklogic.com/xdmp.parseDateTime|xdmp.parseDateTime} * @method planBuilder.xdmp#parseDateTime * @since 2.1.1 - * @param { XsString } [picture] - The desired string representation of the given $value. The picture string is a sequence of characters, in which the characters represent variables such as, decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign, pattern-separator, percent sign and per-mille-sign. For details on the picture string, see http://www.w3.org/TR/xslt20/#date-picture-string. This follows the specification of picture string in the W3C XSLT 2.0 specification for the fn:format-dateTime function. Symbol Description ----------------------------------- 'Y' year(absolute value) 'M' month in year 'D' day in month 'd' day in year 'F' day of week 'W' week in year 'w' week in month 'H' hour in day 'h' hour in half-day 'P' am/pm marker 'm' minute in hour 's' second in minute 'f' fractional seconds 'Z' timezone as a time offset from UTC for example PST 'z' timezone as an offset using GMT, for example GMT+1 + * @param { XsString } [picture] - The desired string representation of the given $value. The picture string is a sequence of characters, in which the characters represent variables such as, decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign, pattern-separator, percent sign and per-mille-sign. For details on the picture string, see http://www.w3.org/TR/xslt20/#date-picture-string. This follows the specification of picture string in the W3C XSLT 2.0 specification for the fn:format-dateTime function. Symbol Description ----------------------------------- 'Y' year(absolute value) 'M' month in year 'D' day in month 'd' day in year 'F' day of week 'W' week in year 'w' week in month 'H' hour in day 'h' hour in half-day 'P' am/pm marker 'm' minute in hour 's' second in minute 'f' fractional seconds 'Z' timezone as a time offset from UTC for example PST 'z' timezone as an offset using GMT, for example GMT+1 * @param { XsString } [value] - The given string $value representing the dateTime value that needs to be formatted. * @param { XsString } [language] - The language used in string representation of the date, time or dateTime value. * @param { XsString } [calendar] - This argument is reserved for future use. The only calendar supported at this point is "Gregorian" or "AD". @@ -6124,7 +6124,7 @@ parseDateTime(...args) { * Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value. While this function is closely related to other XSLT functions, it is available in XSLT as well as in all XQuery dialects and in Server-Side JavaScript. Provides a client interface to a server function. See {@link http://docs.marklogic.com/xdmp.parseYymmdd|xdmp.parseYymmdd} * @method planBuilder.xdmp#parseYymmdd * @since 2.1.1 - * @param { XsString } [picture] - The desired string representation of the given $value. This follows the specification of picture string which is compatible to the format specification in icu. See http://icu-project.org/apiref/icu4j/com/ibm/icu/text/SimpleDateFormat.html for more details. The following is the summary of the formatting symbols: Symbol Description ---------------------------- "y" year(absolute value) "M" month in year "d" day in month "D" day in year "E" day of week "w" week in year "W" week in month "H" hour in day "K" hour in half-day "a" am/pm marker "s" second in minute "S" fractional seconds "Z" timezone as a time offset from UTC for example PST "ZZZZ" timezone as an offset using GMT, for example GMT+1 + * @param { XsString } [picture] - The desired string representation of the given $value. This follows the specification of picture string which is compatible to the format specification in icu. See http://icu-project.org/apiref/icu4j/com/ibm/icu/text/SimpleDateFormat.html for more details. The following is the summary of the formatting symbols: Symbol Description ---------------------------- "y" year(absolute value) "M" month in year "d" day in month "D" day in year "E" day of week "w" week in year "W" week in month "H" hour in day "K" hour in half-day "a" am/pm marker "s" second in minute "S" fractional seconds "Z" timezone as a time offset from UTC for example PST "ZZZZ" timezone as an offset using GMT, for example GMT+1 * @param { XsString } [value] - The given string $value that needs to be formatted. * @param { XsString } [language] - The language used in string representation of the date, time or dateTime value. * @param { XsString } [calendar] - This argument is reserved for future use. The only calendar supported at this point is "Gregorian" or "AD". @@ -6389,7 +6389,7 @@ type(...args) { * @since 2.1.1 * @param { XsString } [arg] - Input to be unquoted. * @param { XsString } [defaultNamespace] - Default namespace for nodes in the first parameter. - * @param { XsString } [options] - The options for getting this document. The default value is (). Options include: "repair-full" Specifies that malformed XML content be repaired. XML content with multiple top-level elements will be parsed as multiple documents. This option has no effect on binary or text documents. "repair-none" Specifies that malformed XML content be rejected. XML content will be parsed as a single document, so a maximum of one document node will be returned. This option has no effect on binary or text documents. "format-text" Specifies to get the document as a text document, regardless of the URI specified. "format-binary" Specifies to get the document as a binary document, regardless of the URI specified. "format-xml" Specifies to get the document as an XML document, regardless of the URI specified. "format-json" Specifies to get the document as a JSON document, regardless of the URI specified. "default-language=xx" If the root element node specified in the first parameter does not already have an xml:lang attribute, the language to specify in an xml:lang attribute on the root element node. If default-language is not specified, then nothing is added to the root element node. Some examples are default-language=en and default-language=fr. + * @param { XsString } [options] - The options for getting this document. The default value is (). Options include: "repair-full" Specifies that malformed XML content be repaired. XML content with multiple top-level elements will be parsed as multiple documents. This option has no effect on binary or text documents. "repair-none" Specifies that malformed XML content be rejected. XML content will be parsed as a single document, so a maximum of one document node will be returned. This option has no effect on binary or text documents. "format-text" Specifies to get the document as a text document, regardless of the URI specified. "format-binary" Specifies to get the document as a binary document, regardless of the URI specified. "format-xml" Specifies to get the document as an XML document, regardless of the URI specified. "format-json" Specifies to get the document as a JSON document, regardless of the URI specified. "default-language=xx" If the root element node specified in the first parameter does not already have an xml:lang attribute, the language to specify in an xml:lang attribute on the root element node. If default-language is not specified, then nothing is added to the root element node. Some examples are default-language=en and default-language=fr. * @returns { DocumentNode } */ unquote(...args) { @@ -7210,8 +7210,8 @@ class PlanPlan extends types.ServerType { * Provides a client interface to a server function. * @method planBuilder.Plan#bindParam * @since 2.1.1 - * @param { PlanParamName } [param] - - * @param { PlanParamBinding } [literal] - + * @param { PlanParamName } [param] - + * @param { PlanParamBinding } [literal] - * @returns { planBuilder.Plan } */ bindParam(...args) { @@ -7395,7 +7395,7 @@ class PlanPrefixer extends types.ServerType { * Provides a client interface to a server function. * @method planBuilder.Prefixer#iri * @since 2.1.1 - * @param { XsString } [name] - + * @param { XsString } [name] - * @returns { SemIri } */ iri(...args) { @@ -8111,7 +8111,7 @@ col(...args) { * This function samples rows from a view or from a pattern match on the triple index. Provides a client interface to a server function. See {@link http://docs.marklogic.com/AccessPlan.prototype.sampleBy|AccessPlan.prototype.sampleBy} * @method planBuilder.AccessPlan#sampleBy * @since 2.1.1 - * @param { PlanSampleByOption } [option] - + * @param { PlanSampleByOption } [option] - * @returns { planBuilder.ModifyPlan } */ sampleBy(...args) { @@ -9014,8 +9014,8 @@ groupConcat(...args) { * Provides a client interface to a server function. * @method planBuilder#groupKey * @since 2.1.1 - * @param { PlanColumnName } [name] - - * @param { PlanExprColName } [column] - + * @param { PlanColumnName } [name] - + * @param { PlanExprColName } [column] - * @returns { planBuilder.PlanAggregateCol } */ groupKey(...args) { @@ -9438,8 +9438,8 @@ xmlPi(...args) { * Provides a client interface to a server function. * @method planBuilder#resolveFunction * @since 2.1.1 - * @param { PlanQualifiableName } [functionName] - - * @param { XsString } [modulePath] - + * @param { PlanQualifiableName } [functionName] - + * @param { XsString } [modulePath] - * @returns { planBuilder.PlanFunction } */ resolveFunction(...args) { diff --git a/lib/plan-builder.js b/lib/plan-builder.js index f01ec406..554e55a4 100644 --- a/lib/plan-builder.js +++ b/lib/plan-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/proxy-generator.js b/lib/proxy-generator.js index 7587fed2..177ee70b 100644 --- a/lib/proxy-generator.js +++ b/lib/proxy-generator.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/query-builder.js b/lib/query-builder.js index 8f9ca158..9f2e7149 100644 --- a/lib/query-builder.js +++ b/lib/query-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var util = require("util"); diff --git a/lib/requester.js b/lib/requester.js index 8f922a2c..4b4dade6 100644 --- a/lib/requester.js +++ b/lib/requester.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var createAuthInitializer = require('./www-authenticate-patched/www-authenticate'); diff --git a/lib/resources-config.js b/lib/resources-config.js index a3e964d5..6846a5ca 100644 --- a/lib/resources-config.js +++ b/lib/resources-config.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/resources-exec.js b/lib/resources-exec.js index 72c32709..a429c7c2 100644 --- a/lib/resources-exec.js +++ b/lib/resources-exec.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/responder.js b/lib/responder.js index 1adc0cce..42fe7bd7 100644 --- a/lib/responder.js +++ b/lib/responder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var concatStream = require('concat-stream'); diff --git a/lib/rest-server-properties.js b/lib/rest-server-properties.js index 3a8ec5c7..12f6ab63 100644 --- a/lib/rest-server-properties.js +++ b/lib/rest-server-properties.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/rows.js b/lib/rows.js index 6d620a5f..47460f1d 100644 --- a/lib/rows.js +++ b/lib/rows.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/server-exec.js b/lib/server-exec.js index a0302ebc..ddf1a40b 100644 --- a/lib/server-exec.js +++ b/lib/server-exec.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var qs = require('qs'); diff --git a/lib/server-types-generated.js b/lib/server-types-generated.js index b132fc52..b1bc3b27 100755 --- a/lib/server-types-generated.js +++ b/lib/server-types-generated.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/session-state.js b/lib/session-state.js index d9c46d30..29c5d0d7 100644 --- a/lib/session-state.js +++ b/lib/session-state.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/transactions.js b/lib/transactions.js index 21abec89..a4a28ac7 100644 --- a/lib/transactions.js +++ b/lib/transactions.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/transforms.js b/lib/transforms.js index 59abb9c4..1a69e2fb 100644 --- a/lib/transforms.js +++ b/lib/transforms.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/values-builder.js b/lib/values-builder.js index d75f3575..b9df7a91 100644 --- a/lib/values-builder.js +++ b/lib/values-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var deepcopy = require('deepcopy'); diff --git a/lib/values.js b/lib/values.js index eb7fda7a..7290f728 100644 --- a/lib/values.js +++ b/lib/values.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/vector-util.js b/lib/vector-util.js index 66165203..1cc48525 100644 --- a/lib/vector-util.js +++ b/lib/vector-util.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/lib/www-authenticate-patched/md5.js b/lib/www-authenticate-patched/md5.js index 732d576e..ba61d430 100644 --- a/lib/www-authenticate-patched/md5.js +++ b/lib/www-authenticate-patched/md5.js @@ -7,7 +7,7 @@ */ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var crypto= require('crypto'); diff --git a/lib/www-authenticate-patched/parsers.js b/lib/www-authenticate-patched/parsers.js index acf54416..1bda7820 100644 --- a/lib/www-authenticate-patched/parsers.js +++ b/lib/www-authenticate-patched/parsers.js @@ -1,3 +1,7 @@ +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ + /* * www-authenticate * https://github.com/randymized/www-authenticate @@ -6,9 +10,6 @@ * Licensed under the MIT license. */ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. -*/ var ParseAuth= /(\w+)\s+(.*)/ // -> scheme, params , Separators= /([",=])/ ; diff --git a/lib/www-authenticate-patched/user-credentials.js b/lib/www-authenticate-patched/user-credentials.js index c1f5db0b..d6479bc0 100644 --- a/lib/www-authenticate-patched/user-credentials.js +++ b/lib/www-authenticate-patched/user-credentials.js @@ -1,3 +1,7 @@ +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ + /* * www-authenticate * https://github.com/randymized/www-authenticate @@ -6,9 +10,7 @@ * Licensed under the MIT license. */ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. -*/ + var md5= require('./md5'); /* diff --git a/lib/www-authenticate-patched/www-authenticate.js b/lib/www-authenticate-patched/www-authenticate.js index 2069a5d8..958f6d38 100644 --- a/lib/www-authenticate-patched/www-authenticate.js +++ b/lib/www-authenticate-patched/www-authenticate.js @@ -1,3 +1,7 @@ +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ + /* * www-authenticate * https://github.com/randymized/www-authenticate @@ -6,9 +10,6 @@ * Licensed under the MIT license. */ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. -*/ 'use strict'; var crypto= require('crypto') diff --git a/test-basic-proxy/lib/negative/badAtomicParameterTest.js b/test-basic-proxy/lib/negative/badAtomicParameterTest.js index 9887f053..bdfcc183 100644 --- a/test-basic-proxy/lib/negative/badAtomicParameterTest.js +++ b/test-basic-proxy/lib/negative/badAtomicParameterTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/negative/badExecutionTest.js b/test-basic-proxy/lib/negative/badExecutionTest.js index 64658602..68058d08 100644 --- a/test-basic-proxy/lib/negative/badExecutionTest.js +++ b/test-basic-proxy/lib/negative/badExecutionTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/negative/badGenerationTest.js b/test-basic-proxy/lib/negative/badGenerationTest.js index 2145595b..c127d264 100644 --- a/test-basic-proxy/lib/negative/badGenerationTest.js +++ b/test-basic-proxy/lib/negative/badGenerationTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/negative/badIOTest.js b/test-basic-proxy/lib/negative/badIOTest.js index a2e71706..5093f21b 100644 --- a/test-basic-proxy/lib/negative/badIOTest.js +++ b/test-basic-proxy/lib/negative/badIOTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/negative/badNodeParameterTest.js b/test-basic-proxy/lib/negative/badNodeParameterTest.js index 81839296..75c904ca 100644 --- a/test-basic-proxy/lib/negative/badNodeParameterTest.js +++ b/test-basic-proxy/lib/negative/badNodeParameterTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/positive/atomicReturnMappingTest.js b/test-basic-proxy/lib/positive/atomicReturnMappingTest.js index 4753dd68..c6a49303 100644 --- a/test-basic-proxy/lib/positive/atomicReturnMappingTest.js +++ b/test-basic-proxy/lib/positive/atomicReturnMappingTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/positive/decoratorBaseTest.js b/test-basic-proxy/lib/positive/decoratorBaseTest.js index 271fab23..e22b5d1b 100644 --- a/test-basic-proxy/lib/positive/decoratorBaseTest.js +++ b/test-basic-proxy/lib/positive/decoratorBaseTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/positive/decoratorCustomTest.js b/test-basic-proxy/lib/positive/decoratorCustomTest.js index 50bc31d6..09458e46 100644 --- a/test-basic-proxy/lib/positive/decoratorCustomTest.js +++ b/test-basic-proxy/lib/positive/decoratorCustomTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/positive/mimetypeTest.js b/test-basic-proxy/lib/positive/mimetypeTest.js index ddffa443..74cd147b 100644 --- a/test-basic-proxy/lib/positive/mimetypeTest.js +++ b/test-basic-proxy/lib/positive/mimetypeTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/positive/sessionsTest.js b/test-basic-proxy/lib/positive/sessionsTest.js index 60d661fe..d563cdcc 100644 --- a/test-basic-proxy/lib/positive/sessionsTest.js +++ b/test-basic-proxy/lib/positive/sessionsTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/positive/streamerTest.js b/test-basic-proxy/lib/positive/streamerTest.js index 57be0926..fc671f2b 100644 --- a/test-basic-proxy/lib/positive/streamerTest.js +++ b/test-basic-proxy/lib/positive/streamerTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js b/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js index 0dcc6af7..603f8b64 100644 --- a/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js +++ b/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js b/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js index 5a3851ff..b3797c73 100644 --- a/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js +++ b/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/testutil.js b/test-basic-proxy/lib/testutil.js index c68f77bc..3f6db664 100644 --- a/test-basic-proxy/lib/testutil.js +++ b/test-basic-proxy/lib/testutil.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic-proxy/testGenerator.js b/test-basic-proxy/testGenerator.js index aa73f839..2dc0d828 100644 --- a/test-basic-proxy/testGenerator.js +++ b/test-basic-proxy/testGenerator.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/annTopK.js b/test-basic/annTopK.js index 5ea4d8d8..e8cc3d87 100644 --- a/test-basic/annTopK.js +++ b/test-basic/annTopK.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/basePath-test.js b/test-basic/basePath-test.js index 082acc23..5ef7d2ca 100644 --- a/test-basic/basePath-test.js +++ b/test-basic/basePath-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/bindingFromParam.js b/test-basic/bindingFromParam.js index 1dd6b558..8c368df5 100644 --- a/test-basic/bindingFromParam.js +++ b/test-basic/bindingFromParam.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/client.js b/test-basic/client.js index 1edff42c..a484b315 100644 --- a/test-basic/client.js +++ b/test-basic/client.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/cloud_authentication-test.js b/test-basic/cloud_authentication-test.js index 0846fa99..01bcd333 100644 --- a/test-basic/cloud_authentication-test.js +++ b/test-basic/cloud_authentication-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const marklogic = require('../'); diff --git a/test-basic/data/echoModule.js b/test-basic/data/echoModule.js index 27425c1f..12dd78ab 100644 --- a/test-basic/data/echoModule.js +++ b/test-basic/data/echoModule.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var test; var extra; diff --git a/test-basic/data/timestampTransform.js b/test-basic/data/timestampTransform.js index fd672aa6..a906c930 100644 --- a/test-basic/data/timestampTransform.js +++ b/test-basic/data/timestampTransform.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ function timestampTransform(context, params, document) { var newDoc = document.toObject(); diff --git a/test-basic/data/transformAll_transform.js b/test-basic/data/transformAll_transform.js index 877a2b93..1dc63615 100644 --- a/test-basic/data/transformAll_transform.js +++ b/test-basic/data/transformAll_transform.js @@ -1,5 +1,5 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ function transform_function(context, params, content) { let document = content.toObject(); diff --git a/test-basic/data/versionService.js b/test-basic/data/versionService.js index 6f157351..9234fe8e 100644 --- a/test-basic/data/versionService.js +++ b/test-basic/data/versionService.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ function getVersionService(context, params) { return { diff --git a/test-basic/digestauth-fips-nomd5load.js b/test-basic/digestauth-fips-nomd5load.js index fd244643..586b9b21 100644 --- a/test-basic/digestauth-fips-nomd5load.js +++ b/test-basic/digestauth-fips-nomd5load.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/docColTypes-test.js b/test-basic/docColTypes-test.js index 9303793c..c2880f75 100644 --- a/test-basic/docColTypes-test.js +++ b/test-basic/docColTypes-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-basic/documents-core.js b/test-basic/documents-core.js index 186426d9..4b6bc187 100644 --- a/test-basic/documents-core.js +++ b/test-basic/documents-core.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/documents-data-movement-ingest.js b/test-basic/documents-data-movement-ingest.js index 4368232c..0fac8808 100644 --- a/test-basic/documents-data-movement-ingest.js +++ b/test-basic/documents-data-movement-ingest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-data-movement-queryAll.js b/test-basic/documents-data-movement-queryAll.js index b0c21c55..21ea68db 100644 --- a/test-basic/documents-data-movement-queryAll.js +++ b/test-basic/documents-data-movement-queryAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-basic/documents-data-movement-readAll.js b/test-basic/documents-data-movement-readAll.js index 1b3bdb2a..b2400d61 100644 --- a/test-basic/documents-data-movement-readAll.js +++ b/test-basic/documents-data-movement-readAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-basic/documents-data-movement-removeAllUris.js b/test-basic/documents-data-movement-removeAllUris.js index 199dc53c..385d6336 100644 --- a/test-basic/documents-data-movement-removeAllUris.js +++ b/test-basic/documents-data-movement-removeAllUris.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-basic/documents-data-movement-rows-queryAll.js b/test-basic/documents-data-movement-rows-queryAll.js index 8533dd6f..fc7acdeb 100644 --- a/test-basic/documents-data-movement-rows-queryAll.js +++ b/test-basic/documents-data-movement-rows-queryAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-basic/documents-data-movement-transformAll.js b/test-basic/documents-data-movement-transformAll.js index 6c1d394c..651fea9d 100644 --- a/test-basic/documents-data-movement-transformAll.js +++ b/test-basic/documents-data-movement-transformAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-basic/documents-negative.js b/test-basic/documents-negative.js index 51107c49..c99aab59 100644 --- a/test-basic/documents-negative.js +++ b/test-basic/documents-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/documents-patch.js b/test-basic/documents-patch.js index cbea9dcc..9194d503 100644 --- a/test-basic/documents-patch.js +++ b/test-basic/documents-patch.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/documents-query.js b/test-basic/documents-query.js index 9dbc8082..ca3240a2 100644 --- a/test-basic/documents-query.js +++ b/test-basic/documents-query.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/documents-quick.js b/test-basic/documents-quick.js index 97b4b7b6..4d9f93af 100644 --- a/test-basic/documents-quick.js +++ b/test-basic/documents-quick.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); @@ -167,7 +167,7 @@ describe('check connection', function(){ }).catch(done); }); it('should give 403 when user is not authorized', function(done){ - var config = {host:testconfig.testConnection.host, user:testconfig.testConnection.user, password: testconfig.testConnection.password, port:testconfig.testConnection.port, + var config = {host:testconfig.testConnection.host, user:testconfig.testConnection.user, password: testconfig.testConnection.password, port:testconfig.testConnection.port, authType:testconfig.testConnection.authType}; var db1 = marklogic.createDatabaseClient(config); var assert = require('assert'); @@ -183,7 +183,7 @@ describe('check connection', function(){ }); it('should give 401 when does not exist', function(done){ - var config = {host:testconfig.restReaderConnection.host, user:testconfig.testConnection.user, password: 'invalid', port:testconfig.testConnection.port, + var config = {host:testconfig.restReaderConnection.host, user:testconfig.testConnection.user, password: 'invalid', port:testconfig.testConnection.port, authType:testconfig.restReaderConnection.authType}; var db1 = marklogic.createDatabaseClient(config); var assert = require('assert'); diff --git a/test-basic/documents-read-xqy-docs.js b/test-basic/documents-read-xqy-docs.js index 1a2e7e1d..f191a53c 100644 --- a/test-basic/documents-read-xqy-docs.js +++ b/test-basic/documents-read-xqy-docs.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ let testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-temporal-document.js b/test-basic/documents-temporal-document.js index a9559342..f963eb3b 100644 --- a/test-basic/documents-temporal-document.js +++ b/test-basic/documents-temporal-document.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-temporal-patch.js b/test-basic/documents-temporal-patch.js index 1edeb5d4..5c38f961 100644 --- a/test-basic/documents-temporal-patch.js +++ b/test-basic/documents-temporal-patch.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-temporal-protect.js b/test-basic/documents-temporal-protect.js index ac00663e..5631eae5 100644 --- a/test-basic/documents-temporal-protect.js +++ b/test-basic/documents-temporal-protect.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/documents-temporal-wipe.js b/test-basic/documents-temporal-wipe.js index a90b229c..70b31463 100644 --- a/test-basic/documents-temporal-wipe.js +++ b/test-basic/documents-temporal-wipe.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-temporal.js b/test-basic/documents-temporal.js index 13ec64b6..18f6e118 100644 --- a/test-basic/documents-temporal.js +++ b/test-basic/documents-temporal.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/documents-transform.js b/test-basic/documents-transform.js index 4d52a8aa..87b0e510 100644 --- a/test-basic/documents-transform.js +++ b/test-basic/documents-transform.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/documents-version.js b/test-basic/documents-version.js index 6b9f2cba..5dcc1f57 100644 --- a/test-basic/documents-version.js +++ b/test-basic/documents-version.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/endpoint-caller.js b/test-basic/endpoint-caller.js index e396fb56..921fd094 100644 --- a/test-basic/endpoint-caller.js +++ b/test-basic/endpoint-caller.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../'); diff --git a/test-basic/endpoint-proxy.js b/test-basic/endpoint-proxy.js index 87c6cb91..997772cd 100644 --- a/test-basic/endpoint-proxy.js +++ b/test-basic/endpoint-proxy.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/errors.js b/test-basic/errors.js index fd1e957f..999990fe 100644 --- a/test-basic/errors.js +++ b/test-basic/errors.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/extlibs.js b/test-basic/extlibs.js index f5363552..6df1161f 100644 --- a/test-basic/extlibs.js +++ b/test-basic/extlibs.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/fromDocDescriptors-test.js b/test-basic/fromDocDescriptors-test.js index 422296be..b8c239e6 100644 --- a/test-basic/fromDocDescriptors-test.js +++ b/test-basic/fromDocDescriptors-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-basic/graphs.js b/test-basic/graphs.js index 5c1df243..a69c8dc1 100644 --- a/test-basic/graphs.js +++ b/test-basic/graphs.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/joinDocCols-test.js b/test-basic/joinDocCols-test.js index 989b4834..751788af 100644 --- a/test-basic/joinDocCols-test.js +++ b/test-basic/joinDocCols-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-basic/lockForUpdate-test.js b/test-basic/lockForUpdate-test.js index 8605ec32..93e7c0d6 100644 --- a/test-basic/lockForUpdate-test.js +++ b/test-basic/lockForUpdate-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const marklogic = require('../'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/logging.js b/test-basic/logging.js index db544e56..de14f8fe 100644 --- a/test-basic/logging.js +++ b/test-basic/logging.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'), testconfig = require('../etc/test-config.js'), diff --git a/test-basic/optic-fromDocUris.js b/test-basic/optic-fromDocUris.js index d3588e50..31bf1739 100644 --- a/test-basic/optic-fromDocUris.js +++ b/test-basic/optic-fromDocUris.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/optic-patchBuilder.js b/test-basic/optic-patchBuilder.js index 8015c46e..7aec64f3 100644 --- a/test-basic/optic-patchBuilder.js +++ b/test-basic/optic-patchBuilder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const marklogic = require('../'); diff --git a/test-basic/optic-remove.js b/test-basic/optic-remove.js index 32e15082..62cf39e7 100644 --- a/test-basic/optic-remove.js +++ b/test-basic/optic-remove.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-basic/optic-update-execute.js b/test-basic/optic-update-execute.js index cba39248..9cbecd6a 100644 --- a/test-basic/optic-update-execute.js +++ b/test-basic/optic-update-execute.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-basic/optic-vector.js b/test-basic/optic-vector.js index ed429132..bc29330d 100644 --- a/test-basic/optic-vector.js +++ b/test-basic/optic-vector.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/patch-builder.js b/test-basic/patch-builder.js index ae90f384..0641cca8 100644 --- a/test-basic/patch-builder.js +++ b/test-basic/patch-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/plan-aggregates.js b/test-basic/plan-aggregates.js index 69ac201a..5d4daf88 100644 --- a/test-basic/plan-aggregates.js +++ b/test-basic/plan-aggregates.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-builder-base.js b/test-basic/plan-builder-base.js index 252e1fa8..652ca0ff 100644 --- a/test-basic/plan-builder-base.js +++ b/test-basic/plan-builder-base.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-builder-cts-tests-with-string-input.js b/test-basic/plan-builder-cts-tests-with-string-input.js index a81fde56..f4fd2254 100644 --- a/test-basic/plan-builder-cts-tests-with-string-input.js +++ b/test-basic/plan-builder-cts-tests-with-string-input.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-builder-generated.js b/test-basic/plan-builder-generated.js index c86d94da..678c24a0 100755 --- a/test-basic/plan-builder-generated.js +++ b/test-basic/plan-builder-generated.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; @@ -29,357 +29,357 @@ describe('plan builder', function() { }); it('cts.box#4', function(done) { testPlan([p.xs.double(1), p.xs.double(2), p.xs.double(3), p.xs.double(4)], p.cts.box(p.col("1"), p.col("2"), p.col("3"), p.col("4"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("[1, 2, 3, 4]"); done(); }).catch(done); - }); + }); it('cts.boxEast#1', function(done) { testPlan([p.cts.box(1, 2, 3, 4)], p.cts.boxEast(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('4'); done(); }).catch(done); - }); + }); it('cts.boxNorth#1', function(done) { testPlan([p.cts.box(1, 2, 3, 4)], p.cts.boxNorth(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('cts.boxSouth#1', function(done) { testPlan([p.cts.box(1, 2, 3, 4)], p.cts.boxSouth(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('cts.boxWest#1', function(done) { testPlan([p.cts.box(1, 2, 3, 4)], p.cts.boxWest(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('cts.circle#2', function(done) { testPlan([p.xs.double(1.2), p.cts.point(1, 2)], p.cts.circle(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("@1.2 1,2"); done(); }).catch(done); - }); + }); it('cts.partOfSpeech#1', function(done) { testPlan([p.xs.string("abc")], p.cts.partOfSpeech(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal(''); done(); }).catch(done); - }); + }); it('cts.period#2', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z"), p.xs.dateTime("2016-01-03T10:09:08Z")], p.cts.period(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql('cts.period(xs.dateTime("2016-01-02T10:09:08Z"),xs.dateTime("2016-01-03T10:09:08Z"))'); done(); }).catch(done); - }); + }); it('cts.point#2', function(done) { testPlan([p.xs.double(1), p.xs.double(2)], p.cts.point(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1,2"); done(); }).catch(done); - }); + }); it('cts.pointLatitude#1', function(done) { testPlan([p.cts.point(1, 2)], p.cts.pointLatitude(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('cts.pointLongitude#1', function(done) { testPlan([p.cts.point(1, 2)], p.cts.pointLongitude(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('cts.stem#1', function(done) { testPlan([p.xs.string("ran")], p.cts.stem(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('run'); done(); }).catch(done); - }); + }); it('cts.stem#2', function(done) { testPlan([p.xs.string("ran"), p.xs.string("en")], p.cts.stem(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('run'); done(); }).catch(done); - }); + }); it('cts.tokenize#1', function(done) { testPlan([p.xs.string("a-b c")], p.cts.tokenize(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "-", "b", " ", "c"]); done(); }).catch(done); - }); + }); it('cts.tokenize#2', function(done) { testPlan([p.xs.string("a-b c"), p.xs.string("en")], p.cts.tokenize(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "-", "b", " ", "c"]); done(); }).catch(done); - }); + }); it('fn.abs#1', function(done) { testPlan([p.xs.double(-11)], p.fn.abs(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('11'); done(); }).catch(done); - }); + }); it('fn.analyzeString#2', function(done) { testPlan([p.xs.string("aXbyc"), p.xs.string("[xy]")], p.fn.analyzeString(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('aXbyc'); done(); }).catch(done); - }); + }); it('fn.analyzeString#3', function(done) { testPlan([p.xs.string("aXbyc"), p.xs.string("[xy]"), p.xs.string("i")], p.fn.analyzeString(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('aXbyc'); done(); }).catch(done); - }); + }); it('fn.avg#1', function(done) { testPlan([[p.xs.double(2), p.xs.double(4), p.xs.double(6), p.xs.double(8)]], p.fn.avg(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('5'); done(); }).catch(done); - }); + }); it('fn.boolean#1', function(done) { testPlan([p.xs.string("abc")], p.fn.boolean(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.ceiling#1', function(done) { testPlan([p.xs.double(1.3)], p.fn.ceiling(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('fn.codepointEqual#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("abc")], p.fn.codepointEqual(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.codepointsToString#1', function(done) { testPlan([[p.xs.integer(97), p.xs.integer(98), p.xs.integer(99)]], p.fn.codepointsToString(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('fn.compare#2', function(done) { testPlan([p.xs.string("abz"), p.xs.string("aba")], p.fn.compare(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('fn.compare#3', function(done) { testPlan([p.xs.string("abz"), p.xs.string("aba"), p.xs.string("http://marklogic.com/collation/")], p.fn.compare(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('fn.concat#2', function(done) { testPlan([p.xs.string("a"), p.xs.string("b")], p.fn.concat(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ab'); done(); }).catch(done); - }); + }); it('fn.concat#3', function(done) { testPlan([p.xs.string("a"), p.xs.string("b"), p.xs.string("c")], p.fn.concat(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('fn.contains#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("b")], p.fn.contains(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.contains#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("b"), p.xs.string("http://marklogic.com/collation/")], p.fn.contains(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.count#1', function(done) { testPlan([[p.xs.double(1), p.xs.double(2), p.xs.double(3)]], p.fn.count(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('fn.count#2', function(done) { testPlan([[p.xs.double(1), p.xs.double(2), p.xs.double(3)], p.xs.double(4)], p.fn.count(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('fn.dateTime#2', function(done) { testPlan([p.xs.date("2016-01-02Z"), p.xs.time("10:09:08Z")], p.fn.dateTime(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016-01-02T10:09:08Z'); done(); }).catch(done); - }); + }); it('fn.dayFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02-03:04")], p.fn.dayFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('fn.dayFromDateTime#1', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z")], p.fn.dayFromDateTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('fn.daysFromDuration#1', function(done) { testPlan([p.xs.dayTimeDuration("P3DT4H5M6S")], p.fn.daysFromDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('fn.deepEqual#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("abc")], p.fn.deepEqual(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.deepEqual#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("abc"), p.xs.string("http://marklogic.com/collation/")], p.fn.deepEqual(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.distinctValues#1', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("b"), p.xs.string("c")]], p.fn.distinctValues(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "b", "c"]); done(); }).catch(done); - }); + }); it('fn.distinctValues#2', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("b"), p.xs.string("c")], p.xs.string("http://marklogic.com/collation/")], p.fn.distinctValues(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "b", "c"]); done(); }).catch(done); - }); + }); it('fn.empty#1', function(done) { testPlan([p.xs.double(1)], p.fn.empty(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('fn.encodeForUri#1', function(done) { testPlan([p.xs.string("http://a/b?c#d")], p.fn.encodeForUri(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http%3A%2F%2Fa%2Fb%3Fc%23d'); done(); }).catch(done); - }); + }); it('fn.endsWith#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("c")], p.fn.endsWith(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.endsWith#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("c"), p.xs.string("http://marklogic.com/collation/")], p.fn.endsWith(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.escapeHtmlUri#1', function(done) { testPlan([p.xs.string("http://a/b?c#d")], p.fn.escapeHtmlUri(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http://a/b?c#d'); done(); }).catch(done); - }); + }); it('fn.exists#1', function(done) { testPlan([p.xs.double(1)], p.fn.exists(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.false#0', function(done) { testPlan(undefined, p.fn.false()) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('fn.floor#1', function(done) { testPlan([p.xs.double(1.7)], p.fn.floor(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('fn.formatDate#2', function(done) { testPlan([p.xs.date("2016-01-02-03:04"), p.xs.string("[Y0001]/[M01]/[D01]")], p.fn.formatDate(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016/01/02'); done(); }).catch(done); - }); + }); it('fn.formatDateTime#2', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z"), p.xs.string("[Y0001]/[M01]/[D01] [H01]:[m01]:[s01]:[f01]")], p.fn.formatDateTime(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016/01/02 10:09:08:00'); done(); }).catch(done); - }); + }); it('fn.formatNumber#2', function(done) { testPlan([p.xs.double(1234.5), p.xs.string("#,##0.00")], p.fn.formatNumber(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1,234.50"); done(); }).catch(done); - }); + }); it('fn.formatTime#2', function(done) { testPlan([p.xs.time("10:09:08Z"), p.xs.string("[H01]:[m01]:[s01]:[f01]")], p.fn.formatTime(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('10:09:08:00'); done(); }).catch(done); @@ -393,193 +393,193 @@ describe('plan builder', function() { }); it('fn.hoursFromDateTime#1', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z")], p.fn.hoursFromDateTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('10'); done(); }).catch(done); - }); + }); it('fn.hoursFromDuration#1', function(done) { testPlan([p.xs.dayTimeDuration("P3DT4H5M6S")], p.fn.hoursFromDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('4'); done(); }).catch(done); - }); + }); it('fn.hoursFromTime#1', function(done) { testPlan([p.xs.time("10:09:08Z")], p.fn.hoursFromTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('10'); done(); }).catch(done); - }); + }); it('fn.indexOf#2', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")], p.xs.string("b")], p.fn.indexOf(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('fn.indexOf#3', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")], p.xs.string("b"), p.xs.string("http://marklogic.com/collation/")], p.fn.indexOf(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('fn.insertBefore#3', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("e"), p.xs.string("f")], p.xs.integer(3), [p.xs.string("c"), p.xs.string("d")]], p.fn.insertBefore(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "b", "c", "d", "e", "f"]); done(); }).catch(done); - }); + }); it('fn.iriToUri#1', function(done) { testPlan([p.xs.string("http://a/b?c#d")], p.fn.iriToUri(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http://a/b?c#d'); done(); }).catch(done); - }); + }); it('fn.localNameFromQName#1', function(done) { testPlan([p.xs.QName("abc")], p.fn.localNameFromQName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('fn.lowerCase#1', function(done) { testPlan([p.xs.string("ABC")], p.fn.lowerCase(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('fn.matches#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("^.B")], p.fn.matches(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('fn.matches#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("^.B"), p.xs.string("i")], p.fn.matches(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.max#1', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")]], p.fn.max(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('c'); done(); }).catch(done); - }); + }); it('fn.max#2', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")], p.xs.string("http://marklogic.com/collation/")], p.fn.max(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('c'); done(); }).catch(done); - }); + }); it('fn.min#1', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")]], p.fn.min(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('fn.min#2', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")], p.xs.string("http://marklogic.com/collation/")], p.fn.min(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('fn.minutesFromDateTime#1', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z")], p.fn.minutesFromDateTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('9'); done(); }).catch(done); - }); + }); it('fn.minutesFromDuration#1', function(done) { testPlan([p.xs.dayTimeDuration("P3DT4H5M6S")], p.fn.minutesFromDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('5'); done(); }).catch(done); - }); + }); it('fn.minutesFromTime#1', function(done) { testPlan([p.xs.time("10:09:08Z")], p.fn.minutesFromTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('9'); done(); }).catch(done); - }); + }); it('fn.monthFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02-03:04")], p.fn.monthFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('fn.monthFromDateTime#1', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z")], p.fn.monthFromDateTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('fn.monthsFromDuration#1', function(done) { testPlan([p.xs.yearMonthDuration("P1Y2M")], p.fn.monthsFromDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('fn.namespaceUriFromQName#1', function(done) { testPlan([p.xs.QName("abc")], p.fn.namespaceUriFromQName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal(''); done(); }).catch(done); - }); + }); it('fn.normalizeSpace#1', function(done) { testPlan([p.xs.string(" abc 123 ")], p.fn.normalizeSpace(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc 123'); done(); }).catch(done); - }); + }); it('fn.normalizeUnicode#1', function(done) { testPlan([p.xs.string(" aBc ")], p.fn.normalizeUnicode(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('aBc '); done(); }).catch(done); - }); + }); it('fn.normalizeUnicode#2', function(done) { testPlan([p.xs.string(" aBc "), p.xs.string("NFC")], p.fn.normalizeUnicode(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('aBc '); done(); }).catch(done); - }); + }); it('fn.not#1', function(done) { testPlan([p.xs.boolean(true)], p.fn.not(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('fn.number#1', function(done) { testPlan([p.xs.string("1.1")], p.fn.number(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.1'); done(); }).catch(done); - }); + }); it('fn.prefixFromQName#1', function(done) { testPlan([p.xs.QName("abc")], p.fn.prefixFromQName(p.col("1"))) .then(function(response) { @@ -590,381 +590,381 @@ describe('plan builder', function() { } done(); }).catch(done); - }); + }); it('fn.QName#2', function(done) { testPlan([p.xs.string("http://a/b"), p.xs.string("c")], p.fn.QName(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('c'); done(); }).catch(done); - }); + }); it('fn.remove#2', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("x"), p.xs.string("c")], p.xs.integer(3)], p.fn.remove(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "b", "c"]); done(); }).catch(done); - }); + }); it('fn.replace#3', function(done) { testPlan([p.xs.string("axc"), p.xs.string("^(.)X"), p.xs.string("$1b")], p.fn.replace(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('axc'); done(); }).catch(done); - }); + }); it('fn.replace#4', function(done) { testPlan([p.xs.string("axc"), p.xs.string("^(.)X"), p.xs.string("$1b"), p.xs.string("i")], p.fn.replace(p.col("1"), p.col("2"), p.col("3"), p.col("4"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('fn.resolveUri#2', function(done) { testPlan([p.xs.string("b?c#d"), p.xs.string("http://a/x")], p.fn.resolveUri(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http://a/b?c#d'); done(); }).catch(done); - }); + }); it('fn.reverse#1', function(done) { testPlan([[p.xs.string("c"), p.xs.string("b"), p.xs.string("a")]], p.fn.reverse(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "b", "c"]); done(); }).catch(done); - }); + }); it('fn.round#1', function(done) { testPlan([p.xs.double(1.7)], p.fn.round(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('fn.roundHalfToEven#1', function(done) { testPlan([p.xs.double(1234.5)], p.fn.roundHalfToEven(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1234'); done(); }).catch(done); - }); + }); it('fn.roundHalfToEven#2', function(done) { testPlan([p.xs.double(1234.5), p.xs.integer(-2)], p.fn.roundHalfToEven(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1200'); done(); }).catch(done); - }); + }); it('fn.secondsFromDateTime#1', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z")], p.fn.secondsFromDateTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('8'); done(); }).catch(done); - }); + }); it('fn.secondsFromDuration#1', function(done) { testPlan([p.xs.dayTimeDuration("P3DT4H5M6S")], p.fn.secondsFromDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('6'); done(); }).catch(done); - }); + }); it('fn.secondsFromTime#1', function(done) { testPlan([p.xs.time("10:09:08Z")], p.fn.secondsFromTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('8'); done(); }).catch(done); - }); + }); it('fn.startsWith#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("a")], p.fn.startsWith(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.startsWith#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("a"), p.xs.string("http://marklogic.com/collation/")], p.fn.startsWith(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.string#1', function(done) { testPlan([p.xs.double(1)], p.fn.string(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('fn.stringJoin#2', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")], p.xs.string("+")], p.fn.stringJoin(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a+b+c'); done(); }).catch(done); - }); + }); it('fn.stringLength#1', function(done) { testPlan([p.xs.string("abc")], p.fn.stringLength(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('fn.stringToCodepoints#1', function(done) { testPlan([p.xs.string("abc")], p.fn.stringToCodepoints(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([97, 98, 99]); done(); }).catch(done); - }); + }); it('fn.subsequence#2', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c"), p.xs.string("d"), p.xs.string("e")], p.xs.double(2)], p.fn.subsequence(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["b", "c", "d", "e"]); done(); }).catch(done); - }); + }); it('fn.subsequence#3', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c"), p.xs.string("d"), p.xs.string("e")], p.xs.double(2), p.xs.double(3)], p.fn.subsequence(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["b", "c", "d"]); done(); }).catch(done); - }); + }); it('fn.substring#2', function(done) { testPlan([p.xs.string("abcd"), p.xs.double(2)], p.fn.substring(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('bcd'); done(); }).catch(done); - }); + }); it('fn.substring#3', function(done) { testPlan([p.xs.string("abcd"), p.xs.double(2), p.xs.double(2)], p.fn.substring(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('bc'); done(); }).catch(done); - }); + }); it('fn.substringAfter#2', function(done) { testPlan([p.xs.string("abcd"), p.xs.string("ab")], p.fn.substringAfter(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('cd'); done(); }).catch(done); - }); + }); it('fn.substringAfter#3', function(done) { testPlan([p.xs.string("abcd"), p.xs.string("ab"), p.xs.string("http://marklogic.com/collation/")], p.fn.substringAfter(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('cd'); done(); }).catch(done); - }); + }); it('fn.substringBefore#2', function(done) { testPlan([p.xs.string("abcd"), p.xs.string("cd")], p.fn.substringBefore(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ab'); done(); }).catch(done); - }); + }); it('fn.substringBefore#3', function(done) { testPlan([p.xs.string("abcd"), p.xs.string("cd"), p.xs.string("http://marklogic.com/collation/")], p.fn.substringBefore(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ab'); done(); }).catch(done); - }); + }); it('fn.sum#1', function(done) { testPlan([[p.xs.double(1), p.xs.double(2), p.xs.double(3)]], p.fn.sum(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('6'); done(); }).catch(done); - }); + }); it('fn.tail#1', function(done) { testPlan([[p.xs.string("a"), p.xs.string("b"), p.xs.string("c")]], p.fn.tail(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["b", "c"]); done(); }).catch(done); - }); + }); it('fn.tokenize#2', function(done) { testPlan([p.xs.string("axbxc"), p.xs.string("X")], p.fn.tokenize(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('axbxc'); done(); }).catch(done); - }); + }); it('fn.tokenize#3', function(done) { testPlan([p.xs.string("axbxc"), p.xs.string("X"), p.xs.string("i")], p.fn.tokenize(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["a", "b", "c"]); done(); }).catch(done); - }); + }); it('fn.translate#3', function(done) { testPlan([p.xs.string("axcy"), p.xs.string("xy"), p.xs.string("bd")], p.fn.translate(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abcd'); done(); }).catch(done); - }); + }); it('fn.true#0', function(done) { testPlan(undefined, p.fn.true()) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('fn.upperCase#1', function(done) { testPlan([p.xs.string("abc")], p.fn.upperCase(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ABC'); done(); }).catch(done); - }); + }); it('fn.yearFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02-03:04")], p.fn.yearFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016'); done(); }).catch(done); - }); + }); it('fn.yearFromDateTime#1', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z")], p.fn.yearFromDateTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016'); done(); }).catch(done); - }); + }); it('fn.yearsFromDuration#1', function(done) { testPlan([p.xs.yearMonthDuration("P1Y2M")], p.fn.yearsFromDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('geo.arcIntersection#4', function(done) { testPlan([p.cts.point(1, 2), p.cts.point(1, 2), p.cts.point(1, 2), p.cts.point(1, 2)], p.geo.arcIntersection(p.col("1"), p.col("2"), p.col("3"), p.col("4"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1,2"); done(); }).catch(done); - }); + }); it('geo.arcIntersection#5', function(done) { testPlan([p.cts.point(1, 2), p.cts.point(1, 2), p.cts.point(1, 2), p.cts.point(1, 2), p.xs.string("precision=float")], p.geo.arcIntersection(p.col("1"), p.col("2"), p.col("3"), p.col("4"), p.col("5"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1,2"); done(); }).catch(done); - }); + }); it('geo.bearing#2', function(done) { testPlan([p.cts.point(1, 2), p.cts.point(3, 4)], p.geo.bearing(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(parseFloat(getResult(response).value).toFixed(2)).equal('0.79'); done(); }).catch(done); - }); + }); it('geo.bearing#3', function(done) { testPlan([p.cts.point(1, 2), p.cts.point(3, 4), p.xs.string("precision=float")], p.geo.bearing(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(parseFloat(getResult(response).value).toFixed(2)).equal('0.79'); done(); }).catch(done); - }); + }); it('geo.destination#3', function(done) { testPlan([p.cts.point(1, 2), p.xs.double(1.2), p.xs.double(1.2)], p.geo.destination(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1.0063286,2.0161717"); done(); }).catch(done); - }); + }); it('geo.destination#4', function(done) { testPlan([p.cts.point(1, 2), p.xs.double(1.2), p.xs.double(1.2), p.xs.string("precision=float")], p.geo.destination(p.col("1"), p.col("2"), p.col("3"), p.col("4"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1.0063286,2.0161717"); done(); }).catch(done); - }); + }); it('geo.distance#2', function(done) { testPlan([p.cts.point(1, 2), p.cts.point(1, 2)], p.geo.distance(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('geo.distance#3', function(done) { testPlan([p.cts.point(1, 2), p.cts.point(1, 2), p.xs.string("precision=float")], p.geo.distance(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('geo.distanceConvert#3', function(done) { testPlan([p.xs.double(1), p.xs.string("miles"), p.xs.string("km")], p.geo.distanceConvert(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.609344'); done(); }).catch(done); - }); + }); it('geo.ellipsePolygon#5', function(done) { testPlan([p.cts.point(1, 2), p.xs.double(1.2), p.xs.double(1.2), p.xs.double(1.2), p.xs.double(1.2)], p.geo.ellipsePolygon(p.col("1"), p.col("2"), p.col("3"), p.col("4"), p.col("5"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1.0063287,2.0162783 0.98657537,2.0110099 0.98537451,1.9905261 1.0043854,1.983135 1.0173359,1.9990506 1.0063287,2.0162783"); done(); }).catch(done); - }); + }); it('geo.ellipsePolygon#6', function(done) { testPlan([p.cts.point(1, 2), p.xs.double(1.2), p.xs.double(1.2), p.xs.double(1.2), p.xs.double(1.2), p.xs.string("precision=float")], p.geo.ellipsePolygon(p.col("1"), p.col("2"), p.col("3"), p.col("4"), p.col("5"), p.col("6"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1.0063287,2.0162783 0.98657537,2.0110099 0.98537451,1.9905261 1.0043854,1.983135 1.0173359,1.9990506 1.0063287,2.0162783"); done(); }).catch(done); - }); + }); it('geo.geohashDecode#1', function(done) { testPlan([p.xs.string("abc")], p.geo.geohashDecode(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("[-90, -180, 90, 180]"); done(); }).catch(done); - }); + }); it('geo.geohashDecodePoint#1', function(done) { testPlan([p.xs.string("s01mtw")], p.geo.geohashDecodePoint(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("1.0025024,2.0050049"); done(); }).catch(done); - }); + }); it('geo.geohashNeighbors#1', function(done) { testPlan([p.xs.string("s01mtw")], p.geo.geohashNeighbors(p.col("1"))) .then(function(response) { should(getResult(response).value).eql({"NE":"s01mtz", "S":"s01mtt", "E":"s01mty", "W":"s01mtq", "SW":"s01mtm", "N":"s01mtx", "SE":"s01mtv", "NW":"s01mtr"}); done(); }).catch(done); - }); + }); it('geo.geohashPrecisionDimensions#1', function(done) { testPlan([p.xs.integer(4)], p.geo.geohashPrecisionDimensions(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([0.17578125, 0.3515625]); done(); }).catch(done); - }); + }); it('geo.geohashSubhashes#1', function(done) { if(serverConfiguration.serverVersion < 11){ this.skip(); } testPlan([p.xs.string("s01mtw")], p.geo.geohashSubhashes(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["s01mtw0", "s01mtw1", "s01mtw2", "s01mtw3", "s01mtw4", "s01mtw5", "s01mtw6", "s01mtw7", "s01mtw8", "s01mtw9", "s01mtwb", "s01mtwc", "s01mtwd", "s01mtwe", "s01mtwf", "s01mtwg", "s01mtwh", "s01mtwj", "s01mtwk", "s01mtwm", "s01mtwn", "s01mtwp", "s01mtwq", "s01mtwr", "s01mtws", "s01mtwt", "s01mtwu", "s01mtwv", "s01mtww", "s01mtwx", "s01mtwy", "s01mtwz"]); done(); }).catch(error => done(error)); }); it('geo.geohashSubhashes#2', function(done) { testPlan([p.xs.string("s01mtw"), p.xs.string("S")], p.geo.geohashSubhashes(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["s01mtwh", "s01mtwj", "s01mtwk", "s01mtwm", "s01mtwn", "s01mtwp", "s01mtwq", "s01mtwr", "s01mtws", "s01mtwt", "s01mtwu", "s01mtwv", "s01mtww", "s01mtwx", "s01mtwy", "s01mtwz"]); done(); }).catch(done); - }); + }); it('geo.parseWkt#1', function(done) { testPlan([p.xs.string("LINESTRING(-112.25 47.1,-112.3 47.1,-112.4 47.2)")], p.geo.parseWkt(p.col("1"))) .then(function(response) { @@ -973,756 +973,756 @@ describe('plan builder', function() { should(getResult(response).value).eql(responseValue); done(); }).catch(done); - }); + }); it('geo.validateWkt#1', function(done) { testPlan([p.xs.string("POINT(2 1)")], p.geo.validateWkt(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('json.array#0', function(done) { testPlan(undefined, p.json.array()) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([]); done(); }).catch(done); - }); + }); it('json.toArray#0', function(done) { testPlan(undefined, p.json.toArray()) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([]); done(); }).catch(done); - }); + }); it('map.entry#2', function(done) { testPlan([p.xs.string("one"), p.xs.string("two")], p.map.entry(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql({"one":"two"}); done(); }).catch(done); - }); + }); it('map.map#0', function(done) { testPlan(undefined, p.map.map()) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql({}); done(); }).catch(done); - }); + }); it('map.new#0', function(done) { testPlan(undefined, p.map.new()) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql({}); done(); }).catch(done); - }); + }); it('math.acos#1', function(done) { testPlan([p.xs.double(0.5)], p.math.acos(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.0471975511966'); done(); }).catch(done); - }); + }); it('math.asin#1', function(done) { testPlan([p.xs.double(0.5)], p.math.asin(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0.523598775598299'); done(); }).catch(done); - }); + }); it('math.atan#1', function(done) { testPlan([p.xs.double(3.14159)], p.math.atan(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.26262701154934'); done(); }).catch(done); - }); + }); it('math.atan2#2', function(done) { testPlan([p.xs.double(36.23), p.xs.double(5.234)], p.math.atan2(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.42732303452594'); done(); }).catch(done); - }); + }); it('math.ceil#1', function(done) { testPlan([p.xs.double(1.3)], p.math.ceil(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('math.cos#1', function(done) { testPlan([p.xs.double(11)], p.math.cos(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0.00442569798805079'); done(); }).catch(done); - }); + }); it('math.cosh#1', function(done) { testPlan([p.xs.double(11)], p.math.cosh(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('29937.0708659498'); done(); }).catch(done); - }); + }); it('math.cot#1', function(done) { testPlan([p.xs.double(19.5)], p.math.cot(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.31422390103306'); done(); }).catch(done); - }); + }); it('math.degrees#1', function(done) { testPlan([p.xs.double(1.5707963267949)], p.math.degrees(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('90.0000000000002'); done(); }).catch(done); - }); + }); it('math.exp#1', function(done) { testPlan([p.xs.double(0.1)], p.math.exp(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.10517091807565'); done(); }).catch(done); - }); + }); it('math.fabs#1', function(done) { testPlan([p.xs.double(4.013)], p.math.fabs(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('4.013'); done(); }).catch(done); - }); + }); it('math.floor#1', function(done) { testPlan([p.xs.double(1.7)], p.math.floor(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('math.fmod#2', function(done) { testPlan([p.xs.double(10), p.xs.double(3)], p.math.fmod(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('math.frexp#1', function(done) { testPlan([p.xs.double(10)], p.math.frexp(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([0.625, 4]); done(); }).catch(done); - }); + }); it('math.ldexp#2', function(done) { testPlan([p.xs.double(1.333), p.xs.integer(10)], p.math.ldexp(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1364.992'); done(); }).catch(done); - }); + }); it('math.log#1', function(done) { testPlan([p.xs.double(1000)], p.math.log(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('6.90775527898214'); done(); }).catch(done); - }); + }); it('math.log10#1', function(done) { testPlan([p.xs.double(1000)], p.math.log10(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('math.median#1', function(done) { testPlan([p.xs.double(1.2)], p.math.median(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.2'); done(); }).catch(done); - }); + }); it('math.mode#1', function(done) { testPlan([[p.xs.string("abc"), p.xs.string("abc"), p.xs.string("def")]], p.math.mode(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('math.mode#2', function(done) { testPlan([[p.xs.string("abc"), p.xs.string("abc"), p.xs.string("def")], p.xs.string("collation=http://marklogic.com/collation/")], p.math.mode(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('math.modf#1', function(done) { testPlan([p.xs.double(1.333)], p.math.modf(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([0.333, 1]); done(); }).catch(done); - }); + }); it('math.percentRank#2', function(done) { testPlan([[p.xs.double(1), p.xs.double(7), p.xs.double(5), p.xs.double(5), p.xs.double(10), p.xs.double(9)], p.xs.double(9)], p.math.percentRank(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0.833333333333333'); done(); }).catch(done); - }); + }); it('math.percentRank#3', function(done) { testPlan([[p.xs.double(1), p.xs.double(7), p.xs.double(5), p.xs.double(5), p.xs.double(10), p.xs.double(9)], p.xs.double(9), p.xs.string("descending")], p.math.percentRank(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0.333333333333333'); done(); }).catch(done); - }); + }); it('math.percentile#2', function(done) { testPlan([[p.xs.double(2), p.xs.double(3), p.xs.double(1), p.xs.double(4)], [p.xs.double(0.25), p.xs.double(0.75)]], p.math.percentile(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([1.5, 3.5]); done(); }).catch(done); - }); + }); it('math.pi#0', function(done) { testPlan(undefined, p.math.pi()) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3.14159265358979'); done(); }).catch(done); - }); + }); it('math.pow#2', function(done) { testPlan([p.xs.double(2), p.xs.double(10)], p.math.pow(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1024'); done(); }).catch(done); - }); + }); it('math.radians#1', function(done) { testPlan([p.xs.double(90)], p.math.radians(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.5707963267949'); done(); }).catch(done); - }); + }); it('math.rank#2', function(done) { testPlan([[p.xs.double(1), p.xs.double(7), p.xs.double(5), p.xs.double(5), p.xs.double(10), p.xs.double(9)], p.xs.double(9)], p.math.rank(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('5'); done(); }).catch(done); - }); + }); it('math.rank#3', function(done) { testPlan([[p.xs.double(1), p.xs.double(7), p.xs.double(5), p.xs.double(5), p.xs.double(10), p.xs.double(9)], p.xs.double(9), p.xs.string("descending")], p.math.rank(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('math.sin#1', function(done) { testPlan([p.xs.double(1.95)], p.math.sin(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0.928959715003869'); done(); }).catch(done); - }); + }); it('math.sinh#1', function(done) { testPlan([p.xs.double(1.95)], p.math.sinh(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3.44320675450139'); done(); }).catch(done); - }); + }); it('math.sqrt#1', function(done) { testPlan([p.xs.double(4)], p.math.sqrt(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('math.stddev#1', function(done) { testPlan([p.xs.double(1.2)], p.math.stddev(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(null); done(); }).catch(done); - }); + }); it('math.stddevP#1', function(done) { testPlan([p.xs.double(1.2)], p.math.stddevP(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('math.tan#1', function(done) { testPlan([p.xs.double(19.5)], p.math.tan(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0.760905351982977'); done(); }).catch(done); - }); + }); it('math.tanh#1', function(done) { testPlan([p.xs.double(0.95)], p.math.tanh(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0.739783051274004'); done(); }).catch(done); - }); + }); it('math.trunc#1', function(done) { testPlan([p.xs.double(123.456)], p.math.trunc(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('123'); done(); }).catch(done); - }); + }); it('math.trunc#2', function(done) { testPlan([p.xs.double(123.456), p.xs.integer(2)], p.math.trunc(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('123.45'); done(); }).catch(done); - }); + }); it('math.variance#1', function(done) { testPlan([p.xs.double(1.2)], p.math.variance(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(null); done(); }).catch(done); - }); + }); it('math.varianceP#1', function(done) { testPlan([p.xs.double(1.2)], p.math.varianceP(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('rdf.langString#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("en")], p.rdf.langString(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('rdf.langStringLanguage#1', function(done) { testPlan([p.rdf.langString("abc", "en")], p.rdf.langStringLanguage(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('en'); done(); }).catch(done); - }); + }); it('sem.coalesce#2', function(done) { testPlan([p.xs.string("a"), p.xs.string("b")], p.sem.coalesce(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('sem.coalesce#3', function(done) { testPlan([p.xs.string("a"), p.xs.string("b"), p.xs.string("c")], p.sem.coalesce(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('sem.datatype#1', function(done) { testPlan([p.xs.string("a")], p.sem.datatype(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http://www.w3.org/2001/XMLSchema#string'); done(); }).catch(done); - }); + }); it('sem.defaultGraphIri#0', function(done) { testPlan(undefined, p.sem.defaultGraphIri()) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http://marklogic.com/semantics#default-graph'); done(); }).catch(done); - }); + }); it('sem.if#3', function(done) { testPlan([p.xs.boolean(true), p.xs.string("a"), p.xs.string("b")], p.sem.if(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('sem.invalid#2', function(done) { testPlan([p.xs.string("abc"), p.sem.iri("http://a/b")], p.sem.invalid(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sem.iri#1', function(done) { testPlan([p.xs.string("http://a/b")], p.sem.iri(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http://a/b'); done(); }).catch(done); - }); + }); it('sem.iriToQName#1', function(done) { testPlan([p.xs.string("http://a/b")], p.sem.iriToQName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('b'); done(); }).catch(done); - }); + }); it('sem.isBlank#1', function(done) { testPlan([p.xs.double(1)], p.sem.isBlank(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('sem.isIRI#1', function(done) { testPlan([p.xs.double(1)], p.sem.isIRI(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('sem.isLiteral#1', function(done) { testPlan([p.xs.double(1)], p.sem.isLiteral(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('sem.isNumeric#1', function(done) { testPlan([p.xs.string("a")], p.sem.isNumeric(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('sem.lang#1', function(done) { testPlan([p.xs.string("abc")], p.sem.lang(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal(''); done(); }).catch(done); - }); + }); it('sem.langMatches#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("abc")], p.sem.langMatches(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('sem.QNameToIri#1', function(done) { testPlan([p.xs.QName("abc")], p.sem.QNameToIri(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sem.sameTerm#2', function(done) { testPlan([p.xs.double(1), p.xs.double(1)], p.sem.sameTerm(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('sem.timezoneString#1', function(done) { testPlan([p.xs.dateTime("2016-01-02T10:09:08Z")], p.sem.timezoneString(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('Z'); done(); }).catch(done); - }); + }); it('sem.typedLiteral#2', function(done) { testPlan([p.xs.string("abc"), p.sem.iri("http://a/b")], p.sem.typedLiteral(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sem.unknown#2', function(done) { testPlan([p.xs.string("abc"), p.sem.iri("http://a/b")], p.sem.unknown(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('spell.doubleMetaphone#1', function(done) { testPlan([p.xs.string("smith")], p.spell.doubleMetaphone(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(["smo", "xmt"]); done(); }).catch(done); - }); + }); it('spell.levenshteinDistance#2', function(done) { testPlan([p.xs.string("cat"), p.xs.string("cats")], p.spell.levenshteinDistance(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('spell.romanize#1', function(done) { testPlan([p.xs.string("abc")], p.spell.romanize(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sql.bitLength#1', function(done) { testPlan([p.xs.string("abc")], p.sql.bitLength(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('24'); done(); }).catch(done); - }); + }); it('sql.bucket#2', function(done) { testPlan([[p.xs.double(2), p.xs.double(4)], p.xs.double(3)], p.sql.bucket(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('sql.collatedString#2', function(done) { testPlan([p.xs.string("a"), p.xs.string("http://marklogic.com/collation/")], p.sql.collatedString(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('sql.dateadd#3', function(done) { testPlan([p.xs.string("day"), p.xs.int(3), p.xs.string("2016-01-02T10:09:08Z")], p.sql.dateadd(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016-01-05T10:09:08Z'); done(); }).catch(done); - }); + }); it('sql.datediff#3', function(done) { testPlan([p.xs.string("day"), p.xs.string("2016-01-02T10:09:08Z"), p.xs.string("2016-01-05T10:09:08Z")], p.sql.datediff(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('sql.datepart#2', function(done) { testPlan([p.xs.string("day"), p.xs.string("2016-01-05T10:09:08Z")], p.sql.datepart(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('5'); done(); }).catch(done); - }); + }); it('sql.day#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.day(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('sql.dayname#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.dayname(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('Saturday'); done(); }).catch(done); - }); + }); it('sql.glob#2', function(done) { testPlan([p.xs.string("abcdefg"), p.xs.string("a??d*g")], p.sql.glob(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('sql.hours#1', function(done) { testPlan([p.xs.string("10:09:08")], p.sql.hours(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('10'); done(); }).catch(done); - }); + }); it('sql.ifnull#2', function(done) { testPlan([p.xs.string("a"), p.xs.string("b")], p.sql.ifnull(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('sql.insert#4', function(done) { testPlan([p.xs.string("axxxf"), p.xs.double(2), p.xs.double(3), p.xs.string("bcde")], p.sql.insert(p.col("1"), p.col("2"), p.col("3"), p.col("4"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abcdef'); done(); }).catch(done); - }); + }); it('sql.instr#2', function(done) { testPlan([p.xs.string("abcde"), p.xs.string("cd")], p.sql.instr(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('sql.left#2', function(done) { testPlan([p.xs.string("abcde"), p.xs.double(3)], p.sql.left(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sql.like#2', function(done) { testPlan([p.xs.string("abcdefg%h"), p.xs.string("a__d%g!%h")], p.sql.like(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(false); done(); }).catch(done); - }); + }); it('sql.like#3', function(done) { testPlan([p.xs.string("abcdefg%h"), p.xs.string("a__d%g!%h"), p.xs.string("!")], p.sql.like(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('sql.ltrim#1', function(done) { testPlan([p.xs.string(" abc")], p.sql.ltrim(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sql.minutes#1', function(done) { testPlan([p.xs.string("10:09:08")], p.sql.minutes(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('9'); done(); }).catch(done); - }); + }); it('sql.month#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.month(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('sql.monthname#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.monthname(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('January'); done(); }).catch(done); - }); + }); it('sql.nullif#2', function(done) { testPlan([p.xs.string("a"), p.xs.string("b")], p.sql.nullif(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a'); done(); }).catch(done); - }); + }); it('sql.octetLength#1', function(done) { testPlan([p.xs.string("abc")], p.sql.octetLength(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3'); done(); }).catch(done); - }); + }); it('sql.quarter#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.quarter(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('sql.repeat#2', function(done) { testPlan([p.xs.string("abc"), p.xs.double(2)], p.sql.repeat(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abcabc'); done(); }).catch(done); - }); + }); it('sql.right#2', function(done) { testPlan([p.xs.string("abcde"), p.xs.double(3)], p.sql.right(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('cde'); done(); }).catch(done); - }); + }); it('sql.rtrim#1', function(done) { testPlan([p.xs.string("abc ")], p.sql.rtrim(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sql.seconds#1', function(done) { testPlan([p.xs.string("10:09:08")], p.sql.seconds(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('8'); done(); }).catch(done); - }); + }); it('sql.sign#1', function(done) { testPlan([p.xs.double(-3)], p.sql.sign(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('-1'); done(); }).catch(done); - }); + }); it('sql.soundex#1', function(done) { testPlan([p.xs.string("word")], p.sql.soundex(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('W630'); done(); }).catch(done); - }); + }); it('sql.space#1', function(done) { testPlan([p.xs.double(2)], p.sql.space(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value)).equal(' '); done(); }).catch(done); - }); + }); it('sql.strpos#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("b")], p.sql.strpos(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('sql.strpos#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("b"), p.xs.string("http://marklogic.com/collation/")], p.sql.strpos(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('sql.trim#1', function(done) { testPlan([p.xs.string(" abc ")], p.sql.trim(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('sql.week#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.week(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('53'); done(); }).catch(done); - }); + }); it('sql.weekday#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.weekday(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('6'); done(); }).catch(done); - }); + }); it('sql.year#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.year(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016'); done(); }).catch(done); - }); + }); it('sql.yearday#1', function(done) { testPlan([p.xs.string("2016-01-02")], p.sql.yearday(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('vec.base64Decode#1', function(done) { if(serverConfiguration.serverVersion < 12) { this.skip(); @@ -1765,877 +1765,877 @@ describe('plan builder', function() { }); it('xdmp.add64#2', function(done) { testPlan([p.xs.unsignedLong(123), p.xs.unsignedLong(456)], p.xdmp.add64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('579'); done(); }).catch(done); - }); + }); it('xdmp.and64#2', function(done) { testPlan([p.xs.unsignedLong(255), p.xs.unsignedLong(2)], p.xdmp.and64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('xdmp.base64Decode#1', function(done) { testPlan([p.xs.string("aGVsbG8sIHdvcmxk")], p.xdmp.base64Decode(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql("hello, world"); done(); }).catch(done); - }); + }); it('xdmp.base64Encode#1', function(done) { testPlan([p.xs.string("hello, world")], p.xdmp.base64Encode(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('aGVsbG8sIHdvcmxk'); done(); }).catch(done); - }); + }); it('xdmp.castableAs#3', function(done) { testPlan([p.xs.string("http://www.w3.org/2001/XMLSchema"), p.xs.string("int"), p.xs.string("1")], p.xdmp.castableAs(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('xdmp.crypt#2', function(done) { testPlan([p.xs.string("123abc"), p.xs.string("admin")], p.xdmp.crypt(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('arQEnpM6JHR8vY4n3e5gr0'); done(); }).catch(done); - }); + }); it('xdmp.daynameFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02")], p.xdmp.daynameFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('Saturday'); done(); }).catch(done); - }); + }); it('xdmp.decodeFromNCName#1', function(done) { testPlan([p.xs.string("A_20_Name")], p.xdmp.decodeFromNCName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('A Name'); done(); }).catch(done); - }); + }); it('xdmp.diacriticLess#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.diacriticLess(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('xdmp.encodeForNCName#1', function(done) { testPlan([p.xs.string("A Name")], p.xdmp.encodeForNCName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('A_20_Name'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#1', function(done) { testPlan([p.xs.double(9)], p.xdmp.formatNumber(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('9'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#2', function(done) { testPlan([p.xs.double(9), p.xs.string("W")], p.xdmp.formatNumber(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('9'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#3', function(done) { testPlan([p.xs.double(9), p.xs.string("W"), p.xs.string("en")], p.xdmp.formatNumber(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('NINE'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#4', function(done) { testPlan([p.xs.double(9), p.xs.string("W"), p.xs.string("en"), p.xs.string("")], p.xdmp.formatNumber(p.col("1"), p.col("2"), p.col("3"), p.col("4"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('NINE'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#5', function(done) { testPlan([p.xs.double(9), p.xs.string("W"), p.xs.string("en"), p.xs.string(""), p.xs.string("")], p.xdmp.formatNumber(p.col("1"), p.col("2"), p.col("3"), p.col("4"), p.col("5"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('NINE'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#6', function(done) { testPlan([p.xs.double(9), p.xs.string("W"), p.xs.string("en"), p.xs.string(""), p.xs.string(""), p.xs.string("")], p.xdmp.formatNumber(p.col("1"), p.col("2"), p.col("3"), p.col("4"), p.col("5"), p.col("6"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('NINE'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#7', function(done) { testPlan([p.xs.double(9), p.xs.string("W"), p.xs.string("en"), p.xs.string(""), p.xs.string(""), p.xs.string(""), p.xs.string(",")], p.xdmp.formatNumber(p.col("1"), p.col("2"), p.col("3"), p.col("4"), p.col("5"), p.col("6"), p.col("7"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('NINE'); done(); }).catch(done); - }); + }); it('xdmp.formatNumber#8', function(done) { testPlan([p.xs.double(9), p.xs.string("W"), p.xs.string("en"), p.xs.string(""), p.xs.string(""), p.xs.string(""), p.xs.string(","), p.xs.integer(3)], p.xdmp.formatNumber(p.col("1"), p.col("2"), p.col("3"), p.col("4"), p.col("5"), p.col("6"), p.col("7"), p.col("8"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('NINE'); done(); }).catch(done); - }); + }); it('xdmp.hash32#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.hash32(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('4229403455'); done(); }).catch(done); - }); + }); it('xdmp.hash64#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.hash64(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('13056678368508584127'); done(); }).catch(done); - }); + }); it('xdmp.hexToInteger#1', function(done) { testPlan([p.xs.string("1234567890abcdef")], p.xdmp.hexToInteger(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1311768467294899695'); done(); }).catch(done); - }); + }); it('xdmp.hmacMd5#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def")], p.xdmp.hmacMd5(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('debda77b7cc3e7a10ee70104e6717a6b'); done(); }).catch(done); - }); + }); it('xdmp.hmacMd5#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def"), p.xs.string("base64")], p.xdmp.hmacMd5(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3r2ne3zD56EO5wEE5nF6aw=='); done(); }).catch(done); - }); + }); it('xdmp.hmacSha1#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def")], p.xdmp.hmacSha1(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('12554eabbaf7e8e12e4737020f987ca7901016e5'); done(); }).catch(done); - }); + }); it('xdmp.hmacSha1#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def"), p.xs.string("base64")], p.xdmp.hmacSha1(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ElVOq7r36OEuRzcCD5h8p5AQFuU='); done(); }).catch(done); - }); + }); it('xdmp.hmacSha256#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def")], p.xdmp.hmacSha256(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('20ebc0f09344470134f35040f63ea98b1d8e414212949ee5c500429d15eab081'); done(); }).catch(done); - }); + }); it('xdmp.hmacSha256#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def"), p.xs.string("base64")], p.xdmp.hmacSha256(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('IOvA8JNERwE081BA9j6pix2OQUISlJ7lxQBCnRXqsIE='); done(); }).catch(done); - }); + }); it('xdmp.hmacSha512#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def")], p.xdmp.hmacSha512(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('bf93c3deee1eb6660ec00820a285327b3e8b775f641fd7f2ea321b6a241afe7b49a5cca81d2e8e1d206bd3379530e2d9ad3a7b2cc54ca66ea3352ebfee3862e5'); done(); }).catch(done); - }); + }); it('xdmp.hmacSha512#3', function(done) { testPlan([p.xs.string("abc"), p.xs.string("def"), p.xs.string("base64")], p.xdmp.hmacSha512(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('v5PD3u4etmYOwAggooUyez6Ld19kH9fy6jIbaiQa/ntJpcyoHS6OHSBr0zeVMOLZrTp7LMVMpm6jNS6/7jhi5Q=='); done(); }).catch(done); - }); + }); it('xdmp.initcap#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.initcap(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('Abc'); done(); }).catch(done); - }); + }); it('xdmp.integerToHex#1', function(done) { testPlan([p.xs.integer(123)], p.xdmp.integerToHex(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('7b'); done(); }).catch(done); - }); + }); it('xdmp.integerToOctal#1', function(done) { testPlan([p.xs.integer(123)], p.xdmp.integerToOctal(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('173'); done(); }).catch(done); - }); + }); it('xdmp.keyFromQName#1', function(done) { testPlan([p.xs.QName("abc")], p.xdmp.keyFromQName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('xdmp.lshift64#2', function(done) { testPlan([p.xs.unsignedLong(255), p.xs.long(2)], p.xdmp.lshift64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1020'); done(); }).catch(done); - }); + }); it('xdmp.md5#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.md5(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('900150983cd24fb0d6963f7d28e17f72'); done(); }).catch(done); - }); + }); it('xdmp.md5#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("base64")], p.xdmp.md5(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('kAFQmDzST7DWlj99KOF/cg=='); done(); }).catch(done); - }); + }); it('xdmp.monthNameFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02")], p.xdmp.monthNameFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('January'); done(); }).catch(done); - }); + }); it('xdmp.mul64#2', function(done) { testPlan([p.xs.unsignedLong(123), p.xs.unsignedLong(456)], p.xdmp.mul64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('56088'); done(); }).catch(done); - }); + }); it('xdmp.not64#1', function(done) { testPlan([p.xs.unsignedLong(255)], p.xdmp.not64(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('18446744073709551360'); done(); }).catch(done); - }); + }); it('xdmp.octalToInteger#1', function(done) { testPlan([p.xs.string("12345670")], p.xdmp.octalToInteger(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2739128'); done(); }).catch(done); - }); + }); it('xdmp.or64#2', function(done) { testPlan([p.xs.unsignedLong(255), p.xs.unsignedLong(2)], p.xdmp.or64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('255'); done(); }).catch(done); - }); + }); it('xdmp.position#2', function(done) { testPlan([p.xs.string("abcdef"), p.xs.string("cd")], p.xdmp.position(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('xdmp.position#3', function(done) { testPlan([p.xs.string("abcdef"), p.xs.string("cd"), p.xs.string("http://marklogic.com/collation/")], p.xdmp.position(p.col("1"), p.col("2"), p.col("3"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('xdmp.QNameFromKey#1', function(done) { testPlan([p.xs.string("{http://a/b}c")], p.xdmp.QNameFromKey(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('c'); done(); }).catch(done); - }); + }); it('xdmp.quarterFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02")], p.xdmp.quarterFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xdmp.resolveUri#2', function(done) { testPlan([p.xs.string("b?c#d"), p.xs.string("/a/x")], p.xdmp.resolveUri(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('/a/b?c#d'); done(); }).catch(done); - }); + }); it('xdmp.rshift64#2', function(done) { testPlan([p.xs.unsignedLong(255), p.xs.long(2)], p.xdmp.rshift64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('63'); done(); }).catch(done); - }); + }); it('xdmp.sha1#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.sha1(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a9993e364706816aba3e25717850c26c9cd0d89d'); done(); }).catch(done); - }); + }); it('xdmp.sha1#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("base64")], p.xdmp.sha1(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('qZk+NkcGgWq6PiVxeFDCbJzQ2J0='); done(); }).catch(done); - }); + }); it('xdmp.sha256#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.sha256(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad'); done(); }).catch(done); - }); + }); it('xdmp.sha256#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("base64")], p.xdmp.sha256(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0='); done(); }).catch(done); - }); + }); it('xdmp.sha384#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.sha384(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7'); done(); }).catch(done); - }); + }); it('xdmp.sha384#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("base64")], p.xdmp.sha384(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ywB1P0WjXou1oD1pmsZQBycsMqsO3tFjGotgWkP/W+2AhgcroefMI1i67KE0yCWn'); done(); }).catch(done); - }); + }); it('xdmp.sha512#1', function(done) { testPlan([p.xs.string("abc")], p.xdmp.sha512(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f'); done(); }).catch(done); - }); + }); it('xdmp.sha512#2', function(done) { testPlan([p.xs.string("abc"), p.xs.string("base64")], p.xdmp.sha512(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw=='); done(); }).catch(done); - }); + }); it('xdmp.step64#2', function(done) { testPlan([p.xs.unsignedLong(123), p.xs.unsignedLong(456)], p.xdmp.step64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('8966314677'); done(); }).catch(done); - }); + }); it('xdmp.type#1', function(done) { testPlan([p.xs.string("a")], p.xdmp.type(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('string'); done(); }).catch(done); - }); + }); it('xdmp.unquote#1', function(done) { if(serverConfiguration.serverVersion < 11){ this.skip(); } testPlan([p.xs.string("[123]")], p.xdmp.unquote(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql([123]); done(); }).catch(done); - }); + }); it('xdmp.uriContentType#1', function(done) { testPlan([p.xs.string("a.json")], p.xdmp.uriContentType(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('application/json'); done(); }).catch(done); - }); + }); it('xdmp.uriFormat#1', function(done) { testPlan([p.xs.string("a.json")], p.xdmp.uriFormat(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('json'); done(); }).catch(done); - }); + }); it('xdmp.urlDecode#1', function(done) { testPlan([p.xs.string("a+b")], p.xdmp.urlDecode(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a b'); done(); }).catch(done); - }); + }); it('xdmp.urlEncode#1', function(done) { testPlan([p.xs.string("a b")], p.xdmp.urlEncode(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a+b'); done(); }).catch(done); - }); + }); it('xdmp.weekFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02")], p.xdmp.weekFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('53'); done(); }).catch(done); - }); + }); it('xdmp.weekdayFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02")], p.xdmp.weekdayFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('6'); done(); }).catch(done); - }); + }); it('xdmp.xor64#2', function(done) { testPlan([p.xs.unsignedLong(255), p.xs.unsignedLong(2)], p.xdmp.xor64(p.col("1"), p.col("2"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('253'); done(); }).catch(done); - }); + }); it('xdmp.yeardayFromDate#1', function(done) { testPlan([p.xs.date("2016-01-02")], p.xdmp.yeardayFromDate(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2'); done(); }).catch(done); - }); + }); it('xs.anyURI#1', function(done) { testPlan([p.xs.string("http://a/b?c#d")], p.xs.anyURI(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('http://a/b?c#d'); done(); }).catch(done); - }); + }); it('xs.base64Binary#1', function(done) { testPlan([p.xs.string("aGVsbG8sIHdvcmxk")], p.xs.base64Binary(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('aGVsbG8sIHdvcmxk'); done(); }).catch(done); - }); + }); it('xs.boolean#1', function(done) { testPlan([p.xs.boolean(true)], p.xs.boolean(p.col("1"))) - .then(function(response) { + .then(function(response) { should(getResult(response).value).eql(true); done(); }).catch(done); - }); + }); it('xs.byte#1', function(done) { testPlan([p.xs.double(1)], p.xs.byte(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.date#1', function(done) { testPlan([p.xs.string("2016-01-02Z")], p.xs.date(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016-01-02Z'); done(); }).catch(done); - }); + }); it('xs.dateTime#1', function(done) { testPlan([p.xs.string("2016-01-02T10:09:08Z")], p.xs.dateTime(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016-01-02T10:09:08Z'); done(); }).catch(done); - }); + }); it('xs.dayTimeDuration#1', function(done) { testPlan([p.xs.string("P3DT4H5M6S")], p.xs.dayTimeDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('P3DT4H5M6S'); done(); }).catch(done); - }); + }); it('xs.decimal#1', function(done) { testPlan([p.xs.double(1.2)], p.xs.decimal(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.2'); done(); }).catch(done); - }); + }); it('xs.double#1', function(done) { testPlan([p.xs.double(1.2)], p.xs.double(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.2'); done(); }).catch(done); - }); + }); it('xs.float#1', function(done) { testPlan([p.xs.double(1)], p.xs.float(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.gDay#1', function(done) { testPlan([p.xs.string("---02")], p.xs.gDay(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('---02'); done(); }).catch(done); - }); + }); it('xs.gMonth#1', function(done) { testPlan([p.xs.string("--01")], p.xs.gMonth(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('--01'); done(); }).catch(done); - }); + }); it('xs.gMonthDay#1', function(done) { testPlan([p.xs.string("--01-02")], p.xs.gMonthDay(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('--01-02'); done(); }).catch(done); - }); + }); it('xs.gYear#1', function(done) { testPlan([p.xs.string("2016")], p.xs.gYear(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016'); done(); }).catch(done); - }); + }); it('xs.gYearMonth#1', function(done) { testPlan([p.xs.string("2016-01")], p.xs.gYearMonth(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('2016-01'); done(); }).catch(done); - }); + }); it('xs.hexBinary#1', function(done) { testPlan([p.xs.string("68656c6c6f2c20776f726c64")], p.xs.hexBinary(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('68656C6C6F2C20776F726C64'); done(); }).catch(done); - }); + }); it('xs.int#1', function(done) { testPlan([p.xs.double(1)], p.xs.int(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.integer#1', function(done) { testPlan([p.xs.double(1)], p.xs.integer(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.language#1', function(done) { testPlan([p.xs.string("en-US")], p.xs.language(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('en-US'); done(); }).catch(done); - }); + }); it('xs.long#1', function(done) { testPlan([p.xs.double(1)], p.xs.long(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.Name#1', function(done) { testPlan([p.xs.string("a:b:c")], p.xs.Name(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a:b:c'); done(); }).catch(done); - }); + }); it('xs.NCName#1', function(done) { testPlan([p.xs.string("a-b-c")], p.xs.NCName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a-b-c'); done(); }).catch(done); - }); + }); it('xs.negativeInteger#1', function(done) { testPlan([p.xs.double(-1)], p.xs.negativeInteger(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('-1'); done(); }).catch(done); - }); + }); it('xs.NMTOKEN#1', function(done) { testPlan([p.xs.string("a:b:c")], p.xs.NMTOKEN(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a:b:c'); done(); }).catch(done); - }); + }); it('xs.nonNegativeInteger#1', function(done) { testPlan([p.xs.string("0")], p.xs.nonNegativeInteger(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('xs.nonPositiveInteger#1', function(done) { testPlan([p.xs.string("0")], p.xs.nonPositiveInteger(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('0'); done(); }).catch(done); - }); + }); it('xs.normalizedString#1', function(done) { testPlan([p.xs.string("a b c")], p.xs.normalizedString(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a b c'); done(); }).catch(done); - }); + }); it('xs.numeric#1', function(done) { testPlan([p.xs.double(1.2)], p.xs.numeric(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1.2'); done(); }).catch(done); - }); + }); it('xs.positiveInteger#1', function(done) { testPlan([p.xs.double(1)], p.xs.positiveInteger(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.QName#1', function(done) { testPlan([p.xs.string("abc")], p.xs.QName(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('xs.short#1', function(done) { testPlan([p.xs.double(1)], p.xs.short(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.string#1', function(done) { testPlan([p.xs.string("abc")], p.xs.string(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('xs.time#1', function(done) { testPlan([p.xs.string("10:09:08Z")], p.xs.time(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('10:09:08Z'); done(); }).catch(done); - }); + }); it('xs.token#1', function(done) { testPlan([p.xs.string("a b c")], p.xs.token(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('a b c'); done(); }).catch(done); - }); + }); it('xs.unsignedByte#1', function(done) { testPlan([p.xs.double(1)], p.xs.unsignedByte(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.unsignedInt#1', function(done) { testPlan([p.xs.double(1)], p.xs.unsignedInt(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.unsignedLong#1', function(done) { testPlan([p.xs.double(1)], p.xs.unsignedLong(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.unsignedShort#1', function(done) { testPlan([p.xs.double(1)], p.xs.unsignedShort(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('1'); done(); }).catch(done); - }); + }); it('xs.untypedAtomic#1', function(done) { testPlan([p.xs.string("abc")], p.xs.untypedAtomic(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); - }); + }); it('xs.yearMonthDuration#1', function(done) { testPlan([p.xs.string("P1Y2M")], p.xs.yearMonthDuration(p.col("1"))) - .then(function(response) { + .then(function(response) { should(String(getResult(response).value).replace(/^ /, '')).equal('P1Y2M'); done(); }).catch(done); }); }); - describe('expression operators', function() { + describe('expression operators', function() { it('add#2', function(done) { testPlan([p.xs.double(1), p.xs.double(2)], p.add(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(3); done(); }).catch(done); - }); + }); it('add#3', function(done) { testPlan([p.xs.double(1), p.xs.double(2), p.xs.double(3)], p.add(p.col("1"), p.col("2"), p.col("3"))) .then(function(response) { should(getResult(response).value).equal(6); done(); }).catch(done); - }); + }); it('and#2', function(done) { testPlan([p.xs.boolean(true), p.xs.boolean(true)], p.and(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('and#3', function(done) { testPlan([p.xs.boolean(true), p.xs.boolean(true), p.xs.boolean(true)], p.and(p.col("1"), p.col("2"), p.col("3"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('divide#2', function(done) { testPlan([p.xs.double(6), p.xs.double(2)], p.divide(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(3); done(); }).catch(done); - }); + }); it('eq#2', function(done) { testPlan([p.xs.double(1), p.xs.double(1)], p.eq(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('eq#3', function(done) { testPlan([p.xs.double(1), p.xs.double(1), p.xs.double(1)], p.eq(p.col("1"), p.col("2"), p.col("3"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('ge#2', function(done) { testPlan([p.xs.double(1), p.xs.double(1)], p.ge(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('gt#2', function(done) { testPlan([p.xs.double(2), p.xs.double(1)], p.gt(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('in#2', function(done) { testPlan([p.xs.double(2), [p.xs.double(1), p.xs.double(2), p.xs.double(3)]], p.in(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('le#2', function(done) { testPlan([p.xs.double(1), p.xs.double(1)], p.le(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('lt#2', function(done) { testPlan([p.xs.double(1), p.xs.double(2)], p.lt(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('multiply#2', function(done) { testPlan([p.xs.double(2), p.xs.double(3)], p.multiply(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(6); done(); }).catch(done); - }); + }); it('multiply#3', function(done) { testPlan([p.xs.double(2), p.xs.double(3), p.xs.double(4)], p.multiply(p.col("1"), p.col("2"), p.col("3"))) .then(function(response) { should(getResult(response).value).equal(24); done(); }).catch(done); - }); + }); it('ne#2', function(done) { testPlan([p.xs.double(1), p.xs.double(2)], p.ne(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('not#1', function(done) { testPlan([p.xs.boolean(false)], p.not(p.col("1"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('or#2', function(done) { testPlan([p.xs.boolean(false), p.xs.boolean(true)], p.or(p.col("1"), p.col("2"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('or#3', function(done) { testPlan([p.xs.boolean(false), p.xs.boolean(true), p.xs.boolean(false)], p.or(p.col("1"), p.col("2"), p.col("3"))) .then(function(response) { should(getResult(response).value).equal(true); done(); }).catch(done); - }); + }); it('subtract#2', function(done) { testPlan([p.xs.double(3), p.xs.double(2)], p.subtract(p.col("1"), p.col("2"))) .then(function(response) { diff --git a/test-basic/plan-composers.js b/test-basic/plan-composers.js index 7c364edc..705fea17 100644 --- a/test-basic/plan-composers.js +++ b/test-basic/plan-composers.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-documents.js b/test-basic/plan-documents.js index d383f8cf..1ab74686 100644 --- a/test-basic/plan-documents.js +++ b/test-basic/plan-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-expressions.js b/test-basic/plan-expressions.js index e7b59cd9..ce06a9f0 100644 --- a/test-basic/plan-expressions.js +++ b/test-basic/plan-expressions.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-lexicons.js b/test-basic/plan-lexicons.js index 1b51edc8..43162422 100644 --- a/test-basic/plan-lexicons.js +++ b/test-basic/plan-lexicons.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-literals.js b/test-basic/plan-literals.js index 590052e7..11aea48d 100644 --- a/test-basic/plan-literals.js +++ b/test-basic/plan-literals.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-modifiers.js b/test-basic/plan-modifiers.js index 0d1b2755..7cbc2c51 100644 --- a/test-basic/plan-modifiers.js +++ b/test-basic/plan-modifiers.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-nodes.js b/test-basic/plan-nodes.js index 3ba57213..78cbc5aa 100644 --- a/test-basic/plan-nodes.js +++ b/test-basic/plan-nodes.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-processors.js b/test-basic/plan-processors.js index edb0144b..1eea209d 100644 --- a/test-basic/plan-processors.js +++ b/test-basic/plan-processors.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-search.js b/test-basic/plan-search.js index 5524603e..20fc3022 100644 --- a/test-basic/plan-search.js +++ b/test-basic/plan-search.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-triples.js b/test-basic/plan-triples.js index f012ef4c..79125f80 100644 --- a/test-basic/plan-triples.js +++ b/test-basic/plan-triples.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/plan-views.js b/test-basic/plan-views.js index 5ded4c3b..ed1c43a9 100644 --- a/test-basic/plan-views.js +++ b/test-basic/plan-views.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/probe.js b/test-basic/probe.js index 145ed2f1..b6c4fb17 100644 --- a/test-basic/probe.js +++ b/test-basic/probe.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'), testconfig = require('../etc/test-config.js'), diff --git a/test-basic/query-builder.js b/test-basic/query-builder.js index 90ef395a..488f34ab 100644 --- a/test-basic/query-builder.js +++ b/test-basic/query-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/redactionTest.js b/test-basic/redactionTest.js index ad54e8cb..48626d77 100644 --- a/test-basic/redactionTest.js +++ b/test-basic/redactionTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/removeAll.js b/test-basic/removeAll.js index 89015ab6..bfcaba1e 100644 --- a/test-basic/removeAll.js +++ b/test-basic/removeAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/resources-config.js b/test-basic/resources-config.js index dc65dd7a..1731f5e0 100644 --- a/test-basic/resources-config.js +++ b/test-basic/resources-config.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/resources-exec.js b/test-basic/resources-exec.js index 37d043ab..136a2166 100644 --- a/test-basic/resources-exec.js +++ b/test-basic/resources-exec.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/rest-server-properties.js b/test-basic/rest-server-properties.js index ed09f5f9..b7a0d0ab 100644 --- a/test-basic/rest-server-properties.js +++ b/test-basic/rest-server-properties.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/rows-graphQl.js b/test-basic/rows-graphQl.js index e4f363ba..a1d3b615 100644 --- a/test-basic/rows-graphQl.js +++ b/test-basic/rows-graphQl.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/rows.js b/test-basic/rows.js index 13afee8b..f0ea8121 100644 --- a/test-basic/rows.js +++ b/test-basic/rows.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'), fs = require('fs'), diff --git a/test-basic/server-exec.js b/test-basic/server-exec.js index 668c178e..020573b1 100644 --- a/test-basic/server-exec.js +++ b/test-basic/server-exec.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/service-caller.js b/test-basic/service-caller.js index cc63feee..1cc7ef11 100644 --- a/test-basic/service-caller.js +++ b/test-basic/service-caller.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../'); diff --git a/test-basic/shortest-path.js b/test-basic/shortest-path.js index fb5ebde6..7d9e8813 100644 --- a/test-basic/shortest-path.js +++ b/test-basic/shortest-path.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/ssl-min-allow-tls-test.js b/test-basic/ssl-min-allow-tls-test.js index 08c775d1..fb069030 100644 --- a/test-basic/ssl-min-allow-tls-test.js +++ b/test-basic/ssl-min-allow-tls-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ let testconfig = require('../etc/test-config.js'); diff --git a/test-basic/suggest.js b/test-basic/suggest.js index c543058e..8c8bc180 100644 --- a/test-basic/suggest.js +++ b/test-basic/suggest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/test-internal.js b/test-basic/test-internal.js index 4d33cfb3..8a726790 100644 --- a/test-basic/test-internal.js +++ b/test-basic/test-internal.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const testconfig = require("../etc/test-config"); diff --git a/test-basic/test-util.js b/test-basic/test-util.js index 470cabe0..7b3a1deb 100644 --- a/test-basic/test-util.js +++ b/test-basic/test-util.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var stream = require('stream'); var util = require('util'); diff --git a/test-basic/timestamp.js b/test-basic/timestamp.js index 448ef4de..2ebd444f 100644 --- a/test-basic/timestamp.js +++ b/test-basic/timestamp.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var valcheck = require('core-util-is'); diff --git a/test-basic/transactions.js b/test-basic/transactions.js index f0df83a7..ea39f6f7 100644 --- a/test-basic/transactions.js +++ b/test-basic/transactions.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); @@ -234,7 +234,7 @@ describe('transaction', function(){ tid = txn.txid; var txnRaw = {txid: txn.txid, cookies: txn.cookies}; var convertedTransaction = mlutil.convertTransaction(txnRaw); - + return db.transactions.read(convertedTransaction).result() ; }) .then(function(document) { diff --git a/test-basic/transformDoc-test.js b/test-basic/transformDoc-test.js index eb715628..6b5069a3 100644 --- a/test-basic/transformDoc-test.js +++ b/test-basic/transformDoc-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-basic/unnestTest.js b/test-basic/unnestTest.js index cae9480b..695956b8 100644 --- a/test-basic/unnestTest.js +++ b/test-basic/unnestTest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const assert = require('assert'); const marklogic = require('../'); diff --git a/test-basic/validateDoc-test.js b/test-basic/validateDoc-test.js index ba534be0..61cfc795 100644 --- a/test-basic/validateDoc-test.js +++ b/test-basic/validateDoc-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-basic/values-builder.js b/test-basic/values-builder.js index 18bb32c7..47d0d76b 100644 --- a/test-basic/values-builder.js +++ b/test-basic/values-builder.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/values.js b/test-basic/values.js index c8bd0419..9951a5a1 100644 --- a/test-basic/values.js +++ b/test-basic/values.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-basic/vector-util-test.js b/test-basic/vector-util-test.js index a918628e..410f31e4 100644 --- a/test-basic/vector-util-test.js +++ b/test-basic/vector-util-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-basic/write-test.js b/test-basic/write-test.js index ac85a8c0..c0de3250 100644 --- a/test-basic/write-test.js +++ b/test-basic/write-test.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; const should = require('should'); diff --git a/test-complete-proxy/gulpfile.js b/test-complete-proxy/gulpfile.js index 98ef270e..ea33a6d5 100755 --- a/test-complete-proxy/gulpfile.js +++ b/test-complete-proxy/gulpfile.js @@ -1,5 +1,5 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const path = require('path'); const gulp = require('gulp'); diff --git a/test-complete-proxy/insertFromMultipleStreams.js b/test-complete-proxy/insertFromMultipleStreams.js index 3655b1ec..6b09553a 100755 --- a/test-complete-proxy/insertFromMultipleStreams.js +++ b/test-complete-proxy/insertFromMultipleStreams.js @@ -1,7 +1,7 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ - + const {Worker, isMainThread, parentPort, workerData} = require('worker_threads'); const TestE2EMultiStringsInStringsOut = require("./TestE2EMultiStringsInStringsOut.js"); diff --git a/test-complete-proxy/nodejs-ds-dynamic.js b/test-complete-proxy/nodejs-ds-dynamic.js index f08e7763..44c51411 100755 --- a/test-complete-proxy/nodejs-ds-dynamic.js +++ b/test-complete-proxy/nodejs-ds-dynamic.js @@ -1,5 +1,5 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const fs = require('fs'); diff --git a/test-complete-proxy/nodejs-ds-error-map.js b/test-complete-proxy/nodejs-ds-error-map.js index 5fad6e7c..25299047 100755 --- a/test-complete-proxy/nodejs-ds-error-map.js +++ b/test-complete-proxy/nodejs-ds-error-map.js @@ -1,5 +1,5 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const fs = require('fs'); diff --git a/test-complete-proxy/nodejs-ds-multipleWorker.js b/test-complete-proxy/nodejs-ds-multipleWorker.js index e1c00484..859e8a33 100755 --- a/test-complete-proxy/nodejs-ds-multipleWorker.js +++ b/test-complete-proxy/nodejs-ds-multipleWorker.js @@ -1,7 +1,7 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ - + const fs = require('fs'); const expect = require('chai').expect; @@ -21,46 +21,46 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); // runs once before the first test in this block var s11 = 'Vannevar Bush wrote an article for The Atlantic Monthly 1'; var s12 = 'Lisa wrote an article for The Strait Times 1'; - + var s21 = 'Vannevar Bush wrote an article for The Atlantic Monthly 2'; var s22 = 'Lisa wrote an article for The Strait Times 2'; - + var inputFiles1 = [s11, s12]; var uris1 = ['Test1stream11', 'Test1stream12']; - + var inputFiles2 = [s21, s22]; var uris2 = ['Test1stream21', 'Test1stream22']; - + if (isMainThread) { const workerOneInsert = new Worker('./insertFromMultipleStreams.js', {workerData: {files: inputFiles1, uris:uris1}}); workerOneInsert.on('done', (result) => { - //console.log('workerOneInsert message is ' + result ); + //console.log('workerOneInsert message is ' + result ); }); - + workerOneInsert.on('exit', (code) => { if (code !== 0) reject(new Error('Worker workerOneInsert stopped with exit code ${code}')); //else console.debug('workerOneInsert exits normally'); }); - + const workerTwoInsert = new Worker('./insertFromMultipleStreams.js', {workerData: {files: inputFiles2, uris:uris2}}); workerTwoInsert.on('message', (result) => { //console.log('workerTwoInsert message is ' + result ); }); - + workerTwoInsert.on('exit', (code) => { if (code !== 0) reject(new Error('Worker workerTwoInsert stopped with exit code ${code}')); //else console.debug('workerTwoInsert exits normally'); }); - + } - + done(); }); - + it('Verify inserts using client API query', function(done){ - + var res1; db.documents.query(q.where(q.parsedFrom('Bush'))).result( function(results) { res1 = JSON.stringify(results); @@ -68,7 +68,7 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); expect(res1).to.include('Monthly 1'); expect(res1).to.include('Monthly 2'); }); - + var res2; db.documents.query(q.where(q.parsedFrom('Lisa'))).result( function(results) { res2 = JSON.stringify(results); @@ -77,16 +77,16 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); expect(res2).to.include('Times 2'); done(); - + }); }); - + it('One worker', function(done){ try { // Get results from all workers var searchResults1 = []; var searchResults2 = []; - + if (isMainThread) { const workerOneSearch = new Worker('./searchMultiple.js', {workerData: {search:'Bush'}}); workerOneSearch.on('done', (result) => { @@ -100,20 +100,20 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); //else console.debug('workerOneSearch exits normally'); }); done(); - } + } } catch(err) { //console.debug(err); done(); } - }); - + }); + it('Multiple workers', function(done){ try { // Get results from all workers var searchResults1 = []; var searchResults2 = []; - + if (isMainThread) { const workerOneSearch = new Worker('./searchMultiple.js', {workerData: {search:'Bush'}}); workerOneSearch.on('done', (result) => { @@ -121,7 +121,7 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); //console.log('Results 1 from search is :', searchResults1); expect(searchResults1[0]).to.have.members(["/Test1stream11.json", "/Test1stream21.json"]); }); - + const workerTwoSearch = new Worker('./searchMultiple.js', {workerData: {search:'Lisa'}}); workerTwoSearch.on('done', (result) => { searchResults2.push(result); @@ -129,20 +129,20 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); expect(searchResults2[0]).to.have.members(["/Test1stream12.json", "/Test1stream22.json"]); }); done(); - } + } } catch(err) { //console.debug(err); done(); } - }); - + }); + it('Multiple workers-One result back', function(done){ try { // Get results from all workers var searchResults1 = []; var searchResults2 = []; - + if (isMainThread) { const workerOneSearch = new Worker('./searchMultiple.js', {workerData: {search:'Bush'}}); workerOneSearch.on('done', (result) => { @@ -150,7 +150,7 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); //console.log('Results 1 from search is :', searchResults1); expect(searchResults1[0]).to.have.members(["/Test1stream11.json", "/Test1stream21.json"]); }); - + const workerTwoSearch = new Worker('./searchMultiple.js', {workerData: {search:'100'}}); workerTwoSearch.on('done', (result) => { searchResults2.push(result); @@ -158,20 +158,20 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); expect(searchResults2[0]).to.eql([]); }); done(); - } + } } catch(err) { //console.debug(err); done(); } - }); - + }); + it('Multiple workers- incorrect data', function(done){ try { // Get results from all workers var searchResults1 = []; var searchResults2 = []; - + if (isMainThread) { const workerOneSearch = new Worker('./searchMultiple.js', {workerData: {search:'Bush'}}); workerOneSearch.on('done', (result) => { @@ -179,11 +179,11 @@ var db = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); //console.log('Results 1 from search is :', searchResults1); expect(searchResults1[0]).to.have.members(["/Test1stream11.json", "/Test1stream21.json"]); }); - + expect( () => new Worker('./searchMultiple.js', {workerData: {find:100}}).to.throw('null value not allowed for parameter')); done(); - } + } } catch(err) { //console.debug(err); diff --git a/test-complete-proxy/nodejs-ds-required-params.js b/test-complete-proxy/nodejs-ds-required-params.js index bc9e9583..dfb43852 100755 --- a/test-complete-proxy/nodejs-ds-required-params.js +++ b/test-complete-proxy/nodejs-ds-required-params.js @@ -1,5 +1,5 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const fs = require('fs'); diff --git a/test-complete-proxy/nodejs-ds-setup-docs.js b/test-complete-proxy/nodejs-ds-setup-docs.js index ec596f91..d31e5f04 100755 --- a/test-complete-proxy/nodejs-ds-setup-docs.js +++ b/test-complete-proxy/nodejs-ds-setup-docs.js @@ -1,5 +1,5 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const fs = require('fs'); diff --git a/test-complete-proxy/nodejs-ds-transactions.js b/test-complete-proxy/nodejs-ds-transactions.js index 79cc67ba..1823db7e 100755 --- a/test-complete-proxy/nodejs-ds-transactions.js +++ b/test-complete-proxy/nodejs-ds-transactions.js @@ -1,7 +1,7 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ - + const fs = require('fs'); const util = require('util') @@ -18,7 +18,7 @@ var db1 = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); var db2 = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection); describe('Transactions-Tests', function(){ - + it('same transaction', function(done) { // Insert and read back on same database client. this.timeout(10000); @@ -54,7 +54,7 @@ describe('Transactions-Tests', function(){ } ); }); - + it('different transaction', function(done) { this.timeout(10000); var tid = null; @@ -87,7 +87,7 @@ describe('Transactions-Tests', function(){ } ); }); - + }); - - + + diff --git a/test-complete-proxy/searchMultiple.js b/test-complete-proxy/searchMultiple.js index 2bb27f5d..16f4eb41 100755 --- a/test-complete-proxy/searchMultiple.js +++ b/test-complete-proxy/searchMultiple.js @@ -1,5 +1,5 @@ -/* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +/* +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const {Worker, isMainThread, parentPort, workerData} = require('worker_threads'); const TestE2EMultiStringsInStringsOut = require("./TestE2EMultiStringsInStringsOut.js"); diff --git a/test-complete-proxy/setup/ds-qa-test-setup-users.js b/test-complete-proxy/setup/ds-qa-test-setup-users.js index ead07336..50ad4f27 100755 --- a/test-complete-proxy/setup/ds-qa-test-setup-users.js +++ b/test-complete-proxy/setup/ds-qa-test-setup-users.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var valcheck = require('core-util-is'); diff --git a/test-complete-proxy/setup/ds-qa-test-setup.js b/test-complete-proxy/setup/ds-qa-test-setup.js index b8b08db2..cba82c18 100755 --- a/test-complete-proxy/setup/ds-qa-test-setup.js +++ b/test-complete-proxy/setup/ds-qa-test-setup.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var valcheck = require('core-util-is'); diff --git a/test-complete/data/emptyTransform.js b/test-complete/data/emptyTransform.js index fc1c59fa..00caddbf 100644 --- a/test-complete/data/emptyTransform.js +++ b/test-complete/data/emptyTransform.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ function emptyTransform(context, params, document) { diff --git a/test-complete/data/paramTransform.js b/test-complete/data/paramTransform.js index 55f4f7a9..401079f2 100644 --- a/test-complete/data/paramTransform.js +++ b/test-complete/data/paramTransform.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ function paramTransform(context, params, document) { diff --git a/test-complete/data/sourceParams.js b/test-complete/data/sourceParams.js index d28a108a..b8254226 100644 --- a/test-complete/data/sourceParams.js +++ b/test-complete/data/sourceParams.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var num1; diff --git a/test-complete/data/sourceParamsNegative.js b/test-complete/data/sourceParamsNegative.js index 88980f1f..a38fea25 100644 --- a/test-complete/data/sourceParamsNegative.js +++ b/test-complete/data/sourceParamsNegative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ avar num1; diff --git a/test-complete/data/sourceSimple.js b/test-complete/data/sourceSimple.js index 60252f38..082724eb 100644 --- a/test-complete/data/sourceSimple.js +++ b/test-complete/data/sourceSimple.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var a = "hello"; diff --git a/test-complete/data/sourceSimpleNegative.js b/test-complete/data/sourceSimpleNegative.js index c6e60bc5..f78edce2 100644 --- a/test-complete/data/sourceSimpleNegative.js +++ b/test-complete/data/sourceSimpleNegative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var a = "hello"; diff --git a/test-complete/data/timestampTransform.js b/test-complete/data/timestampTransform.js index 3ac0df47..d7fbeb11 100644 --- a/test-complete/data/timestampTransform.js +++ b/test-complete/data/timestampTransform.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ function timestampTransform(context, params, document) { diff --git a/test-complete/nodejs-config-patch-negative.js b/test-complete/nodejs-config-patch-negative.js index 3fce257a..406cf344 100644 --- a/test-complete/nodejs-config-patch-negative.js +++ b/test-complete/nodejs-config-patch-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-config-patch.js b/test-complete/nodejs-config-patch.js index 0531f6fc..cd27ddde 100644 --- a/test-complete/nodejs-config-patch.js +++ b/test-complete/nodejs-config-patch.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-config-query-negative.js b/test-complete/nodejs-config-query-negative.js index 8527cfbb..a3546453 100644 --- a/test-complete/nodejs-config-query-negative.js +++ b/test-complete/nodejs-config-query-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-config-query.js b/test-complete/nodejs-config-query.js index c8d005b6..4e4e167f 100644 --- a/test-complete/nodejs-config-query.js +++ b/test-complete/nodejs-config-query.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-database-concurrency.js b/test-complete/nodejs-database-concurrency.js index 2e8c36b3..00b76aca 100644 --- a/test-complete/nodejs-database-concurrency.js +++ b/test-complete/nodejs-database-concurrency.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-database-connection-negative.js b/test-complete/nodejs-database-connection-negative.js index 68993b8d..ef25ab05 100644 --- a/test-complete/nodejs-database-connection-negative.js +++ b/test-complete/nodejs-database-connection-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-database-connection-ssl.js b/test-complete/nodejs-database-connection-ssl.js index 3a707ed9..0dd6de1f 100644 --- a/test-complete/nodejs-database-connection-ssl.js +++ b/test-complete/nodejs-database-connection-ssl.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-dmsdk-QueryToRdAll.js b/test-complete/nodejs-dmsdk-QueryToRdAll.js index ed9781c8..f0e929d7 100644 --- a/test-complete/nodejs-dmsdk-QueryToRdAll.js +++ b/test-complete/nodejs-dmsdk-QueryToRdAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-dmsdk-UpdAndRdAll.js b/test-complete/nodejs-dmsdk-UpdAndRdAll.js index 61a46722..ecb4677a 100644 --- a/test-complete/nodejs-dmsdk-UpdAndRdAll.js +++ b/test-complete/nodejs-dmsdk-UpdAndRdAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var marklogic = require('../'); diff --git a/test-complete/nodejs-dmsdk-queryToTransformAll.js b/test-complete/nodejs-dmsdk-queryToTransformAll.js index ed0d901b..be5be3ad 100644 --- a/test-complete/nodejs-dmsdk-queryToTransformAll.js +++ b/test-complete/nodejs-dmsdk-queryToTransformAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-complete/nodejs-dmsdk-queryall.js b/test-complete/nodejs-dmsdk-queryall.js index b2b71c9b..49a77bc0 100644 --- a/test-complete/nodejs-dmsdk-queryall.js +++ b/test-complete/nodejs-dmsdk-queryall.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-dmsdk-readall-1.js b/test-complete/nodejs-dmsdk-readall-1.js index 62f108e2..e2b2c0a1 100644 --- a/test-complete/nodejs-dmsdk-readall-1.js +++ b/test-complete/nodejs-dmsdk-readall-1.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var fs = require('fs'); const path = require('path'); diff --git a/test-complete/nodejs-dmsdk-removeAllUris.js b/test-complete/nodejs-dmsdk-removeAllUris.js index 65107e23..8e18f670 100644 --- a/test-complete/nodejs-dmsdk-removeAllUris.js +++ b/test-complete/nodejs-dmsdk-removeAllUris.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ // deleteEmptyIterator diff --git a/test-complete/nodejs-dmsdk-rows-queryAll.js b/test-complete/nodejs-dmsdk-rows-queryAll.js index 4a6f7342..a2221785 100644 --- a/test-complete/nodejs-dmsdk-rows-queryAll.js +++ b/test-complete/nodejs-dmsdk-rows-queryAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-complete/nodejs-dmsdk-transformAll.js b/test-complete/nodejs-dmsdk-transformAll.js index 31c9eb06..e9b1b528 100644 --- a/test-complete/nodejs-dmsdk-transformAll.js +++ b/test-complete/nodejs-dmsdk-transformAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-complete/nodejs-dmsdk-txtFiles-transformAll.js b/test-complete/nodejs-dmsdk-txtFiles-transformAll.js index a64119a2..f3500c46 100644 --- a/test-complete/nodejs-dmsdk-txtFiles-transformAll.js +++ b/test-complete/nodejs-dmsdk-txtFiles-transformAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-complete/nodejs-dmsdk-writeall.js b/test-complete/nodejs-dmsdk-writeall.js index 1bb41f08..fe164c62 100644 --- a/test-complete/nodejs-dmsdk-writeall.js +++ b/test-complete/nodejs-dmsdk-writeall.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js b/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js index b448404c..cd15bb24 100644 --- a/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js +++ b/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ const should = require('should'); diff --git a/test-complete/nodejs-documents-binary-gif.js b/test-complete/nodejs-documents-binary-gif.js index 44cccfb9..ccf13e35 100644 --- a/test-complete/nodejs-documents-binary-gif.js +++ b/test-complete/nodejs-documents-binary-gif.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-binary-mp3.js b/test-complete/nodejs-documents-binary-mp3.js index e1310680..87283641 100644 --- a/test-complete/nodejs-documents-binary-mp3.js +++ b/test-complete/nodejs-documents-binary-mp3.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-binary-pdf.js b/test-complete/nodejs-documents-binary-pdf.js index b6955697..02940dc8 100644 --- a/test-complete/nodejs-documents-binary-pdf.js +++ b/test-complete/nodejs-documents-binary-pdf.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-binary-range.js b/test-complete/nodejs-documents-binary-range.js index 13b9892c..f2317996 100644 --- a/test-complete/nodejs-documents-binary-range.js +++ b/test-complete/nodejs-documents-binary-range.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-crud-negative.js b/test-complete/nodejs-documents-crud-negative.js index 277e0502..e77a2ca3 100644 --- a/test-complete/nodejs-documents-crud-negative.js +++ b/test-complete/nodejs-documents-crud-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-crud.js b/test-complete/nodejs-documents-crud.js index d21bfe0e..d7a9cf5e 100644 --- a/test-complete/nodejs-documents-crud.js +++ b/test-complete/nodejs-documents-crud.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-extract-negative.js b/test-complete/nodejs-documents-extract-negative.js index 5d8a664f..08ee217a 100644 --- a/test-complete/nodejs-documents-extract-negative.js +++ b/test-complete/nodejs-documents-extract-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-extract.js b/test-complete/nodejs-documents-extract.js index 8a771f95..6dc6a319 100644 --- a/test-complete/nodejs-documents-extract.js +++ b/test-complete/nodejs-documents-extract.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-metadata-values.js b/test-complete/nodejs-documents-metadata-values.js index 97fd4281..fb523251 100644 --- a/test-complete/nodejs-documents-metadata-values.js +++ b/test-complete/nodejs-documents-metadata-values.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-parse-2.js b/test-complete/nodejs-documents-parse-2.js index bf73b668..8d8bba10 100644 --- a/test-complete/nodejs-documents-parse-2.js +++ b/test-complete/nodejs-documents-parse-2.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-parse.js b/test-complete/nodejs-documents-parse.js index 9ea7bbc8..26ff7341 100644 --- a/test-complete/nodejs-documents-parse.js +++ b/test-complete/nodejs-documents-parse.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-patch-2.js b/test-complete/nodejs-documents-patch-2.js index 60767f47..7cb830ce 100755 --- a/test-complete/nodejs-documents-patch-2.js +++ b/test-complete/nodejs-documents-patch-2.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-patch-datatypes.js b/test-complete/nodejs-documents-patch-datatypes.js index 24f97991..967dee86 100644 --- a/test-complete/nodejs-documents-patch-datatypes.js +++ b/test-complete/nodejs-documents-patch-datatypes.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-patch-metadata.js b/test-complete/nodejs-documents-patch-metadata.js index b8c98311..c52601e5 100644 --- a/test-complete/nodejs-documents-patch-metadata.js +++ b/test-complete/nodejs-documents-patch-metadata.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-patch-negative.js b/test-complete/nodejs-documents-patch-negative.js index e47606cb..74b74486 100644 --- a/test-complete/nodejs-documents-patch-negative.js +++ b/test-complete/nodejs-documents-patch-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-patch-null.js b/test-complete/nodejs-documents-patch-null.js index 26de8350..ee83e07c 100644 --- a/test-complete/nodejs-documents-patch-null.js +++ b/test-complete/nodejs-documents-patch-null.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-patch-stream.js b/test-complete/nodejs-documents-patch-stream.js index efe6d43d..440fd56e 100644 --- a/test-complete/nodejs-documents-patch-stream.js +++ b/test-complete/nodejs-documents-patch-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-patch.js b/test-complete/nodejs-documents-patch.js index 3199c029..92117812 100644 --- a/test-complete/nodejs-documents-patch.js +++ b/test-complete/nodejs-documents-patch.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-qbe.js b/test-complete/nodejs-documents-qbe.js index 1c2640f8..9190419f 100644 --- a/test-complete/nodejs-documents-qbe.js +++ b/test-complete/nodejs-documents-qbe.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-2.js b/test-complete/nodejs-documents-query-2.js index dd108b90..26fcd0fe 100644 --- a/test-complete/nodejs-documents-query-2.js +++ b/test-complete/nodejs-documents-query-2.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-3.js b/test-complete/nodejs-documents-query-3.js index 6eb54206..9aa67f24 100644 --- a/test-complete/nodejs-documents-query-3.js +++ b/test-complete/nodejs-documents-query-3.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-facet.js b/test-complete/nodejs-documents-query-facet.js index a0e6348e..25afb649 100644 --- a/test-complete/nodejs-documents-query-facet.js +++ b/test-complete/nodejs-documents-query-facet.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-geo-double.js b/test-complete/nodejs-documents-query-geo-double.js index 1476a405..d7526780 100644 --- a/test-complete/nodejs-documents-query-geo-double.js +++ b/test-complete/nodejs-documents-query-geo-double.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-geo-region.js b/test-complete/nodejs-documents-query-geo-region.js index af33a502..ff7b8342 100644 --- a/test-complete/nodejs-documents-query-geo-region.js +++ b/test-complete/nodejs-documents-query-geo-region.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-geo.js b/test-complete/nodejs-documents-query-geo.js index bd6211df..6b97dfb5 100644 --- a/test-complete/nodejs-documents-query-geo.js +++ b/test-complete/nodejs-documents-query-geo.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-negative.js b/test-complete/nodejs-documents-query-negative.js index 676cc21a..3530ed00 100644 --- a/test-complete/nodejs-documents-query-negative.js +++ b/test-complete/nodejs-documents-query-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-options.js b/test-complete/nodejs-documents-query-options.js index 169566ca..23347d13 100644 --- a/test-complete/nodejs-documents-query-options.js +++ b/test-complete/nodejs-documents-query-options.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-slice.js b/test-complete/nodejs-documents-query-slice.js index ec8c84ce..1192d1c2 100644 --- a/test-complete/nodejs-documents-query-slice.js +++ b/test-complete/nodejs-documents-query-slice.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-sort.js b/test-complete/nodejs-documents-query-sort.js index 6e451fc8..1e6e6fef 100644 --- a/test-complete/nodejs-documents-query-sort.js +++ b/test-complete/nodejs-documents-query-sort.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-query-stream.js b/test-complete/nodejs-documents-query-stream.js index 983fccef..26688029 100644 --- a/test-complete/nodejs-documents-query-stream.js +++ b/test-complete/nodejs-documents-query-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); //var should = require('chai').should(); diff --git a/test-complete/nodejs-documents-query.js b/test-complete/nodejs-documents-query.js index a589b0f6..50a5a313 100644 --- a/test-complete/nodejs-documents-query.js +++ b/test-complete/nodejs-documents-query.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-quick.js b/test-complete/nodejs-documents-quick.js index 194d13b9..5889a3da 100644 --- a/test-complete/nodejs-documents-quick.js +++ b/test-complete/nodejs-documents-quick.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-read-chunk.js b/test-complete/nodejs-documents-read-chunk.js index 3865965e..65784cf2 100644 --- a/test-complete/nodejs-documents-read-chunk.js +++ b/test-complete/nodejs-documents-read-chunk.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-remove-multiple.js b/test-complete/nodejs-documents-remove-multiple.js index 598efcc2..d9732615 100644 --- a/test-complete/nodejs-documents-remove-multiple.js +++ b/test-complete/nodejs-documents-remove-multiple.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-removeAll-all.js b/test-complete/nodejs-documents-removeAll-all.js index 11f64bfb..a2b8341d 100644 --- a/test-complete/nodejs-documents-removeAll-all.js +++ b/test-complete/nodejs-documents-removeAll-all.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-removeAll-negative.js b/test-complete/nodejs-documents-removeAll-negative.js index 1c8a6b5d..5926c4f6 100644 --- a/test-complete/nodejs-documents-removeAll-negative.js +++ b/test-complete/nodejs-documents-removeAll-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-removeAll.js b/test-complete/nodejs-documents-removeAll.js index fb63f651..1cebc815 100644 --- a/test-complete/nodejs-documents-removeAll.js +++ b/test-complete/nodejs-documents-removeAll.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-resources-config.js b/test-complete/nodejs-documents-resources-config.js index 923765ef..250f017e 100644 --- a/test-complete/nodejs-documents-resources-config.js +++ b/test-complete/nodejs-documents-resources-config.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-resources.js b/test-complete/nodejs-documents-resources.js index 534e8c93..c30f5242 100644 --- a/test-complete/nodejs-documents-resources.js +++ b/test-complete/nodejs-documents-resources.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-suggest.js b/test-complete/nodejs-documents-suggest.js index 2e1a2a5a..6cbe4c32 100644 --- a/test-complete/nodejs-documents-suggest.js +++ b/test-complete/nodejs-documents-suggest.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-transaction-combo.js b/test-complete/nodejs-documents-transaction-combo.js index 66b03610..40e8f7c1 100644 --- a/test-complete/nodejs-documents-transaction-combo.js +++ b/test-complete/nodejs-documents-transaction-combo.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-transaction-remove.js b/test-complete/nodejs-documents-transaction-remove.js index 8045158d..2b0b4f49 100644 --- a/test-complete/nodejs-documents-transaction-remove.js +++ b/test-complete/nodejs-documents-transaction-remove.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-transaction-timelimit.js b/test-complete/nodejs-documents-transaction-timelimit.js index 087884d6..958b90fe 100644 --- a/test-complete/nodejs-documents-transaction-timelimit.js +++ b/test-complete/nodejs-documents-transaction-timelimit.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-transaction-withstate.js b/test-complete/nodejs-documents-transaction-withstate.js index c02f2071..537fb877 100644 --- a/test-complete/nodejs-documents-transaction-withstate.js +++ b/test-complete/nodejs-documents-transaction-withstate.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-transaction.js b/test-complete/nodejs-documents-transaction.js index 3f722e0e..af61e769 100644 --- a/test-complete/nodejs-documents-transaction.js +++ b/test-complete/nodejs-documents-transaction.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-values-negative.js b/test-complete/nodejs-documents-values-negative.js index f1c0de2c..a1f995f5 100644 --- a/test-complete/nodejs-documents-values-negative.js +++ b/test-complete/nodejs-documents-values-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-values.js b/test-complete/nodejs-documents-values.js index 59f28120..b5b0d36b 100644 --- a/test-complete/nodejs-documents-values.js +++ b/test-complete/nodejs-documents-values.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-write-large.js b/test-complete/nodejs-documents-write-large.js index 471841bf..a32843ef 100644 --- a/test-complete/nodejs-documents-write-large.js +++ b/test-complete/nodejs-documents-write-large.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-documents-write-stream.js b/test-complete/nodejs-documents-write-stream.js index baae9b65..63488b87 100644 --- a/test-complete/nodejs-documents-write-stream.js +++ b/test-complete/nodejs-documents-write-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-extlibs-negative.js b/test-complete/nodejs-extlibs-negative.js index 3cd35bf2..0bedb97a 100644 --- a/test-complete/nodejs-extlibs-negative.js +++ b/test-complete/nodejs-extlibs-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-extlibs.js b/test-complete/nodejs-extlibs.js index c0279a87..ef3bfee3 100644 --- a/test-complete/nodejs-extlibs.js +++ b/test-complete/nodejs-extlibs.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-content-type.js b/test-complete/nodejs-graphs-content-type.js index 7eb9e0d7..4dae3475 100644 --- a/test-complete/nodejs-graphs-content-type.js +++ b/test-complete/nodejs-graphs-content-type.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-default.js b/test-complete/nodejs-graphs-default.js index 766f23a6..64489817 100644 --- a/test-complete/nodejs-graphs-default.js +++ b/test-complete/nodejs-graphs-default.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-merge-stream.js b/test-complete/nodejs-graphs-merge-stream.js index cdea139f..707596f3 100644 --- a/test-complete/nodejs-graphs-merge-stream.js +++ b/test-complete/nodejs-graphs-merge-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-merge.js b/test-complete/nodejs-graphs-merge.js index afab9e6c..769a0093 100644 --- a/test-complete/nodejs-graphs-merge.js +++ b/test-complete/nodejs-graphs-merge.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-negative.js b/test-complete/nodejs-graphs-negative.js index a2b94eb3..b1c2fb2d 100644 --- a/test-complete/nodejs-graphs-negative.js +++ b/test-complete/nodejs-graphs-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-overwrite-stream.js b/test-complete/nodejs-graphs-overwrite-stream.js index 5dcf469c..cc43ea83 100644 --- a/test-complete/nodejs-graphs-overwrite-stream.js +++ b/test-complete/nodejs-graphs-overwrite-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-overwrite.js b/test-complete/nodejs-graphs-overwrite.js index 94dfa081..f60bc34e 100644 --- a/test-complete/nodejs-graphs-overwrite.js +++ b/test-complete/nodejs-graphs-overwrite.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-read-write-stream.js b/test-complete/nodejs-graphs-read-write-stream.js index a21c0742..5ebbac5e 100644 --- a/test-complete/nodejs-graphs-read-write-stream.js +++ b/test-complete/nodejs-graphs-read-write-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-repair.js b/test-complete/nodejs-graphs-repair.js index c75ba23b..c374be6e 100644 --- a/test-complete/nodejs-graphs-repair.js +++ b/test-complete/nodejs-graphs-repair.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-graphs-transaction-remove.js b/test-complete/nodejs-graphs-transaction-remove.js index 1f314b31..ac67ea57 100644 --- a/test-complete/nodejs-graphs-transaction-remove.js +++ b/test-complete/nodejs-graphs-transaction-remove.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-transaction.js b/test-complete/nodejs-graphs-transaction.js index 517d55eb..32465754 100644 --- a/test-complete/nodejs-graphs-transaction.js +++ b/test-complete/nodejs-graphs-transaction.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-issue-104.js b/test-complete/nodejs-issue-104.js index a79c5efe..246808f6 100644 --- a/test-complete/nodejs-issue-104.js +++ b/test-complete/nodejs-issue-104.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-issue-108-109.js b/test-complete/nodejs-issue-108-109.js index 061234e8..7ddf7a00 100644 --- a/test-complete/nodejs-issue-108-109.js +++ b/test-complete/nodejs-issue-108-109.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-issue-110.js b/test-complete/nodejs-issue-110.js index 38b8172b..27499c01 100644 --- a/test-complete/nodejs-issue-110.js +++ b/test-complete/nodejs-issue-110.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-issue-115.js b/test-complete/nodejs-issue-115.js index c3da66ca..b884e1a0 100644 --- a/test-complete/nodejs-issue-115.js +++ b/test-complete/nodejs-issue-115.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-issue-257.js b/test-complete/nodejs-issue-257.js index df5060cb..095c513a 100644 --- a/test-complete/nodejs-issue-257.js +++ b/test-complete/nodejs-issue-257.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-issue-99.js b/test-complete/nodejs-issue-99.js index 8e5c14e0..b90f5e9b 100644 --- a/test-complete/nodejs-issue-99.js +++ b/test-complete/nodejs-issue-99.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-javascript-eval-negative.js b/test-complete/nodejs-javascript-eval-negative.js index 4e62e661..1e0f0f71 100644 --- a/test-complete/nodejs-javascript-eval-negative.js +++ b/test-complete/nodejs-javascript-eval-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-javascript-eval-params.js b/test-complete/nodejs-javascript-eval-params.js index e71750c4..55042fc5 100644 --- a/test-complete/nodejs-javascript-eval-params.js +++ b/test-complete/nodejs-javascript-eval-params.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-javascript-eval.js b/test-complete/nodejs-javascript-eval.js index 705f9c69..586417f0 100644 --- a/test-complete/nodejs-javascript-eval.js +++ b/test-complete/nodejs-javascript-eval.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-javascript-invoke-params-negative.js b/test-complete/nodejs-javascript-invoke-params-negative.js index 56bfbf56..f7201463 100644 --- a/test-complete/nodejs-javascript-invoke-params-negative.js +++ b/test-complete/nodejs-javascript-invoke-params-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-javascript-invoke-params.js b/test-complete/nodejs-javascript-invoke-params.js index 733ab8ca..d16a4e8a 100644 --- a/test-complete/nodejs-javascript-invoke-params.js +++ b/test-complete/nodejs-javascript-invoke-params.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-javascript-invoke-simple-negative.js b/test-complete/nodejs-javascript-invoke-simple-negative.js index 6c358f8a..1a197bb6 100644 --- a/test-complete/nodejs-javascript-invoke-simple-negative.js +++ b/test-complete/nodejs-javascript-invoke-simple-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-javascript-invoke-simple.js b/test-complete/nodejs-javascript-invoke-simple.js index b5b53067..1a0b6b0c 100644 --- a/test-complete/nodejs-javascript-invoke-simple.js +++ b/test-complete/nodejs-javascript-invoke-simple.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-logger-bunyan.js b/test-complete/nodejs-logger-bunyan.js index 9a809f6e..9e02acaa 100644 --- a/test-complete/nodejs-logger-bunyan.js +++ b/test-complete/nodejs-logger-bunyan.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var testconfig = require('../etc/test-config-qa.js'); var marklogic = require('../'); diff --git a/test-complete/nodejs-logger-winston.js b/test-complete/nodejs-logger-winston.js index f45cb9f6..3014feb6 100644 --- a/test-complete/nodejs-logger-winston.js +++ b/test-complete/nodejs-logger-winston.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var winston = require('winston'); diff --git a/test-complete/nodejs-optic-cts-queries.js b/test-complete/nodejs-optic-cts-queries.js index a006e53a..b65e2972 100644 --- a/test-complete/nodejs-optic-cts-queries.js +++ b/test-complete/nodejs-optic-cts-queries.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-from-lexicons.js b/test-complete/nodejs-optic-from-lexicons.js index b77aff48..e1f9febf 100644 --- a/test-complete/nodejs-optic-from-lexicons.js +++ b/test-complete/nodejs-optic-from-lexicons.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-from-literals.js b/test-complete/nodejs-optic-from-literals.js index cece36d7..31b3ef93 100644 --- a/test-complete/nodejs-optic-from-literals.js +++ b/test-complete/nodejs-optic-from-literals.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-from-sparql.js b/test-complete/nodejs-optic-from-sparql.js index ca4d2c5a..0eba89af 100644 --- a/test-complete/nodejs-optic-from-sparql.js +++ b/test-complete/nodejs-optic-from-sparql.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-from-sql.js b/test-complete/nodejs-optic-from-sql.js index da1b4ec8..e8fab26d 100644 --- a/test-complete/nodejs-optic-from-sql.js +++ b/test-complete/nodejs-optic-from-sql.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-from-triples.js b/test-complete/nodejs-optic-from-triples.js index b6d1ac55..c9557e0a 100644 --- a/test-complete/nodejs-optic-from-triples.js +++ b/test-complete/nodejs-optic-from-triples.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-from-views.js b/test-complete/nodejs-optic-from-views.js index a79dd3f8..d6bc1135 100644 --- a/test-complete/nodejs-optic-from-views.js +++ b/test-complete/nodejs-optic-from-views.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-generate-views.js b/test-complete/nodejs-optic-generate-views.js index d4ad3e5a..fd1a3637 100644 --- a/test-complete/nodejs-optic-generate-views.js +++ b/test-complete/nodejs-optic-generate-views.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-nodes.js b/test-complete/nodejs-optic-nodes.js index 69803105..dc1a2dd0 100644 --- a/test-complete/nodejs-optic-nodes.js +++ b/test-complete/nodejs-optic-nodes.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-read-file.js b/test-complete/nodejs-optic-read-file.js index cc1dea39..0a16efac 100644 --- a/test-complete/nodejs-optic-read-file.js +++ b/test-complete/nodejs-optic-read-file.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optic-redaction.js b/test-complete/nodejs-optic-redaction.js index 817dfed8..8933a6ab 100644 --- a/test-complete/nodejs-optic-redaction.js +++ b/test-complete/nodejs-optic-redaction.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ 'use strict'; diff --git a/test-complete/nodejs-optimistic-locking-stream.js b/test-complete/nodejs-optimistic-locking-stream.js index 3cd58be7..9a8ecdec 100644 --- a/test-complete/nodejs-optimistic-locking-stream.js +++ b/test-complete/nodejs-optimistic-locking-stream.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-optimistic-locking.js b/test-complete/nodejs-optimistic-locking.js index 5543c949..5d349648 100644 --- a/test-complete/nodejs-optimistic-locking.js +++ b/test-complete/nodejs-optimistic-locking.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-pitq-documents.js b/test-complete/nodejs-pitq-documents.js index 8157106f..e4b796fa 100644 --- a/test-complete/nodejs-pitq-documents.js +++ b/test-complete/nodejs-pitq-documents.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-pitq-graphs.js b/test-complete/nodejs-pitq-graphs.js index 5f9096a1..9245dea0 100644 --- a/test-complete/nodejs-pitq-graphs.js +++ b/test-complete/nodejs-pitq-graphs.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-pitq-values.js b/test-complete/nodejs-pitq-values.js index 4a357cfc..c2be10c0 100644 --- a/test-complete/nodejs-pitq-values.js +++ b/test-complete/nodejs-pitq-values.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-process-env.js b/test-complete/nodejs-process-env.js index 1ad0a7aa..66b88683 100644 --- a/test-complete/nodejs-process-env.js +++ b/test-complete/nodejs-process-env.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ process.env.NODE_ENV = 'development'; diff --git a/test-complete/nodejs-serverprops.js b/test-complete/nodejs-serverprops.js index 035054a4..a2fdc9ef 100644 --- a/test-complete/nodejs-serverprops.js +++ b/test-complete/nodejs-serverprops.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-sparql-update.js b/test-complete/nodejs-sparql-update.js index feec8e52..bad4b324 100644 --- a/test-complete/nodejs-sparql-update.js +++ b/test-complete/nodejs-sparql-update.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-sparql.js b/test-complete/nodejs-sparql.js index 42b6a257..ddb3930b 100644 --- a/test-complete/nodejs-sparql.js +++ b/test-complete/nodejs-sparql.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-advance-lsqt.js b/test-complete/nodejs-temporal-advance-lsqt.js index a13b7df7..28e85182 100644 --- a/test-complete/nodejs-temporal-advance-lsqt.js +++ b/test-complete/nodejs-temporal-advance-lsqt.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-insert-bulk.js b/test-complete/nodejs-temporal-insert-bulk.js index a6aedd6f..c96f6a67 100644 --- a/test-complete/nodejs-temporal-insert-bulk.js +++ b/test-complete/nodejs-temporal-insert-bulk.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-insert-lsqt.js b/test-complete/nodejs-temporal-insert-lsqt.js index e990bfdc..ad06bdf4 100644 --- a/test-complete/nodejs-temporal-insert-lsqt.js +++ b/test-complete/nodejs-temporal-insert-lsqt.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-insert-transform.js b/test-complete/nodejs-temporal-insert-transform.js index 5060f6a7..4bfcf8ba 100644 --- a/test-complete/nodejs-temporal-insert-transform.js +++ b/test-complete/nodejs-temporal-insert-transform.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-insert.js b/test-complete/nodejs-temporal-insert.js index a32be511..4ba97227 100644 --- a/test-complete/nodejs-temporal-insert.js +++ b/test-complete/nodejs-temporal-insert.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-lsqt-query.js b/test-complete/nodejs-temporal-lsqt-query.js index 4fb81584..6588aafb 100644 --- a/test-complete/nodejs-temporal-lsqt-query.js +++ b/test-complete/nodejs-temporal-lsqt-query.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-patch.js b/test-complete/nodejs-temporal-patch.js index 5a989a47..2c2ee1df 100644 --- a/test-complete/nodejs-temporal-patch.js +++ b/test-complete/nodejs-temporal-patch.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-period-compare-query.js b/test-complete/nodejs-temporal-period-compare-query.js index 897a21c8..97c3db86 100644 --- a/test-complete/nodejs-temporal-period-compare-query.js +++ b/test-complete/nodejs-temporal-period-compare-query.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-period-range-query-multiple-axis.js b/test-complete/nodejs-temporal-period-range-query-multiple-axis.js index 3a6fd6c5..b630701c 100644 --- a/test-complete/nodejs-temporal-period-range-query-multiple-axis.js +++ b/test-complete/nodejs-temporal-period-range-query-multiple-axis.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-period-range-query.js b/test-complete/nodejs-temporal-period-range-query.js index 302c94ae..e99d231b 100644 --- a/test-complete/nodejs-temporal-period-range-query.js +++ b/test-complete/nodejs-temporal-period-range-query.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-protect-delete.js b/test-complete/nodejs-temporal-protect-delete.js index 3baba023..b67b9b1f 100644 --- a/test-complete/nodejs-temporal-protect-delete.js +++ b/test-complete/nodejs-temporal-protect-delete.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-protect-update.js b/test-complete/nodejs-temporal-protect-update.js index bb67045a..13d398ff 100644 --- a/test-complete/nodejs-temporal-protect-update.js +++ b/test-complete/nodejs-temporal-protect-update.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-protect-wipe.js b/test-complete/nodejs-temporal-protect-wipe.js index f2407d15..2bb9c22e 100644 --- a/test-complete/nodejs-temporal-protect-wipe.js +++ b/test-complete/nodejs-temporal-protect-wipe.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-transaction-commit.js b/test-complete/nodejs-temporal-transaction-commit.js index f3123da8..f784cebe 100644 --- a/test-complete/nodejs-temporal-transaction-commit.js +++ b/test-complete/nodejs-temporal-transaction-commit.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-transaction-rollback.js b/test-complete/nodejs-temporal-transaction-rollback.js index c0ede209..d7693858 100644 --- a/test-complete/nodejs-temporal-transaction-rollback.js +++ b/test-complete/nodejs-temporal-transaction-rollback.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-update-lsqt.js b/test-complete/nodejs-temporal-update-lsqt.js index 813abe71..fc53a148 100644 --- a/test-complete/nodejs-temporal-update-lsqt.js +++ b/test-complete/nodejs-temporal-update-lsqt.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-temporal-update.js b/test-complete/nodejs-temporal-update.js index 6d9b9195..3265a611 100644 --- a/test-complete/nodejs-temporal-update.js +++ b/test-complete/nodejs-temporal-update.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-transform-combine.js b/test-complete/nodejs-transform-combine.js index 665f13ce..fe306968 100644 --- a/test-complete/nodejs-transform-combine.js +++ b/test-complete/nodejs-transform-combine.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-transform-empty.js b/test-complete/nodejs-transform-empty.js index f9390792..8975d73f 100644 --- a/test-complete/nodejs-transform-empty.js +++ b/test-complete/nodejs-transform-empty.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-transform-javascript.js b/test-complete/nodejs-transform-javascript.js index a63603b4..9f9e16ab 100644 --- a/test-complete/nodejs-transform-javascript.js +++ b/test-complete/nodejs-transform-javascript.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-transform-negative.js b/test-complete/nodejs-transform-negative.js index cc348acb..3bdce3d2 100644 --- a/test-complete/nodejs-transform-negative.js +++ b/test-complete/nodejs-transform-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-transform-params.js b/test-complete/nodejs-transform-params.js index 90d624d7..e2858825 100644 --- a/test-complete/nodejs-transform-params.js +++ b/test-complete/nodejs-transform-params.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-transform-save-json-as-xml.js b/test-complete/nodejs-transform-save-json-as-xml.js index 74b9be0a..d3f0d0bc 100644 --- a/test-complete/nodejs-transform-save-json-as-xml.js +++ b/test-complete/nodejs-transform-save-json-as-xml.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-transform-xquery.js b/test-complete/nodejs-transform-xquery.js index cee4fc69..54d96640 100644 --- a/test-complete/nodejs-transform-xquery.js +++ b/test-complete/nodejs-transform-xquery.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-transform-xslt.js b/test-complete/nodejs-transform-xslt.js index 7c4a2059..28dd31f7 100644 --- a/test-complete/nodejs-transform-xslt.js +++ b/test-complete/nodejs-transform-xslt.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-xquery-eval-negative.js b/test-complete/nodejs-xquery-eval-negative.js index f2372ac0..e1f080a3 100644 --- a/test-complete/nodejs-xquery-eval-negative.js +++ b/test-complete/nodejs-xquery-eval-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-xquery-eval.js b/test-complete/nodejs-xquery-eval.js index a4780110..5e1c52cd 100644 --- a/test-complete/nodejs-xquery-eval.js +++ b/test-complete/nodejs-xquery-eval.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-xquery-invoke-params-negative.js b/test-complete/nodejs-xquery-invoke-params-negative.js index 0da32d37..e0b97045 100644 --- a/test-complete/nodejs-xquery-invoke-params-negative.js +++ b/test-complete/nodejs-xquery-invoke-params-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-xquery-invoke-params.js b/test-complete/nodejs-xquery-invoke-params.js index 47485ca8..63e7afbd 100644 --- a/test-complete/nodejs-xquery-invoke-params.js +++ b/test-complete/nodejs-xquery-invoke-params.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-xquery-invoke-simple-negative.js b/test-complete/nodejs-xquery-invoke-simple-negative.js index a1aaaa20..728cbe44 100644 --- a/test-complete/nodejs-xquery-invoke-simple-negative.js +++ b/test-complete/nodejs-xquery-invoke-simple-negative.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should'); diff --git a/test-complete/nodejs-xquery-invoke-simple.js b/test-complete/nodejs-xquery-invoke-simple.js index 95ddb1d7..db3d4dd3 100644 --- a/test-complete/nodejs-xquery-invoke-simple.js +++ b/test-complete/nodejs-xquery-invoke-simple.js @@ -1,5 +1,5 @@ /* -* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ var should = require('should');