Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigBang

Cosmos DB Migration Tool written in .NET

How to run

To use run this query with you connection string and json file:

dotnet run -- --connection-string "CosmosConnectionString" --file filelocation

Example database json file

{
  "id": "Databasename",
  "throughput": 400,
  "containers": [
    {
      "id": "table",
      "indexingPolicy": {
        "indexingMode": "consistent",
        "automatic": true,
        "includedPaths": [
          {
            "path": "/*",
            "indexes": [
              {
                "kind": "Range",
                "dataType": "Number",
                "precision": -1
              },
              {
                "kind": "Hash",
                "dataType": "String",
                "precision": 3
              }
            ]
          }
        ]
      },
      "partitionKey": "/partitionKey",
      "defaultTimeToLive": 1000,
      "storedProcedures": [],
      "userDefinedFunctions": []
    }
  ]
}

About

Cosmos DB Migration Tool written in .NET

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages