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

Function to just export the SQL #308

Open
jon-whit opened this issue Mar 21, 2024 · 1 comment
Open

Function to just export the SQL #308

jon-whit opened this issue Mar 21, 2024 · 1 comment

Comments

@jon-whit
Copy link

Instead of running the predicate of a program against a storage engine such as SQLite, I'd like to just output the raw SQL query. It would be nice if I could do so with user_flags as well, because I'd like to pass in values for predicates defined in the rule body.

Is this something you'd be willing to expose in the libraries API?

@EvgSkv
Copy link
Owner

EvgSkv commented Mar 25, 2024

Yes, this functionality is available.
Here is an example:
https://colab.research.google.com/drive/1ivq4Bjm8tjM7hm7XRHH6uXHacI5wLgQQ?usp=sharing

Please let me know if you hit any issues, or have any further questions.

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