Skip to content

Commit 40fa081

Browse files
authored
Merge pull request #12293 from eatmoarrice/patch-1
fix: update links on api docs
2 parents 9f6674c + 9958cbd commit 40fa081

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ Mongoose.prototype.createConnection = function(uri, options, callback) {
367367
* @param {Number} [options.family=0] Passed transparently to [Node.js' `dns.lookup()`](https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback) function. May be either `0`, `4`, or `6`. `4` means use IPv4 only, `6` means use IPv6 only, `0` means try both.
368368
* @param {Boolean} [options.autoCreate=false] Set to `true` to make Mongoose automatically call `createCollection()` on every model created on this connection.
369369
* @param {Function} [callback]
370-
* @see Mongoose#createConnection #index_Mongoose-createConnection
370+
* @see Mongoose#createConnection /docs/api.html#mongoose_Mongoose-createConnection
371371
* @api public
372372
* @return {Promise} resolves to `this` if connection succeeded
373373
*/
@@ -862,7 +862,7 @@ Mongoose.prototype.SchemaType = SchemaType;
862862
* _Alias of mongoose.Schema.Types for backwards compatibility._
863863
*
864864
* @property SchemaTypes
865-
* @see Schema.SchemaTypes #schema_Schema-Types
865+
* @see Schema.SchemaTypes /docs/schematypes
866866
* @api public
867867
*/
868868

0 commit comments

Comments
 (0)