-
Notifications
You must be signed in to change notification settings - Fork 24
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
Composable sql interpolation #6718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good stuff, I’m looking forward to using it everywhere!
I added a few minor comments.
I don’t think we can make this all that much cleaner, you already got pretty far there.
On naming the string modifier – how about just q for query? I think we would want to use this for all queries, whether we will use the nesting feature or not – then the n is no longer so relevant for the usages. What do you think? sql would also be nice, but that might cause confusion with the existing one provided by slick.
I like How would you structure the files/packages? Should this live under |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added another commit following some code style recommendations from intellij, nothing to worry about.
I also added two more minor comments:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 🎉
I think we should take some time soon to propagate this to all the DAOs. In the process, we will likely notice more features missing here, but they can then be added as needed.
…cing * 'master' of github.com:scalableminds/webknossos: Replace babel with esbuild for tests and for webpack (#6527) Use less ram when initializing data textures (#6711) Composable sql interpolation (#6718) Release 23.01.0 (#6717) add license checker (#6715) Fix brush performance for coarse mags & avoid some unnecessary re-renders (#6708) Change backend format command (#6697) Improve layout of terms of services check (#6712)
utils.SQLHelpers
toutils.sql.SQLHelpers
Steps to test: