summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-05-17 12:22:53 -0400
committerEliot Horowitz <eliot@10gen.com>2013-05-17 12:25:23 -0400
commit2a8d3e43d57ef46170c14e65de16f9c2c0850d1f (patch)
treeb65aefca358ec3152335351f7cd1ca63116eb669
parentf3dc88b8fe956bd9bd26a5329a7b2de694947f52 (diff)
downloadmongo-2a8d3e43d57ef46170c14e65de16f9c2c0850d1f.tar.gz
SERVER-6400: expose isAllDigits
-rw-r--r--src/mongo/db/matcher/expression_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/expression_internal.h b/src/mongo/db/matcher/expression_internal.h
index be6cc1e0908..8e51dbb4ebf 100644
--- a/src/mongo/db/matcher/expression_internal.h
+++ b/src/mongo/db/matcher/expression_internal.h
@@ -25,6 +25,8 @@
namespace mongo {
+ bool isAllDigits( const StringData& str );
+
// XXX document me
// Replaces getFieldDottedOrArray without recursion nor string manipulation
BSONElement getFieldDottedOrArray( const BSONObj& doc,