Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Azure/azure-cosmosdb-node
/ functions
Functions
1,146 in github.com/Azure/azure-cosmosdb-node
⨍
Functions
1,146
◇
Types & classes
273
↓ 309 callers
Method
log
(message?: any, ...optionalParams: any[])
source/typings/globals/node/index.d.ts:9
↓ 260 callers
Function
callback
(err, doc, options)
samples/ServerSideScripts/JS/upsert.js:61
↓ 112 callers
Method
toArray
* 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 callers
Function
getCollectionLink
(isNameBasedLink, db, coll)
source/test/test.js:235
↓ 65 callers
Method
push
* 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 callers
Method
toString
(encoding?: string, start?: number, end?: number)
source/typings/globals/node/index.d.ts:504
↓ 49 callers
Method
forEach
* @see _.each
source/typings/globals/underscore/index.d.ts:5056
↓ 47 callers
Function
getDatabaseLink
(isNameBasedLink, db)
source/test/test.js:227
↓ 35 callers
Method
map
* Wrapped type `any[]`. * @see _.map
source/typings/globals/underscore/index.d.ts:5067
↓ 34 callers
Method
extend
* Wrapped type `object`. * @see _.extend
source/typings/globals/underscore/index.d.ts:5705
↓ 34 callers
Function
getCollectionLink
(isNameBasedLink, db, coll)
source/test/crossPartitionTests.js:110
↓ 27 callers
Function
getDocumentLink
(isNameBasedLink, db, coll, doc)
source/test/test.js:243
↓ 23 callers
Function
test
(input, expected)
source/test/baseTests.js:30
↓ 21 callers
Method
sortBy
* Wrapped type `any[]`. * @see _.sortBy
source/typings/globals/underscore/index.d.ts:5276
↓ 20 callers
Method
add
(emitter: Events)
source/typings/globals/node/index.d.ts:313
↓ 20 callers
Function
executeExceptionThrowingFunction
(func)
source/test/uriFactoryTests.js:38
↓ 20 callers
Function
test
(input, seed, expected)
source/test/murmurHashTests.js:30
↓ 18 callers
Function
executeQueryAndValidateResults
(collectionLink, query, options, expectedOrderIds, done, validateExecuteNextWithContinuationToken)
source/test/crossPartitionTests.js:474
↓ 17 callers
Function
getUserLink
(isNameBasedLink, db, user)
source/test/test.js:259
↓ 16 callers
Method
ok
* If msg string is omitted, logs OK in green, otherwise logs >> msg, with trailing newline.
source/typings/globals/grunt/index.d.ts:674
↓ 15 callers
Method
concat
* 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 callers
Function
handleError
(error)
samples/UserManagement/app.js:225
↓ 15 callers
Method
isArray
* Wrapped type `object`. * @see _.isArray
source/typings/globals/underscore/index.d.ts:5811
↓ 14 callers
Function
addUpsertWrapperMethods
(client, isUpsertTest)
source/test/test.js:80
↓ 14 callers
Function
handleError
(error)
samples/IndexManagement/app.js:753
↓ 14 callers
Method
leave
(n?: number)
source/typings/globals/semaphore/index.d.ts:19
↓ 14 callers
Method
slice
(start?: number, end?: number)
source/typings/globals/node/index.d.ts:509
↓ 13 callers
Method
keys
()
source/typings/globals/node/index.d.ts:554
↓ 12 callers
Method
error
(message?: any, ...optionalParams: any[])
source/typings/globals/node/index.d.ts:7
↓ 12 callers
Function
getStoredProcedureLink
(isNameBasedLink, db, coll, sproc)
source/test/test.js:291
↓ 12 callers
Function
handleError
(error)
samples/DocumentManagement/app.js:369
↓ 11 callers
Function
assertError
(message, error)
source/test/authorizationTests.js:59
↓ 11 callers
Method
create
* Wrapped type `any`. * @see _.create
source/typings/globals/underscore/index.d.ts:5739
↓ 11 callers
Method
read
* 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 callers
Method
skip
(expectation: string, assertion?: ActionFunction)
source/typings/globals/mocha/index.d.ts:151
↓ 11 callers
Function
test
(a, b, result)
source/test/consistentHashRingTests.js:72
↓ 11 callers
Function
verify
(resource, resourceType)
source/test/sessionContainerTests.js:19
↓ 10 callers
Function
createReadableStream
(firstChunk, secondChunk)
source/test/test.js:853
↓ 10 callers
Function
handleError
(error)
samples/CollectionManagement/app.js:264
↓ 10 callers
Method
shift
* 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 callers
Function
test3
(key, expected)
source/test/consistentHashRingTests.js:139
↓ 10 callers
Function
validateOverlappingRanges
(queryRanges, expectedResults, done, errorExpected)
source/test/smartRoutingMapProviderTests.js:204
↓ 9 callers
Method
indexOf
(value: string | number | Buffer, byteOffset?: number, encoding?: string)
source/typings/globals/node/index.d.ts:550
↓ 9 callers
Method
info
(message?: any, ...optionalParams: any[])
source/typings/globals/node/index.d.ts:8
↓ 8 callers
Function
assertError
(error, message)
source/test/collectionNamingTest.js:47
↓ 8 callers
Function
resolveForReadTest
(resolver, partitionKey, expectedLinks)
source/test/rangePartitionResolverTests.js:257
↓ 8 callers
Function
triggerCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1648
↓ 7 callers
Method
copy
(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number)
source/typings/globals/node/index.d.ts:508
↓ 7 callers
Function
createCollection
(dbLink, id, indexPolicy, callback)
samples/IndexManagement/app.js:658
↓ 7 callers
Method
filter
* Wrapped type `any[]`. * @see _.filter
source/typings/globals/underscore/index.d.ts:5159
↓ 7 callers
Function
getToken
(tokens)
source/test/sessionTests.js:62
↓ 7 callers
Function
requestChargeValidator
(queryIterator, done)
source/test/crossPartitionTests.js:545
↓ 7 callers
Function
toStringTest
(options, expectedString, done)
source/test/rangeTests.js:337
↓ 7 callers
Function
validateResults
(actualResults, expectedOrderIds)
source/test/splitTests.js:234
↓ 7 callers
Function
validateResults
(actualResults, expectedOrderIds)
source/test/crossPartitionTests.js:213
↓ 6 callers
Function
checkDocumentGone
(client, collection, createdDocument, callback)
source/test/test.js:3263
↓ 6 callers
Function
createResources
(callback)
source/test/authorizationTests.js:77
↓ 6 callers
Function
deleteCollection
(collLink, callback)
samples/IndexManagement/app.js:704
↓ 6 callers
Function
getAttachmentLink
(isNameBasedLink, db, coll, doc, attachment)
source/test/test.js:251
↓ 6 callers
Function
getCollectionLink
(isNameBasedLink, db, coll)
source/test/incrementalFeedTests.js:61
↓ 6 callers
Function
getPermissionLink
(isNameBasedLink, db, user, permission)
source/test/test.js:267
↓ 6 callers
Function
handleError
(error)
samples/DatabaseManagement/app.js:171
↓ 6 callers
Function
offerReadAndQueryTest
(isNameBased, isPartitionedCollection, offerThroughput, expectedCollectionSize, done)
source/test/test.js:2865
↓ 6 callers
Function
task
()
source/lib/documentclient.js:1386
↓ 6 callers
Function
test2
(key, expected)
source/test/consistentHashRingTests.js:121
↓ 6 callers
Function
validateResult
(actualValue, expectedValue)
source/test/aggregateQueryTests.js:228
↓ 5 callers
Function
assertQueryMetricsEquality
(queryMetrics1, queryMetrics2)
source/test/queryMetricsTests.js:78
↓ 5 callers
Function
checkDefaultIndexingPolicyPaths
(indexingPolicy)
source/test/test.js:2097
↓ 5 callers
Function
initializeProperties
(target, members, prefix)
source/lib/base.js:31
↓ 5 callers
Function
interval
(value, scale)
source/lib/queryMetrics/timeSpan.js:261
↓ 5 callers
Function
invalidCompareFunctionTest
(compareFunction, done)
source/test/rangePartitionResolverTests.js:378
↓ 5 callers
Method
on
(event: string, listener: Function)
source/typings/globals/node/index.d.ts:320
↓ 5 callers
Function
onComplete
(err, response, headers)
source/lib/request.js:79
↓ 5 callers
Method
take
* @see _.first
source/typings/globals/underscore/index.d.ts:5378
↓ 5 callers
Function
test1
(key, expected)
source/test/consistentHashRingTests.js:105
↓ 5 callers
Function
validateOfferResponseBody
(offer, expectedCollLink, expectedOfferType)
source/test/test.js:2853
↓ 4 callers
Function
attachmentCRUDOverMultiplePartitionsTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1003
↓ 4 callers
Function
attachmentCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:884
↓ 4 callers
Function
authorizationCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1515
↓ 4 callers
Function
checkDocumentExists
(client, collection, createdDocument, callback)
source/test/test.js:3271
↓ 4 callers
Function
collectionCRUDTest
(isNameBased, hasPartitionKey, done)
source/test/test.js:539
↓ 4 callers
Function
createResources
(isNameBased, client, callback)
source/test/test.js:2356
↓ 4 callers
Function
deleteDatabases
(done)
source/test/queryTests.js:20
↓ 4 callers
Function
documentCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:677
↓ 4 callers
Method
each
* Wrapped type `any[]`. * @see _.each
source/typings/globals/underscore/index.d.ts:5046
↓ 4 callers
Method
get
* 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 callers
Function
getCollectionLink
(isNameBasedLink, db, coll)
source/test/splitTests.js:122
↓ 4 callers
Function
getTriggerLink
(isNameBasedLink, db, coll, trigger)
source/test/test.js:275
↓ 4 callers
Function
getUserDefinedFunctionLink
(isNameBasedLink, db, coll, udf)
source/test/test.js:283
↓ 4 callers
Function
insertDocuments
(documentDefinitions, callback)
samples/Partitioning/app.js:392
↓ 4 callers
Method
isEmpty
* Wrapped type `object`. * @see _.isEmpty
source/typings/globals/underscore/index.d.ts:5793
↓ 4 callers
Method
join
* 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 callers
Method
once
(event: string, listener: Function)
source/typings/globals/node/index.d.ts:321
↓ 4 callers
Function
permissionCRUDOverMultiplePartitionsTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1321
↓ 4 callers
Function
permissionCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1245
↓ 4 callers
Method
readIntBE
(offset: number, byteLength: number, noAssert?: boolean)
source/typings/globals/node/index.d.ts:517
↓ 4 callers
Method
sort
* 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 callers
Function
spatialIndexTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1940
↓ 4 callers
Function
sprocCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:1847
↓ 4 callers
Function
storedProcedureCRUDTest
(isNameBased, isUpsertTest, done)
source/test/test.js:2653
next →
1–100 of 1,146, ranked by callers