-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escape column names #167
Escape column names #167
Conversation
Thanks; much appreciated |
Noooo! :( This regresses (the spirit of) #68, would it be okay to parameterize the escape character/process somehow? I'll go ahead and do that if so. |
@tms well, damn; yeah, that's a thing. I'll back this out while I think about options |
To better support multi-DB I'd would suggest adding several strategies for each DB dialect and a way of parameterize which one to use, is this over engineering? For a more simple solution, parameterize the process should do it, maybe by overriding some method? |
Yes, given the existence of SqlCompactDatabase, this very much feels like a
|
PostgreSQL doesn't use braces but quotes, so don't generalize too much. Sent from my Windows Phone From: Marc Gravellmailto:[email protected] Yes, given the existence of SqlCompactDatabase, this very much feels like a
Reply to this email directly or view it on GitHub: |
@mgravell how about adding these four for now? string PrefixNoCount(string sql) Supporting new databases would be a matter of overriding these instead of overriding, for example, the insert method. |
That's probably a reasonable starting point. What purpose does
|
Yes, I think unquoteidentifier can be put aside, no real use for it. João Pedro Marques On Tue, Sep 16, 2014 at 8:55 PM, Marc Gravell [email protected]
|
What do you think about this changes? |
No description provided.