We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 950a5b1 commit fbb9361Copy full SHA for fbb9361
editoast/src/models/infra/object_queryable.rs
@@ -51,7 +51,7 @@ impl Infra {
51
)
52
} else {
53
format!("
54
- SELECT
+ SELECT DISTINCT ON (object_table.obj_id)
55
object_table.obj_id as obj_id,
56
object_table.data as railjson,
57
ST_AsGeoJSON(ST_Transform(geographic, 4326))::jsonb as geographic
0 commit comments