Codeception / Codeception/module-mongodb

Restore args deprecated

オープン
#13 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
2
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

Thanks for this package. Since mongo 3.4 there are args deprecated. I'm using the new v3.0.0 of this package.

https://stackoverflow.com/a/41712868/1171049

````
the --db and --collection args should only be used when restoring from a BSON file. Other uses are deprecated and will not exist in the future; use --nsInclude instead

````
From Mongo docs: The use of [--db](https://www.mongodb.com/docs/database-tools/mongorestore/#std-option-mongorestore.--db) and [--collection](https://www.mongodb.com/docs/database-tools/mongorestore/#std-option-mongorestore.--collection) options are deprecated when restoring from a directory or an archive file. Instead, to restore from an archive or a directory, see [--nsInclude](https://www.mongodb.com/docs/database-tools/mongorestore/#std-option-mongorestore.--nsInclude) instead.

https://www.mongodb.com/docs/database-tools/mongorestore/#std-option-mongorestore.--nsInclude

Thanks!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。