How to get insert id for raw inserts
because I use MySQL spatial functions, I'm using raw insert queries.
DB::insert(INSERT INTO mytable (name, loc) VALUES ('test', POINT(?, ?)), [
how to get id of inserted row?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!