Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Get last insert ID
I made a request to insert the values into a table using the
How can I get the last insert ID using the methods of framework Vanilla?
Thanks!
$SQL = Gdn::SQL();
$SQL->Insert('Table', array('Field' => $var))
How can I get the last insert ID using the methods of framework Vanilla?
Thanks!
Tagged:
0
Comments
SQL.Insert() returns last insert id.