Skip to content

mapping cosmos-nosql id to mongodb _id #104

@Snamnik

Description

@Snamnik

I'm going to migrate my data from cosmos-nosql to mongodb .
the tool doesn't map the cosmos id field to mongodb _id field.
for example:
cosmos data:

 {  "id": "BSKT_1",
    "CustomerId": 111,
}

the mapped data in mongo

{
"_id": ObjectId("659f9bbcb128ee4f195bdf8d"),
"id" : "BSKT_1",
"CustomerId": 111
}

how can I resolve this issue?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions