Skip to content

Conversation

zellers
Copy link
Contributor

@zellers zellers commented Aug 25, 2025

This pull request implements functionality to define variables for parameter replacement as comments above the query.

This fixes the remaining part of issue #744.

Syntax follows proposed format in #744 and mirrors existing syntax for defining connection to be used as comment above the query.

-- @var key = value

Example:

-- @var FOO = "bar"

SELECT :FOO as baz
  • Your code builds clean without any errors or warnings
  • You have made the needed changes to the docs
  • You have written a description of what is the purpose of this pull request above

Copy link
Collaborator

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. I have suggested a minor change to the documentation.

@zellers zellers requested a review from gjsjohnmurray August 27, 2025 00:14
@gjsjohnmurray gjsjohnmurray merged commit c2db1bd into mtxr:dev Aug 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants