Skip to content
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

Exposing BSON constructors #1

Merged
merged 1 commit into from
Jul 17, 2011
Merged

Exposing BSON constructors #1

merged 1 commit into from
Jul 17, 2011

Conversation

walling
Copy link
Contributor

@walling walling commented Jul 17, 2011

The following BSON constructors are exposed in the API:

  • client.bson_serializer.Long
  • client.bson_serializer.ObjectID
  • client.bson_serializer.Timestamp
  • client.bson_serializer.DBRef
  • client.bson_serializer.Binary
  • client.bson_serializer.Code

They are exposed in db.bson.XXX after connecting, e.g. db.bson.ObjectID.

mafintosh added a commit that referenced this pull request Jul 17, 2011
Exposing BSON constructors
@mafintosh mafintosh merged commit 5db2f35 into mongo-js:master Jul 17, 2011
@mderazon mderazon mentioned this pull request Jun 24, 2015
saintedlama pushed a commit that referenced this pull request Jul 9, 2015
Add upsert() method for Bulk.find
watson added a commit that referenced this pull request Oct 6, 2015
Previusly only the `ObjectId` function was exposed and available
directly from the root of the `mongojs` module.

This commit exposes a couple of other BSON types in the same manner.
This is now the full list of exposed types:

- `mongojs.ObjectId`
- `mongojs.DBRef`
- `mongojs.Timestamp`
- `mongojs.MinKey`
- `mongojs.MaxKey`
- `mongojs.NumberLong` (the BSON type `Long`)

This is actually a revival commit, bringing back the spirit of the very
first Pull Request ever made to this projeect back in 2011 (later
refined in commit #06bbf02):

#1
watson added a commit that referenced this pull request Oct 6, 2015
Previusly only the `ObjectId` function was exposed and available
directly from the root of the `mongojs` module.

This commit exposes a couple of other BSON types in the same manner.
This is now the full list of exposed types:

- `mongojs.ObjectId`
- `mongojs.DBRef`
- `mongojs.Timestamp`
- `mongojs.MinKey`
- `mongojs.MaxKey`
- `mongojs.NumberLong` (the BSON type `Long`)

This is actually a revival commit, bringing back the spirit of the very
first Pull Request ever made to this projeect back in 2011 (later
refined in commit 06bbf02):

#1
watson added a commit that referenced this pull request Oct 6, 2015
Previusly only the `ObjectId` function was exposed and available
directly from the root of the `mongojs` module.

This commit exposes a couple of other BSON types in the same manner.
This is now the full list of exposed types:

- `mongojs.ObjectId`
- `mongojs.DBRef`
- `mongojs.Timestamp`
- `mongojs.MinKey`
- `mongojs.MaxKey`
- `mongojs.NumberLong` (the BSON type `Long`)

This is actually a revival commit, bringing back the spirit of the very
first Pull Request ever made to this projeect back in 2011 (later
refined in commit 06bbf02):

#1
kronooss added a commit to kronooss/mongojs that referenced this pull request Aug 22, 2022
Previusly only the `ObjectId` function was exposed and available
directly from the root of the `mongojs` module.

This commit exposes a couple of other BSON types in the same manner.
This is now the full list of exposed types:

- `mongojs.ObjectId`
- `mongojs.DBRef`
- `mongojs.Timestamp`
- `mongojs.MinKey`
- `mongojs.MaxKey`
- `mongojs.NumberLong` (the BSON type `Long`)

This is actually a revival commit, bringing back the spirit of the very
first Pull Request ever made to this projeect back in 2011 (later
refined in commit 06bbf02):

mongo-js/mongojs#1
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