Skip to content

Camel cased property names produce quoted column names in DB but lower case do not #293

@IRCraziestTaxi

Description

@IRCraziestTaxi

I got an error that threw me off for several minutes while using QueryBuilder.OrderBy when trying to reference a camel cased column name. I didn't realize it was quoted in the database and I had to actually put double quotes in the string passed to OrderBy. Without knowing the details of the code that handles that, it seems to me like there could be a better, more uniform way of avoiding that error. Maybe all property names passed into the DB could be automatically quoted? Again, not sure what the implications are, but it definitely doesn't feel right having several quoted column names while most are not and having to deal with them differently.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions