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

Convert STA directly to SQL #32

Open
filippofinke opened this issue Aug 20, 2023 · 0 comments
Open

Convert STA directly to SQL #32

filippofinke opened this issue Aug 20, 2023 · 0 comments

Comments

@filippofinke
Copy link
Contributor

Currently, STA queries are being transformed into a format utilized by PostgREST. However, a limitation of this approach is that it restricts the extent of our interactions with the database.

To overcome this limitation, a more effective strategy could involve the implementation of a node visitor similar to the one already used to convert queries to PostgREST, as illustrated here:

class NodeVisitor(Visitor):
. This visitor would directly translate the AST tree of the STA query into SQL, thus alleviating the constraints posed by the existing method.

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

1 participant