Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add MongoClient and Database objects #2

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

Merged
bjori merged 1 commit into mongodb:master from bjori:mc-and-db-objects
Mar 16, 2015

Conversation

@bjori
Copy link
Contributor

@bjori bjori commented Mar 12, 2015

No description provided.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't "{$databaseName}" redundant? I assume Database's constructor can do a string cast.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, its because I first did selectCollection() and then selectDatabase() copied from that :)
Fixed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should consider switching this to Client, as "Mongo" is redundant here.

bjori added a commit that referenced this pull request Mar 16, 2015
Add MongoClient and Database objects
@bjori bjori merged commit 1b4de41 into mongodb:master Mar 16, 2015
@bjori bjori deleted the mc-and-db-objects branch March 16, 2015 20:58
@km3945 km3945 mentioned this pull request Nov 2, 2021
GromNaN pushed a commit to GromNaN/mongo-php-library that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /