MCPcopy Create free account

hub / github.com/Azure/azure-cosmosdb-node / functions

Functions1,146 in github.com/Azure/azure-cosmosdb-node

↓ 309 callersMethodlog
(message?: any, ...optionalParams: any[])
source/typings/globals/node/index.d.ts:9
↓ 260 callersFunctioncallback
(err, doc, options)
samples/ServerSideScripts/JS/upsert.js:61
↓ 112 callersMethodtoArray
* Given an array or array-like object, return an array. * Great for converting arguments objects into arrays.
source/typings/globals/grunt/index.d.ts:1136
↓ 73 callersFunctiongetCollectionLink
(isNameBasedLink, db, coll)
source/test/test.js:235
↓ 65 callersMethodpush
* Adds one or more elements to the end of an array and returns the new length of the array. * @param item The elements to add to the end of the ar
source/typings/globals/underscore/index.d.ts:6008
↓ 55 callersMethodtoString
(encoding?: string, start?: number, end?: number)
source/typings/globals/node/index.d.ts:504
↓ 49 callersMethodforEach
* @see _.each
source/typings/globals/underscore/index.d.ts:5056
↓ 47 callersFunctiongetDatabaseLink
(isNameBasedLink, db)
source/test/test.js:227
↓ 35 callersMethodmap
* Wrapped type `any[]`. * @see _.map
source/typings/globals/underscore/index.d.ts:5067
↓ 34 callersMethodextend
* Wrapped type `object`. * @see _.extend
source/typings/globals/underscore/index.d.ts:5705
↓ 34 callersFunctiongetCollectionLink
(isNameBasedLink, db, coll)
source/test/crossPartitionTests.js:110
↓ 27 callersFunctiongetDocumentLink
(isNameBasedLink, db, coll, doc)
source/test/test.js:243
↓ 23 callersFunctiontest
(input, expected)
source/test/baseTests.js:30
↓ 21 callersMethodsortBy
* Wrapped type `any[]`. * @see _.sortBy
source/typings/globals/underscore/index.d.ts:5276
↓ 20 callersMethodadd
(emitter: Events)
source/typings/globals/node/index.d.ts:313
↓ 20 callersFunctionexecuteExceptionThrowingFunction
(func)
source/test/uriFactoryTests.js:38
↓ 20 callersFunctiontest
(input, seed, expected)
source/test/murmurHashTests.js:30
↓ 18 callersFunctionexecuteQueryAndValidateResults
(collectionLink, query, options, expectedOrderIds, done, validateExecuteNextWithContinuationToken)
source/test/crossPartitionTests.js:474
↓ 17 callersFunctiongetUserLink
(isNameBasedLink, db, user)
source/test/test.js:259
↓ 16 callersMethodok
* If msg string is omitted, logs OK in green, otherwise logs >> msg, with trailing newline.
source/typings/globals/grunt/index.d.ts:674
↓ 15 callersMethodconcat
* Returns a new array comprised of the array on which it is called * joined with the array(s) and/or value(s) provided as arguments. * @param
source/typings/globals/underscore/index.d.ts:5988
↓ 15 callersFunctionhandleError
(error)
samples/UserManagement/app.js:225
↓ 15 callersMethodisArray
* Wrapped type `object`. * @see _.isArray
source/typings/globals/underscore/index.d.ts:5811
↓ 14 callersFunctionaddUpsertWrapperMethods
(client, isUpsertTest)
source/test/test.js:80
↓ 14 callersFunctionhandleError
(error)
samples/IndexManagement/app.js:753
↓ 14 callersMethodleave
(n?: number)
source/typings/globals/semaphore/index.d.ts:19
↓ 14 callersMethodslice
(start?: number, end?: number)
source/typings/globals/node/index.d.ts:509
↓ 13 callersMethodkeys
()
source/typings/globals/node/index.d.ts:554
↓ 12 callersMethoderror
(message?: any, ...optionalParams: any[])
source/typings/globals/node/index.d.ts:7
↓ 12 callersFunctiongetStoredProcedureLink
(isNameBasedLink, db, coll, sproc)
source/test/test.js:291
↓ 12 callersFunctionhandleError
(error)
samples/DocumentManagement/app.js:369
↓ 11 callersFunctionassertError
(message, error)
source/test/authorizationTests.js:59
↓ 11 callersMethodcreate
* Wrapped type `any`. * @see _.create
source/typings/globals/underscore/index.d.ts:5739
↓ 11 callersMethodread
* Read and return a file's contents. * Returns a string, unless options.encoding is null in which case it returns a Buffer.
source/typings/globals/grunt/index.d.ts:369
↓ 11 callersMethodskip
(expectation: string, assertion?: ActionFunction)
source/typings/globals/mocha/index.d.ts:151
↓ 11 callersFunctiontest
(a, b, result)
source/test/consistentHashRingTests.js:72
↓ 11 callersFunctionverify
(resource, resourceType)
source/test/sessionContainerTests.js:19
↓ 10 callersFunctioncreateReadableStream
(firstChunk, secondChunk)
source/test/test.js:853
↓ 10 callersFunctionhandleError
(error)
samples/CollectionManagement/app.js:264
↓ 10 callersMethodshift
* Removes the first element from an array and returns that element. This method changes the length of the array. * @return The shifted element.
source/typings/globals/underscore/index.d.ts:6020
↓ 10 callersFunctiontest3
(key, expected)
source/test/consistentHashRingTests.js:139
↓ 10 callersFunctionvalidateOverlappingRanges
(queryRanges, expectedResults, done, errorExpected)
source/test/smartRoutingMapProviderTests.js:204
↓ 9 callersMethodindexOf
(value: string | number | Buffer, byteOffset?: number, encoding?: string)
source/typings/globals/node/index.d.ts:550
↓ 9 callersMethodinfo
(message?: any, ...optionalParams: any[])
source/typings/globals/node/index.d.ts:8
↓ 8 callersFunctionassertError
(error, message)
source/test/collectionNamingTest.js:47
↓ 8 callersFunctionresolveForReadTest
(resolver, partitionKey, expectedLinks)
source/test/rangePartitionResolverTests.js:257
↓ 8 callersFunctiontriggerCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1648
↓ 7 callersMethodcopy
(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number)
source/typings/globals/node/index.d.ts:508
↓ 7 callersFunctioncreateCollection
(dbLink, id, indexPolicy, callback)
samples/IndexManagement/app.js:658
↓ 7 callersMethodfilter
* Wrapped type `any[]`. * @see _.filter
source/typings/globals/underscore/index.d.ts:5159
↓ 7 callersFunctiongetToken
(tokens)
source/test/sessionTests.js:62
↓ 7 callersFunctionrequestChargeValidator
(queryIterator, done)
source/test/crossPartitionTests.js:545
↓ 7 callersFunctiontoStringTest
(options, expectedString, done)
source/test/rangeTests.js:337
↓ 7 callersFunctionvalidateResults
(actualResults, expectedOrderIds)
source/test/splitTests.js:234
↓ 7 callersFunctionvalidateResults
(actualResults, expectedOrderIds)
source/test/crossPartitionTests.js:213
↓ 6 callersFunctioncheckDocumentGone
(client, collection, createdDocument, callback)
source/test/test.js:3263
↓ 6 callersFunctioncreateResources
(callback)
source/test/authorizationTests.js:77
↓ 6 callersFunctiondeleteCollection
(collLink, callback)
samples/IndexManagement/app.js:704
↓ 6 callersFunctiongetAttachmentLink
(isNameBasedLink, db, coll, doc, attachment)
source/test/test.js:251
↓ 6 callersFunctiongetCollectionLink
(isNameBasedLink, db, coll)
source/test/incrementalFeedTests.js:61
↓ 6 callersFunctiongetPermissionLink
(isNameBasedLink, db, user, permission)
source/test/test.js:267
↓ 6 callersFunctionhandleError
(error)
samples/DatabaseManagement/app.js:171
↓ 6 callersFunctionofferReadAndQueryTest
(isNameBased, isPartitionedCollection, offerThroughput, expectedCollectionSize, done)
source/test/test.js:2865
↓ 6 callersFunctiontask
()
source/lib/documentclient.js:1386
↓ 6 callersFunctiontest2
(key, expected)
source/test/consistentHashRingTests.js:121
↓ 6 callersFunctionvalidateResult
(actualValue, expectedValue)
source/test/aggregateQueryTests.js:228
↓ 5 callersFunctionassertQueryMetricsEquality
(queryMetrics1, queryMetrics2)
source/test/queryMetricsTests.js:78
↓ 5 callersFunctioncheckDefaultIndexingPolicyPaths
(indexingPolicy)
source/test/test.js:2097
↓ 5 callersFunctioninitializeProperties
(target, members, prefix)
source/lib/base.js:31
↓ 5 callersFunctioninterval
(value, scale)
source/lib/queryMetrics/timeSpan.js:261
↓ 5 callersFunctioninvalidCompareFunctionTest
(compareFunction, done)
source/test/rangePartitionResolverTests.js:378
↓ 5 callersMethodon
(event: string, listener: Function)
source/typings/globals/node/index.d.ts:320
↓ 5 callersFunctiononComplete
(err, response, headers)
source/lib/request.js:79
↓ 5 callersMethodtake
* @see _.first
source/typings/globals/underscore/index.d.ts:5378
↓ 5 callersFunctiontest1
(key, expected)
source/test/consistentHashRingTests.js:105
↓ 5 callersFunctionvalidateOfferResponseBody
(offer, expectedCollLink, expectedOfferType)
source/test/test.js:2853
↓ 4 callersFunctionattachmentCRUDOverMultiplePartitionsTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1003
↓ 4 callersFunctionattachmentCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:884
↓ 4 callersFunctionauthorizationCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1515
↓ 4 callersFunctioncheckDocumentExists
(client, collection, createdDocument, callback)
source/test/test.js:3271
↓ 4 callersFunctioncollectionCRUDTest
(isNameBased, hasPartitionKey, done)
source/test/test.js:539
↓ 4 callersFunctioncreateResources
(isNameBased, client, callback)
source/test/test.js:2356
↓ 4 callersFunctiondeleteDatabases
(done)
source/test/queryTests.js:20
↓ 4 callersFunctiondocumentCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:677
↓ 4 callersMethodeach
* Wrapped type `any[]`. * @see _.each
source/typings/globals/underscore/index.d.ts:5046
↓ 4 callersMethodget
* Get a value from the project's Grunt configuration. * If prop is specified, that property's value is returned, or null if that property
source/typings/globals/grunt/index.d.ts:148
↓ 4 callersFunctiongetCollectionLink
(isNameBasedLink, db, coll)
source/test/splitTests.js:122
↓ 4 callersFunctiongetTriggerLink
(isNameBasedLink, db, coll, trigger)
source/test/test.js:275
↓ 4 callersFunctiongetUserDefinedFunctionLink
(isNameBasedLink, db, coll, udf)
source/test/test.js:283
↓ 4 callersFunctioninsertDocuments
(documentDefinitions, callback)
samples/Partitioning/app.js:392
↓ 4 callersMethodisEmpty
* Wrapped type `object`. * @see _.isEmpty
source/typings/globals/underscore/index.d.ts:5793
↓ 4 callersMethodjoin
* Join all elements of an array into a string. * @param separator Optional. Specifies a string to separate each element of the array. The separato
source/typings/globals/underscore/index.d.ts:5995
↓ 4 callersMethodonce
(event: string, listener: Function)
source/typings/globals/node/index.d.ts:321
↓ 4 callersFunctionpermissionCRUDOverMultiplePartitionsTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1321
↓ 4 callersFunctionpermissionCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1245
↓ 4 callersMethodreadIntBE
(offset: number, byteLength: number, noAssert?: boolean)
source/typings/globals/node/index.d.ts:517
↓ 4 callersMethodsort
* Sorts the elements of an array in place and returns the array. The sort is not necessarily stable. The default sort order is according to string Uni
source/typings/globals/underscore/index.d.ts:6035
↓ 4 callersFunctionspatialIndexTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1940
↓ 4 callersFunctionsprocCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1847
↓ 4 callersFunctionstoredProcedureCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:2653
next →1–100 of 1,146, ranked by callers