vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
146 stars 53 forks source link

simpleQuery flattens columns names to lower case #173

Closed bitwit closed 3 years ago

bitwit commented 3 years ago

I'm trying to use simplequery and include specific fields to pull but I get column doesn't exist because it makes everything lowercase.

is there something I can do to get around this and make raw queries?

bitwit commented 3 years ago

After more investigation, it seems that I can accomplish what I want by casting to SQLDatabase and using SQLKit querying instead. I'll close this ticket.