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

Problem regarding BETWEEN and IN ('a', 'b', 'c') #5

Open
YoungAndY2m opened this issue May 20, 2024 · 0 comments
Open

Problem regarding BETWEEN and IN ('a', 'b', 'c') #5

YoungAndY2m opened this issue May 20, 2024 · 0 comments

Comments

@YoungAndY2m
Copy link

Hi, thank you so much for this fantastic visualization project!

I'm working on a school project that uses this sqlvis to visualize our query. We use Flask so as to create a web application. However, when it comes to query using "BETWEEN ... AND ..." and "sth. IN ('a', 'b', 'c')", it raises an error:

visualize.js:44453 Uncaught TypeError: Cannot set properties of undefined (setting 'refs')
at extractAllowedRefs (visualize.js:44453:12)
at visualize (visualize.js:43730:3)
at visualizeMain (visualize.js:45747:5)
at Object.execCb (require.min.js:1:16727)
at e.check (require.min.js:1:10499)
at e. (require.min.js:1:12915)
at require.min.js:1:1542
at require.min.js:1:13376
at each (require.min.js:1:1020)
It seems that ast is undefined (parse_sql result).

Would you take a look at it and perhaps shed light on how to solve the problem? Thank you very much!

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