On Thursday, February 1, 2018 at 12:29:49 PM UTC-8, binarypaladin wrote: > > The short of it is this: > > SQL queries from Sequel to TinyTDS convert identifiers to uppercase and in > the actual hashes I get all lowercase. Is there a way to preserve the case > from the table? > > I'm working on a project where I can read from a database but writes > generally occur through an API and the API attributes are, in most cases, > the column names. I know there are tools to handle mapping and such, but in > this case if I have SOME way of viewing the case settings from the > database, there's nothing to map in most cases. > > The column names at their end are in CamelCase and that's what I would > like to preserve somehow. >
DB = Sequel.connect(...) DB.extension :identifier_mangling DB.identifier_input_method = DB.identifier_output_method = nil Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
