AWS Security ChangesHomeSearch

AWS documentdb documentation change

Service: documentdb · 2026-03-28 · Documentation low

File: documentdb/latest/developerguide/lt.md

Summary

Entire documentation page for the $lt query operator was removed, including examples in MongoDB Shell, Node.js, and Python

Security assessment

This change removes documentation about the $lt query operator but doesn't indicate any security vulnerability or weakness. The removed content includes standard usage examples and connection strings with placeholders. No security warnings, vulnerability disclosures, or security-related changes are present in the removed content. This appears to be routine documentation cleanup or restructuring.

Diff

diff --git a/documentdb/latest/developerguide/lt.md b/documentdb/latest/developerguide/lt.md
index afaa00323..8b1378917 100644
--- a//documentdb/latest/developerguide/lt.md
+++ b//documentdb/latest/developerguide/lt.md
@@ -1 +0,0 @@
-[](/pdfs/documentdb/latest/developerguide/developerguide.pdf#lt "Open PDF")
@@ -3,103 +1,0 @@
-[Documentation](/index.html)[Amazon DocumentDB](/documentdb/index.html)[Developer Guide](what-is.html)
-
-Example (MongoDB Shell)Code examples
-
-# $lt
-
-The `$lt` operator in Amazon DocumentDB is used to match values that are less than the specified value. This operator is useful for filtering and querying data based on numerical comparisons.
-
-**Parameters**
-
-  * `field`: The field name to check.
-
-  * `value`: The value to compare against.
-
-
-
-
-## Example (MongoDB Shell)
-
-The following example demonstrates how to use the `$lt` operator to retrieve documents where the `Inventory.OnHand` value is less than 50.
-
-**Create sample documents**
-    
-    
-    db.example.insertMany([
-      { "_id": 1, "Inventory": { "OnHand": 25, "Sold": 60 }, "Colors": ["Red", "Blue"] },
-      { "_id": 2, "Inventory": { "OnHand": 75, "Sold": 40 }, "Colors": ["Red", "White"] },
-      { "_id": 3, "Inventory": { "OnHand": 10, "Sold": 85 }, "Colors": ["Red", "Green"] }
-    ]);
-
-**Query example**
-    
-    
-    db.example.find({ "Inventory.OnHand": { $lt: 50 } })
-
-**Output**
-    
-    
-    { "_id" : 1, "Inventory" : { "OnHand" : 25, "Sold" : 60 }, "Colors" : [ "Red", "Blue" ] }
-    { "_id" : 3, "Inventory" : { "OnHand" : 10, "Sold" : 85 }, "Colors" : [ "Red", "Green" ] }
-
-## Code examples
-
-To view a code example for using the `$lt` command, choose the tab for the language that you want to use:
-
-Node.js
-    
-    
-    
-    const { MongoClient } = require('mongodb');
-    
-    async function example() {
-      const client = await MongoClient.connect('mongodb://<username>:<password>@<cluster-endpoint>:27017/?tls=true&tlsCAFile=global-bundle.pem&replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false');
-      const db = client.db('test');
-      const collection = db.collection('example');
-    
-      const result = await collection.find({ "Inventory.OnHand": { $lt: 50 } }).toArray();
-      console.log(result);
-    
-      await client.close();
-    }
-    
-    example();
-
-Python
-    
-    
-    
-    from pymongo import MongoClient
-    
-    def example():
-        client = MongoClient('mongodb://<username>:<password>@<cluster-endpoint>:27017/?tls=true&tlsCAFile=global-bundle.pem&replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false')
-        db = client['test']
-        collection = db['example']
-    
-        result = list(collection.find({ "Inventory.OnHand": { "$lt": 50 } }))
-        print(result)
-    
-        client.close()
-    
-    example()
-
-![Warning](https://d1ge0kk1l5kms0.cloudfront.net/images/G/01/webservices/console/warning.png) **Javascript is disabled or is unavailable in your browser.**
-
-To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.
-
-[Document Conventions](/general/latest/gr/docconventions.html)
-
-$jsonSchema
-
-$mod
-
-Did this page help you? - Yes
-
-Thanks for letting us know we're doing a good job!
-
-If you've got a moment, please tell us what we did right so we can do more of it.
-
-Did this page help you? - No
-
-Thanks for letting us know this page needs work. We're sorry we let you down.
-
-If you've got a moment, please tell us how we can make the documentation better.