-
Notifications
You must be signed in to change notification settings - Fork 63
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
query parameters for names, not just values #156
Comments
Candidate syntax:
Here |
Agree with the candidate syntax, how hard is the implementation? |
Not sure offhand. Teaching the scanner and parser should be easy. Teaching bdb.execute to distribute parameters appropriately may be more complicated -- that's all in bql.py and compiler.py. |
Should we also be solving the problem of substituting zero or more comma separated identifiers in certain places, like
where the number of columns isn't known a priori? How about where the structure of the predicate isn't known either? Do we really want a string substitution language, or do we want a linq-style query builder:
|
I was thinking of As for query builder combinators vs query parameter notation, I don't know. Query combinators will require a lot more work to do well, and while they're more composable in one specific sense, it's much clumsier to write queries with them. |
We have far too much
throughout the tree. We have a mechanism for query parameters to pass in values, but no mechanism for query parameters to specify the names of tables, columns, &c.
The text was updated successfully, but these errors were encountered: