Refine
This commit is contained in:
@@ -50,7 +50,7 @@ def get_links_in_extent(name: str, x1: float, y1: float, x2: float, y2: float) -
|
|||||||
|
|
||||||
all_link_ids = []
|
all_link_ids = []
|
||||||
with conn[name].cursor(row_factory=dict_row) as cur:
|
with conn[name].cursor(row_factory=dict_row) as cur:
|
||||||
cur.execute(f"select id from pipes where order by id")
|
cur.execute(f"select id from pipes")
|
||||||
for record in cur:
|
for record in cur:
|
||||||
all_link_ids.append(record['id'])
|
all_link_ids.append(record['id'])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user