Skip to content

This is not working when inserting your example in MongoDB Extended JSON docs. #3535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jbelmont
Copy link
Contributor

@jbelmont jbelmont commented Feb 4, 2019

I see the following in my running mongo docker image of 4.0.0

db.json.insert( { longUnQuoted : NumberLong(9223372036854775808) } )
2019-02-04T23:39:13.080+0000 E QUERY    [js] Error: number passed to NumberLong must be representable as an int64_t :
@(shell):1:34

I put a comment here since I couldn't create an issue.

I see the following in my running mongo docker image of 4.0.0

```js
db.json.insert( { longUnQuoted : NumberLong(9223372036854775808) } )
2019-02-04T23:39:13.080+0000 E QUERY    [js] Error: number passed to NumberLong must be representable as an int64_t :
@(shell):1:34
```
@kay-kim
Copy link
Contributor

kay-kim commented Sep 18, 2019

Hi --
thank you for this pull request and apologies for the delay. It seems that you updated the NumberDecimal example instead of the NumberLong. We created a JIRA ticket (https://jira.mongodb.org/browse/DOCS-13038) to address the max number if you pass in an unquoted number to NumberLong.

Once again, apologies and thanks for taking the time to help us improve the docs.

Regards,

Kay Kim

@kay-kim kay-kim closed this Sep 18, 2019
mongo-cr-bot pushed a commit that referenced this pull request Jul 10, 2023
* added changeStreams

* DOCSP-30942 added changeStreams

* changed link

* changing headings

* took out previous changes, added showExpandedEvents on the correct page

* took out changestream

* spacing stuff

* fixed formatting again

* spacing issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants