Postgis GEOGRAPHY(POINT) type #780
Unanswered
sergiohdljr
asked this question in
Q&A
Replies: 1 comment
-
I know this is late but refer to #503 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a table with a column of the type GEOGRAPHY(POINT)
this is how is made a insert in the pgadmin work just fine
sql
INSERT INTO farmacia (nome, telefone, cidade, bairro, rua, numero, coords) VALUES ('Farmacia Espinheio', '40023633', 'Recife', 'Espinheiro', 'Rua do Espinheiro', 222 , ST_GeographyFromText('POINT(-34.89536080032862 -8.04613923401633)'));
but for some reason when i try to insert with postgres.js library, like that :

i get the follow error :

I am very open to suggestions.
Beta Was this translation helpful? Give feedback.
All reactions