NamedQuery - Get LAST_INSERT_ID with MariaDB

The solution is now included on the last release (8.0.3).

There is now a getKey parameter on the runNamedQuery (as there was already on the runPrepQuery), that returns the inserted ID if set to 1.

https://docs.inductiveautomation.com/display/DOC80/system.db.runNamedQuery

2 Likes