Skip to content

Commit

Permalink
Update adapterList.md (#7323)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil authored Apr 9, 2024
1 parent 32ae2df commit 6ecb41c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/concepts/extending-sails/Adapters/adapterList.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ url: 'postgresql://user:password@host:port/database',

> + The default port for PostgreSQL is `5432`.
> + In addition to `adapter` and `url`, you might also need to set `ssl: true`. This depends on where your PostgreSQL database server is hosted. For example, `ssl: true` is required when connecting to Heroku's hosted PostgreSQL service.
> + Note that in `pg@8.0` the syntax was updated to `ssl: { rejectUnauthorized: false }`.
> + Note that in `pg` version 8.0, the syntax was updated to `ssl: { rejectUnauthorized: false }`.
> + Compatible with most versions of Postgres. See [this issue](https://github.com/balderdashy/sails/issues/6957) to learn more about compatability with Postgres >12
### sails-mongo
Expand All @@ -91,6 +91,8 @@ url: 'mongodb://user:password@host:port/database',

> + The default port for MongoDB is `27017`.
> + If your Mongo deployment keeps track of its internal credentials in a separate database, then you may need to name that database by tacking on [`?authSource=theotherdb`](https://stackoverflow.com/a/40608735/486547) to the end of the connection URL.
> + Other [Mongo configuration settings](https://github.com/balderdashy/sails-mongo/blob/master/lib/private/constants/config-whitelist.constant.js) provided via querystring in the connection URL are passed through to the underlying Mongo driver.


### sails-disk
Expand Down

0 comments on commit 6ecb41c

Please sign in to comment.