azure-cosmosdb-node
We recently announced deprecation of JS v1 SDK and this repo. Starting September 2020 Microsoft will not provide support for this library. Existing applications using library will continue to work as-is. We strongly recommend upgrading to @azure/cosmos library.
파일 탐색기
최종 버전 다운로드 (.zip)- launch.json
- app.js
- CollectionManagement.njsproj
- package.json
- README.md
- app.js
- DatabaseManagement.njsproj
- package.json
- README.md
- app.js
- DocumentManagement.njsproj
- package.json
- README.md
- app.js
- IndexManagement.njsproj
- package.json
- README.md
- app.js
- package.json
- Partitioning.njsproj
- README.md
- README.md
- upsert.js
- app.js
- package.json
- README.md
- ServerSideScripts.njsproj
- Families.json
- config.js
- utils.js
- app.js
- package.json
- README.md
- UserManagement.njsproj
- DocumentDB.Samples.sln
- readme.md
- consistentHashRing.js
- hashPartitionResolver.js
- murmurHash.js
- aggregators.js
- defaultQueryExecutionContext.js
- documentProducer.js
- endpointComponent.js
- headerUtils.js
- orderByDocumentProducerComparator.js
- orderByQueryExecutionContext.js
- parallelQueryExecutionContext.js
- parallelQueryExecutionContextBase.js
- partitionedQueryExecutionContextInfoParser.js
- pipelinedQueryExecutionContext.js
- proxyQueryExecutionContext.js
- clientSideMetrics.js
- queryMetrics.js
- queryMetricsConstants.js
- queryMetricsUtils.js
- queryPreparationTimes.js
- runtimeExecutionTimes.js
- timeSpan.js
- inMemoryCollectionRoutingMap.js
- partitionKeyRangeCache.js
- smartRoutingMapProvider.js
- auth.js
- base.js
- constants.js
- defaultRetryPolicy.js
- documentclient.js
- documents.js
- endpointDiscoveryRetryPolicy.js
- globalEndpointManager.js
- helper.js
- index.js
- log.js
- platform.js
- queryIterator.js
- range.js
- request.js
- resourceId.js
- resourceThrottleRetryPolicy.js
- retryOptions.js
- retryUtility.js
- sessionContainer.js
- sessionReadRetryPolicy.js
- statusCodes.js
- uriFactory.js
- defaultQueryExecutionContextTests.js
- _testConfig.js
- aggregateQueryTests.js
- authorizationTests.js
- BaselineTest.PathParser.json
- baseTests.js
- collectionNamingTest.js
- consistentHashRingTests.js
- crossPartitionTests.js
- data.json
- documentClientTests.js
- encodingTests.js
- hashPartitionResolverTests.js
- incrementalFeedTests.js
- inMemoryCollectionRoutingMapTests.js
- mocha.json
- murmurHashTests.js
- plaftormTests.js
- platformTests.js
- proxyTests.js
- queryMetricsTests.js
- queryTests.js
- rangePartitionResolverTests.js
- rangeTests.js
- readme.md
- ruPerMinTests.js
- sessionContainerTests.js
- sessionTests.js
- smartRoutingMapProviderTests.js
- splitTests.js
- sslVerificationTests.js
- test.js
- uriFactoryTests.js
- index.d.ts
- index.d.ts
- index.d.ts
- typings.json
- index.d.ts
- index.d.ts
- index.d.ts
- .eslintrc
- .gitignore
- DocumentDB.Node.master.njsproj
- DocumentDB.Node.master.sln
- Gruntfile.js
- index.js
- LICENSE
- package.json
- .editorConfig
- .gitattributes
- .gitignore
- changelog.md
- Contributing.md
- LICENSE
- README.md
- SECURITY.md
# 설치 가이드
git clone https://github.com/Azure/azure-cosmosdb-node
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd azure-cosmosdb-node
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천- Node.js npm 명령어를 쓰려면 Node.js가 설치되어 있어야 합니다.
npm install -g mocha
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. .NET
보통cd source
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
dotnet restore
프로젝트에 필요한 패키지를 내려받습니다.
dotnet run
프로젝트를 빌드하고 바로 실행합니다.
4. Node.js
쉬움npm install documentdb
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm install azure-documentdb-node\source
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm install -g mocha
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
npm remove documentdb
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm install source
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
