Closed yanickrochon closed 4 years ago
The MySQL function LAST_INSERT_ID() should be supported to facilitate inserts.
LAST_INSERT_ID()
sql.$select({ last_id: { $lastInsertedId: true } });
should produce
SELECT LAST_INSERT_ID() AS last_id
See #35. Every PR is welcome.
The MySQL function
LAST_INSERT_ID()
should be supported to facilitate inserts.should produce