In mysqlMySQL, I can get the auto-increment value by:
SELECT `AUTO_INCREMENT`
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'DatabaseName'
AND TABLE_NAME = 'TableName';
How do I query this information in sequelSequel? When I tried DB.runDB.run
and DB.getDB.get
, it didn't seem to work.