Comments (4)
you have a url with the word "port" instead of numbers.. Just remove dthe url, it looks like you are using the options object.
from postgres.
well you're supposed to replace the connection detail placeholders with actual values.
from postgres.
I think the example code is not clear enough, but the explanation is, which makes it a bit confusing. You could split the code in two, one showing only the formatted URL and the other just the options object.
from postgres.
You're welcome to make a PR, but remember it should be understandable in most cases, not just the understandig you have.
I also think the error message you get is fairly clear, so not super high priority imo. The docs do require some level of understanding of hostnames, ports and urls.
from postgres.
Related Issues (20)
- [Blanked]
- Conditional WHERE clause HOT 1
- Connection pool sometimes does not end properly HOT 1
- Incorrect type definitions causing confusion when trying to catch PostgresError HOT 1
- PostgresError: syntax error at or near "$1" HOT 1
- Possible issue with cloudflare workers caused by a canceled promise HOT 2
- PostgresJS Prevents Natural Process Exit
- Mass Update JSONB Error
- TimeZone on connection
- Problem with inserting big numbers (more than 64bit) HOT 1
- Cannot use value interpolation within a COPY query HOT 2
- TypeError setting up client HOT 1
- Query Hooks HOT 1
- Feature request: dynamic username support for credential rotation HOT 1
- BUG: Interpolation issue while query building HOT 3
- Cloudflare: I/O Error HOT 1
- feat: support 'using' syntax and [Symbol.dispose]
- Getting Inserted id HOT 2
- Transforming undefined to `DEFAULT` HOT 1
- BUG: inconsistent behaviour inserting multiple records with implicit column names and some properties undefined.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgres.