mirror of
https://github.com/django/django.git
synced 2025-09-27 20:49:21 +00:00
Refs #25499 -- Fixed expressions in distance lookups on Oracle.
This commit is contained in:
parent
f233aa3ff9
commit
00db71d452
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class SDOOperator(SpatialOperator):
|
||||||
|
|
||||||
|
|
||||||
class SDODistance(SpatialOperator):
|
class SDODistance(SpatialOperator):
|
||||||
sql_template = "SDO_GEOM.SDO_DISTANCE(%%(lhs)s, %%(rhs)s, %s) %%(op)s %%%%s" % DEFAULT_TOLERANCE
|
sql_template = "SDO_GEOM.SDO_DISTANCE(%%(lhs)s, %%(rhs)s, %s) %%(op)s %%(value)s" % DEFAULT_TOLERANCE
|
||||||
|
|
||||||
|
|
||||||
class SDODWithin(SpatialOperator):
|
class SDODWithin(SpatialOperator):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue