maxtepkeev / architect

A set of tools which enhances ORMs written in Python with more features
Other
391 stars 57 forks source link

Support table names with hyphens #51

Closed emord closed 6 years ago

emord commented 6 years ago

Currently if the table has a hyphen in it then the function creation will fail due to an invalid function name and the tables weren't quoted. To solve this I did a simple replace of - with _, but happy to change it if there's a different convention you prefer to follow.

emord commented 6 years ago

looks like I accidentally broke special characters with this. I'll re-open this later with a test.