When I have a change set:
The ID column is a autoIncrement and the value which is used for this ID should be used in another insert statement. Is there any “Liquibase way” of getting this value? If so - how?
An alternative approach is to use a custom SQL which fetches the value. Since I use MySQL, I can use the LAST_INSERT_ID() function to fetch this value, but how do I put this value into a variable that Liquibase can utilize?