]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add a note
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Aug 2012 23:11:21 +0000 (19:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Aug 2012 23:11:21 +0000 (19:11 -0400)
examples/postgis/postgis.py

index ef9b77c81c8385c77bf245f9746363e7e696de1e..0b86ad323d1e414f0dc5ce07704238db392d23c6 100644 (file)
@@ -253,6 +253,9 @@ if __name__ == '__main__':
     stmt = select([road_table]).where(road_table.c.road_geom.intersects(r1.road_geom))
     print session.execute(stmt).fetchall()
 
+    # TODO: for some reason the auto-generated labels have the internal replacement
+    # strings exposed, even though PG doesn't complain
+
     # look up the hex binary version, using SQLAlchemy casts
     as_binary = session.scalar(select([type_coerce(r.road_geom, Geometry(coerce_="binary"))]))
     assert as_binary.as_hex == \