On 12/17/08, Gaetan de Menten <[email protected]> wrote: > > On Wed, Dec 17, 2008 at 11:31, Giovanni Marco Dall'Olio > > > > > ok, > > but since the case_sensitive argument has been deprecated, how do I > > declare case insensitive columns with sqlalchemy >0.4.8 and elixir? > > > Just as you would in plain SQLAlchemy, but I don't know what that is.
It seems that in sqlalchemy, all the columns with lower case names are handled as case insensitive. I know it is strange, but this is what is written in the 0.4.8 changelog: """ case_sensitive=(True|False) setting removed from schema items, [...]. Table and column names which are all lower case will be treated as case-insenstive (yes we adjust for Oracle's UPPERCASE style too). """ - http://www.sqlalchemy.org/trac/browser/sqlalchemy/tags/rel_0_4_8/CHANGES (line 2233) I have tried to do the same with elixir but it doesn't work. I am not expert with sqlalchemy but I can try it to write an example with it and compare with the unittest I wrote. > > > > > Thanks. maybe it could be useful to specify this on the docstring. > > Will do. Thank you very much. > > -- > > Gaƫtan de Menten > http://openhex.org > > > > -- My blog on bioinformatics (now in English): http://bioinfoblog.it --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
