Docs 主页 → 开发应用程序 → MongoDB Manual
setAllowMigrations
定义
行为
例子
此操作会阻止在store.inventory
collection上的迁移:
db.adminCommand( { setAllowMigrations: "store.inventory", allowMigrations: false } )
Docs 主页 → 开发应用程序 → MongoDB Manual
此操作会阻止在store.inventory
collection上的迁移:
db.adminCommand( { setAllowMigrations: "store.inventory", allowMigrations: false } )