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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update mongdb connector readme with lb4 style #576

Merged
merged 1 commit into from
Jun 3, 2020
Merged

Conversation

agnes512
Copy link
Contributor

@agnes512 agnes512 commented Jun 2, 2020

Closes loopbackio/loopback-next#4059

Screen Shot 2020-06-02 at 15 39 38

Screen Shot 2020-06-02 at 15 40 08

Screen Shot 2020-06-02 at 15 56 50

Screen Shot 2020-06-02 at 15 41 14

Checklist

馃憠 Read and sign the CLA (Contributor License Agreement) 馃憟

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • Commit messages are following our guidelines

Copy link
Contributor

@nabdelgadir nabdelgadir left a comment

Choose a reason for hiding this comment

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

Nice job 馃憤

README.md Outdated
| enableGeoIndexing | Boolean | `false` | Set to `true` to enable 2d sphere indexing for model properties of type `GeoPoint`. This allows for indexed `near` queries. |
| lazyConnect | Boolean | `false` | If set to `true`, the database instance will not be attached to the datasource and the connection is deferred. It will try to establish the connection automatically once users hit the endpoint. If the MongoDB server is offline, the app will start, however, the endpoints will not work. |
| disableDefaultSort | Boolean | `false` | Set to `true` to disable the default sorting |
| behavior on `id` column, this will help performance using indexed columns available in MongoDB. |
Copy link
Contributor

Choose a reason for hiding this comment

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

I think there's an extra | here that's putting this in a new row

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think those weird format is causing by the formatting extension 馃槀

README.md Outdated
- **disableDefaultSort**: Set to `true` to disable the default sorting
behavior on `id` column, this will help performance using indexed columns available in mongodb.
- **collation**: Specify language-specific rules for string comparison, such as rules for lettercase and accent marks. See [`MongdoDB documentation`](https://docs.mongodb.com/manual/reference/collation/) for details. It can also be used to create [`case insensitive indexes`](https://docs.mongodb.com/manual/core/index-case-insensitive/).
| Property | Type   | Default | Description |
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick (feel free to ignore): can you make the type column slightly wider to fit Boolean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Update table:
Screen Shot 2020-06-03 at 09 44 55

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@agnes512
Copy link
Contributor Author

agnes512 commented Jun 3, 2020

@slnode test please

README.md Outdated Show resolved Hide resolved
@agnes512 agnes512 force-pushed the update-readme branch 2 times, most recently from 9ba024f to a178485 Compare June 3, 2020 14:03
README.md Show resolved Hide resolved
@agnes512
Copy link
Contributor Author

agnes512 commented Jun 3, 2020

@slnode test please

@agnes512
Copy link
Contributor Author

agnes512 commented Jun 3, 2020

@slnode test please

1 similar comment
@agnes512
Copy link
Contributor Author

agnes512 commented Jun 3, 2020

@slnode test please

@agnes512
Copy link
Contributor Author

agnes512 commented Jun 3, 2020

@slnode test please

1 similar comment
@agnes512
Copy link
Contributor Author

agnes512 commented Jun 3, 2020

@slnode test please

@dhmlau
Copy link
Member

dhmlau commented Jun 3, 2020

Test passes except for bluemix-security@develop. Force merging it.

@dhmlau dhmlau merged commit e816513 into master Jun 3, 2020
@delete-merged-branch delete-merged-branch bot deleted the update-readme branch June 3, 2020 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: boost MongoDB README and tutorial files
3 participants