如何在MongoDB中测量查询的执行时间?我找到了Mongo-hacker插件,但它看起来像测量查询时间,包括显示所有结果的时间.在PostgreSQL中我使用Explain Analyze SELECT ...,但我没有在mongo的db.collection.find({smth})中找到任何关于时间的信息.solution()
我有一个Java类,我需要在F#中编写类似的类.如何在f#中定义public内的私有类?
public class KnownRuleGoals {
void record() {
knownParsingSet.add(new KnownParsing());
}
private class KnownParsing {
Rule [] knownParsing;
KnownParsing() {
...
}
void doWork() { ... }
}
}
Run Code Online (Sandbox Code Playgroud)