-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
proposal: Standardize isnot
& notin_
operator names for SqlAlchemy2.0 (1.4?)
#5429
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
Comments
I'm not particularly fond of |
isnot
& notin_
operator names for SqlAlchemy2.0 (1.4?)
just FTR I was looking to go from Python's example:
|
we can still ask twitter I often get a lot of insight from that. either way |
isnot
& notin_
operator names for SqlAlchemy2.0 (1.4?)isnot
& notin_
operator names for SqlAlchemy2.0 (1.4?)
The convention could be: trailing underscore should be reserved only for python single-word keywords. Ex:
Also compatible with the |
I've pinned this issue and 5435, so maybe we gather some other comment from the community |
PR forthcoming... |
jonathan vanasco has proposed a fix for this issue in the master branch: Issue #5429 version 2: Patch Set A: internal test files https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2169 |
jonathan vanasco has proposed a fix for this issue in the master branch: Issue #5429 version 2: Patch Set B: core library https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2170 |
Change-Id: I47ab0857a8f9e2db4d459c3d6b5b74985eec29ab
Change-Id: I8350607544f3005b1afe3bfe4f27efd740e23e82
Change-Id: I8350607544f3005b1afe3bfe4f27efd740e23e82
jonathan vanasco has proposed a fix for this issue in the master branch: Issue #5429 version 2: Patch Set B: core library https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2200 |
Revised PR of sqlalchemy#5501 Patch Set B (2/2): core files This PR is a fork of Patch Set A (1/2), and deprecates the main library operators in favor of the newly standardized names Fixes: sqlalchemy#5429 Change-Id: Ia1e66e7a50ac35d3f6260d8bf6ba3ce8087cbad2
Revised PR of sqlalchemy#5501 Patch Set B (2/2): core files This PR is a fork of Patch Set A (1/2), and deprecates the main library operators in favor of the newly standardized names Fixes: sqlalchemy#5429 Change-Id: Ia1e66e7a50ac35d3f6260d8bf6ba3ce8087cbad2
…us PR for sqlalchemy#5429 Change-Id: I0be15f6234c74302734672450a3275add762bdb8
…us PR for sqlalchemy#5429 Change-Id: I0be15f6234c74302734672450a3275add762bdb8
A handful of sql operators, as implemented in Python, are not consistent in SQLAlchemy.
The majority of items use a schema of
snake_case_with_trailing_underscore_
when the sql command mimics Python reserved keywordsFor example, some of the commands adopting this scheme use:
but compound operators either do not follow the same scheme, do not have an internal underscore, or both
This ticket will list them, and serve as reference to a PR if we proceed with any re-namings.
If a change were to happen:
The text was updated successfully, but these errors were encountered: