New to the forum and relatively new to EZMorph.
The MySQL databases in my organization love binary ID’s. When importing to EZMorph, it’s not terribly bad to HEX() them so you can match identifiers when necessary. However, it’s not uncommon for us to import data where we need that referential integrity. Because binary isn’t a supported data type, we’re required to basically:
- Generate UID’s.
- Calculate a column representing the INSERT values, using UNHEX() statements.
- Construct a JSON array to combine those column results.
- Prepend the values with the INSERT columns to create a full INSERT statement.
- Iterate through the query using a dynamic query module.
- Reference this same ID downstream in other INSERT or UPDATE statements, repeating the process.
It’s both time consuming and inefficient. Is there any better method than we’ve been using and/or is there any near-term plan to extend the Export to Database action to support this? Thanks!