Skip to content

Commit

Permalink
correcting docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Jul 16, 2018
1 parent b48fad9 commit 9f94c4d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ const h = ConnectionString.parseHost('[abcd::]:111');
//=> {name: 'abcd::', port: 111, isIPv6: true}

const a = new ConnectionString('test://localhost:222/dbname', {hosts: [h]});
//=> {protocol: 'test', hosts: [{name: 'localhost', port: 222, isIPv6: false}], segments: ['dbname']}

a.toString();
//=> test://localhost:222,[abcd::]:111/dbname
```
Expand Down

0 comments on commit 9f94c4d

Please sign in to comment.