Ran into an issue with having periods in column headings of SQL queries.
----------
import sqlalchemy as sa

print(sa.__version__)
DB_URI = """postgresql+psycopg2://test:test@localhost/testdb"""
engine = sa.create_engine (DB_URI)


qry = """SELECT 1 AS "test.this";"""
results = engine.execute(qry)
print(results.keys()==['this'])


--
David Gardner
Pipeline Tools Programmer
Jim Henson Creature Shop
dgard...@creatureshop.com


--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to