Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

If Query has a schema then validate the field name #105

Closed Jaymon closed 3 years ago

Jaymon commented 4 years ago

This could probably be done in the normalize field name method, if a schema is present in the query then go ahead and validate the field name to make sure the table has the field name

Jaymon commented 3 years ago

This was closed at some point, query.Field.parse now calls schema.field_name which will validate the field name