SQLECmd icon indicating copy to clipboard operation
SQLECmd copied to clipboard

ID to Link SQLECmd Map and KAPE Target File

Open weslambert opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently, we have to rely on comments to link a SQLECmd map file to a KAPE target file. We do this because we dynamically generate our own language-specific targets from the target files and want to associate the query defined within the SQL map file to the target.

Describe the solution you'd like It would be great to either share the map/target file's ID in each's definition, or generate a common ID to use for linking the two files.

Describe alternatives you've considered Keying off of comments. However, this is a bit of a hack, and does not always work as expected.

weslambert avatar Oct 05 '22 01:10 weslambert

Sorry for the delay in response. I was on vacation.

Would you think something like this would suffice?

# Documentation:
# Corresponding SQLECmd Map ID: *insert GUID here*

Thoughts?

AndrewRathbun avatar Oct 09 '22 04:10 AndrewRathbun