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

Use with encode/databases #2

Open
trollfot opened this issue May 3, 2023 · 1 comment
Open

Use with encode/databases #2

trollfot opened this issue May 3, 2023 · 1 comment

Comments

@trollfot
Copy link

trollfot commented May 3, 2023

Hello,
First of all, thank you very much for this very nice package. Very readable code that i would very much like to use.
In my project, I generate queries to use with the encode/databases package for async access to several sql backends.
I tried to create an engine that would generate databases like query, that use a :query_arg style notation.
It seems that parameters are not aware of their own names, so I'm running into problems. Am I missing something ?

https://www.encode.io/databases/database_queries/ for references

Thank you very much.

@fbraem
Copy link
Owner

fbraem commented May 3, 2023

Hi,
Named parameters are indeed not supported. Latitude, the origin of this query builder, doesn't support them either: shadowhand/latitude#131
I'm not sure how easy it will be to add this functionality.

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

No branches or pull requests

2 participants