bmuller / twistar

Twistar is an object-relational mapper (ORM) for Python that uses the Twisted library to provide asynchronous DB interaction.
http://findingscience.com/twistar
Other
132 stars 38 forks source link

EscapeColNames function #41

Closed alexyer closed 11 years ago

alexyer commented 11 years ago

I made unique escapeColNames fucntion for each database, because I had some problems when using PostgreSQL - it uses double quotes instead of back quotes

bmuller commented 11 years ago

Hey alexYer - PostgreSQL column names are already escaped with double quotes - see: https://github.com/alexYer/twistar/blob/0d83f8f461c9d7a51dcd04f4f8a8ec961ad01f5e/twistar/dbconfig/postgres.py#L20

Let me know if your'e still having issues.

alexyer commented 11 years ago

Thank you for answer. May be i did something wrong. Sorry for disturbing you) Regards, Alexander.

bmuller commented 11 years ago

No worries - feel free to send the code that you're having issues with if you want me to take and look and see if I can help.