Re: [sqlalchemy] Speed performance

2022-12-09 Thread Jaime Valdez
Thanks Mike, yes you are right sharing the session can cause an issue I already tried using something similar to the following code: async def get_areas(geometry) -> List[Dict[str, Any]]: sql = select( models. GeoTable , func.ST_Intersection(models. GeoTable .geom, geometry)

[sqlalchemy] Where can I find solutions to my problems?

2022-12-09 Thread Emily Maude
https://t.co/5Lt3blwBlH -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received