Skip to content

Commit

Permalink
Fix typo in migration guide (FerretDB#4384)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Jun 25, 2024
1 parent 2caffce commit 6dc69f6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/docs/migration/migrating-from-mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ You can also specify the database and collection (`dump/<database>/<collection>`
To import your database using `mongoimport`, run the command from the terminal directory where you exported your data:

```sh
mongoimport--uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
mongoimport --uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
```

The command will import the specified collection you exported from your MongoDB instance to FerretDB.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ You can also specify the database and collection (`dump/<database>/<collection>`
To import your database using `mongoimport`, run the command from the terminal directory where you exported your data:

```sh
mongoimport--uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
mongoimport --uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
```

The command will import the specified collection you exported from your MongoDB instance to FerretDB.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ You can also specify the database and collection (`dump/<database>/<collection>`
To import your database using `mongoimport`, run the command from the terminal directory where you exported your data:

```sh
mongoimport--uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
mongoimport --uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
```

The command will import the specified collection you exported from your MongoDB instance to FerretDB.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ You can also specify the database and collection (`dump/<database>/<collection>`
To import your database using `mongoimport`, run the command from the terminal directory where you exported your data:

```sh
mongoimport--uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
mongoimport --uri="mongodb://<yourusername>:<yourpassword>@<host>:<port>/?authMechanism=PLAIN" --db=<database-name> --collection=<collection-name> --file=<collection>.json
```

The command will import the specified collection you exported from your MongoDB instance to FerretDB.

0 comments on commit 6dc69f6

Please sign in to comment.