Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need an option to allow for SQL functions with qualified names #269

Closed
seancorfield opened this issue Dec 30, 2023 · 2 comments
Closed

Need an option to allow for SQL functions with qualified names #269

seancorfield opened this issue Dec 30, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@seancorfield
Copy link
Owner

Is your feature request related to a problem? Please describe.
Some databases support qualified names for tables and columns, but
the current friendly SQL functions all use safe-name which
unconditionally drops the namespace.

Describe the solution you'd like
An option to allow for SQL functions to produce qualified names.

Describe alternatives you've considered
None.

Additional context
Specifically this affects working with XTDB via next.jdbc.xt.

@seancorfield
Copy link
Owner Author

Added :name-fn -- deliberately only documented in the CHANGELOG and All The Options pages to avoid over-complicating the main documentation, given that this is a fairly esoteric requirement (XTDB is the only database that has seemed to need this so far, but it's possible other users have databases with / in table and/or column names.

@seancorfield
Copy link
Owner Author

Since XTDB no longer accepts / in SQL names, there's no point in this additional complexity so I'm going to retire it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant