summaryrefslogtreecommitdiff
path: root/src/mongo/db/keypattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/keypattern.h')
-rw-r--r--src/mongo/db/keypattern.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/keypattern.h b/src/mongo/db/keypattern.h
index ac31301b7f2..eb3c9d9da41 100644
--- a/src/mongo/db/keypattern.h
+++ b/src/mongo/db/keypattern.h
@@ -53,12 +53,6 @@ namespace mongo {
class KeyPattern {
public:
/**
- * Is the provided key pattern the index over the ID field?
- * The always required ID index is always {_id: 1} or {_id: -1}.
- */
- static bool isIdKeyPattern(const BSONObj& pattern);
-
- /**
* Is the provided key pattern ordered increasing or decreasing or not?
*/
static bool isOrderedKeyPattern(const BSONObj& pattern);