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.")')");
Log in to pick up where you left off.
New to DevDojo? Create an account
Free to start. Your first site is a sentence away.
By continuing you agree to the Terms of Service.
Already have an account? Log in