Create
Tools
Account
Free & open source
On GitHub
Resources
Community
Platform
Open Source
Carlos Morales
Mar 30th, 2019
Mar 30th, 2019 02:43 PM
Hi, i want to insert a value (lat,lng) in coordinates its a geometry column. I see in voyager they do that.
Mar 30th, 2019 03:00 PM
Best Answer
$team->coordinates=DB::raw("GeomFromText('POINT(".$request->lng." ".$request->lat.")')");