[DOCS-948] document NumberLong in the shell Created: 04/Jan/13  Updated: 14/Jan/13  Resolved: 14/Jan/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Ryan Nitz Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DOCS-329 Document JS API Closed
Participants:
Days since reply: 11 years, 5 weeks, 2 days ago

 Description   

If you are updating a very large number (i.e., long) in the shell, you need to use the following:

{ $set :

{ 'someField' : NumberLong("20908458868526654") }

}



 Comments   
Comment by auto [ 14/Jan/13 ]

Author:

{u'date': u'2013-01-14T18:09:23Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: minor: DOCS-948 clarifying style
Branch: master
https://github.com/mongodb/docs/commit/14eb0b4a877445ca64c6edcf1e2f69ce7a0f2775

Comment by auto [ 14/Jan/13 ]

Author:

{u'date': u'2013-01-14T18:03:07Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-948
Branch: master
https://github.com/mongodb/docs/commit/acea8a2d3b5bcf28025315a07fbf3d9b94df568d

Comment by auto [ 14/Jan/13 ]

Author:

{u'date': u'2013-01-10T17:21:36Z', u'email': u'kay.kim@10gen.com', u'name': u'kay'}

Message: DOCS-948 incorporate kristina's feedback
Branch: master
https://github.com/mongodb/docs/commit/6dfec430198c6b39c2c45e7ec16c52ea08b5cd6a

Comment by auto [ 14/Jan/13 ]

Author:

{u'date': u'2013-01-10T00:44:23Z', u'email': u'kay.kim@10gen.com', u'name': u'kay'}

Message: DOCS-948 incorporate Kristina's feedback
Branch: master
https://github.com/mongodb/docs/commit/43ddc515b0ed8ab0c3cc2adc7244f612750f089a

Comment by auto [ 14/Jan/13 ]

Author:

{u'date': u'2013-01-08T16:05:20Z', u'email': u'kay.kim@10gen.com', u'name': u'kay'}

Message: DOCS-948 NumberLong in shell
Branch: master
https://github.com/mongodb/docs/commit/8657ef625befddf387017434455d13e6029da141

Generated at Thu Feb 08 07:39:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.