Open
Description
I have a geography
column (called location
) and the built-in withDistance
and whereDistance
functions are casting the column to a geometry
(via GeometryExpression:normalize()
). Are geography
columns not supported?
public function normalize(ConnectionInterface $connection): string
{
return $connection instanceof PostgresConnection
? $this->expression.'::geometry'
: $this->expression;
}
Metadata
Metadata
Assignees
Labels
No labels