(self, expression, srid=0, **extra)
| 373 | geom_param_pos = () |
| 374 | |
| 375 | def __init__(self, expression, srid=0, **extra): |
| 376 | expressions = [ |
| 377 | expression, |
| 378 | self._handle_param(srid, "srid", int), |
| 379 | ] |
| 380 | if "output_field" not in extra: |
| 381 | extra["output_field"] = GeometryField(srid=srid) |
| 382 | super().__init__(*expressions, **extra) |
| 383 | |
| 384 | def as_oracle(self, compiler, connection, **extra_context): |
| 385 | # Oracle doesn't support the srid parameter. |
nothing calls this directly
no test coverage detected