Skip to content

Commit e2b6026

Browse files
author
Sam Kleinman
committed
DOCS-603 fixing redundancy
1 parent 7dff238 commit e2b6026

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

source/faq/developers.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ JavaScript code to the :operator:`$where` field.
214214
This will ensure that your application sends ``user_value`` to the
215215
database server as data rather than code.
216216

217+
.. _faq-dollar-sign-escaping:
218+
217219
Dollar Sign Operator Escaping
218220
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219221

@@ -338,10 +340,6 @@ Consider the following :program:`mongo` example:
338340
{ "_id" : ObjectId("4b031566ce8de6586fb002c9"), "x" : true }
339341
{ "_id" : ObjectId("4b031563ce8de6586fb002c8"), "x" : "Tue Nov 17 2009 16:28:03 GMT-0500 (EST)" }
340342

341-
.. warning::
342-
343-
Mixing types for the same field is not encouraged.
344-
345343
The :operator:`$type` operator provides access to :term:`BSON type
346344
<BSON types>` comparison in the MongoDB query syntax. See the
347345
documentation on :term:`BSON types` and the :operator:`$type` operator
@@ -382,22 +380,22 @@ exceptions:
382380

383381
- The maximum size of a collection name is 128 characters, including
384382
the name of the database. However, for maximum flexibility,
385-
collections should have names less than 80 characters.
383+
collections should have names less than 80 characters.
386384

387385
If your collection name includes special characters, such as the
388386
underscore character, then to access the collection use the
389387
:method:`db.getCollection()` method or a :api:`similar method for your
390388
driver <>`.
391389

392-
.. example:: To create a collection ``_foo`` and insert the
390+
.. example:: To create a collection ``_foo`` and insert the
393391
``{ a : 1 }`` document, use the following operation:
394392

395393
.. code-block:: javascript
396394

397395
db.getCollection("_foo").insert( { a : 1 } )
398396

399397
To perform a query, use the :method:`find() <db.collection.find()>`
400-
find method, in as the following:
398+
find method, in as the following:
401399

402400
.. code-block:: javascript
403401

0 commit comments

Comments
 (0)