Thank you for your answer.

I am really sorry for the time between your answer and now, but I haven’t been home for a while.

Anyway, what I see is that if I try to search by fields and I put that into fields, it works:

```
( 6371 * acos( cos( radians(45.012448) ) * cos( radians( lat ) ) * cos( radians( lng ) - radians(0.000812) ) + sin( radians(45.012448) ) * sin(radians(lat)) ) ) * 1000
```

BUT it returns me this as a field name…

What I would like to do is something like:

```
( 6371 * acos( cos( radians(45.012448) ) * cos( radians( lat ) ) * cos( radians( lng ) - radians(0.000812) ) + sin( radians(45.012448) ) * sin(radians(lat)) ) ) * 1000 AS distance
```

And when I put the ‘AS distance’, it returns me something like:

```
{
"error": [
{
"context": null,
"message": "Failed to retrieve records from 'places'.\nSQLSTATE[HY000]: General error: Did not find column name '( 6371 * acos( cos( radians(45.012448) ) * cos( radians( lat ) ) * cos( radians( lng ) - radians(0.000812) ) + sin( radians(45.012448) ) * sin(radians(lat)) ) ) * 1000 AS distance' in the defined columns; it will not be bound",
"code": 500
}
]
}
```

is there a way to change the fields name (to use the ‘AS something’) ?

The Idea is to be able to add in the filters something like:

`distance < 2000`