翻译或纠错本页面
- Reference >
- Database Commands >
- Testing Commands >
- godinsert
godinsert¶
- godinsert¶
godinsert is an internal command for testing purposes only.
注解
This command obtains a write lock on the affected database and will block other operations until it has completed.
注解
godinsert is an internal command that is not enabled by default. godinsert must be enabled by using --setParameter enableTestCommands=1 on the mongod command line. godinsert cannot be enabled during run-time.