summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFraasi <fraasi.gh@gmail.com>2022-07-05 16:06:22 +0300
committerFraasi <fraasi.gh@gmail.com>2022-07-05 16:06:22 +0300
commit2ae044227763d719f48eef5ba28a05dd34d8f5ab (patch)
treeeccf12689d2fe655541cdb96dcb1f045a5f8725e
parentf6f2aaafda5113c9468ff524ba1f372441ffd960 (diff)
fix couple of typos
-rw-r--r--mongodb.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/mongodb.html.markdown b/mongodb.html.markdown
index 959b57d0..306f361c 100644
--- a/mongodb.html.markdown
+++ b/mongodb.html.markdown
@@ -256,7 +256,7 @@ db.engineers.find({ $gt: { age: 25 }})
db.engineers.find({ $gte: { age: 25 }})
// Find all less than or less than equal to some condition
-db.engineers.find({ $lte: { age: 25 }})
+db.engineers.find({ $lt: { age: 25 }})
db.engineers.find({ $lte: { age: 25 }})
// Find all equal or not equal to
@@ -293,7 +293,7 @@ db.engineers.find({ $not: {
// Must match none of the query conditions
db.engineers.find({ $nor [
- gender: 'Female,
+ gender: 'Female',
age: {
$gte: 18
}
@@ -400,6 +400,6 @@ features, I would look at
- Aggregation - useful for creating advanced queries to be executed by the
database
-- Idexing allows for caching, which allows for much faster execution of queries
+- Indexing allows for caching, which allows for much faster execution of queries
- Sharding allows for horizontal data scaling and distribution between multiple
machines.