/
๐Ÿ˜

How to work with location in postgres

https://computingforgeeks.com/how-to-install-postgis-on-ubuntu-debian/
Posgresql
Table of contents
  • First Step
  • Second Step
  • Third Step

First Step

Follow the link and install postgis extention with those structure.

Second Step

Set column type to the point to store location lang and lat in there

Third Step

Insert location like the below structure:

JS
let location = "(2.878,3.878)";
logo
Hi Mohsen save your notes