[sqlalchemy] Re: issue with delete(obj) and ManyToOne relations

2008-09-02 Thread Remi Jolin - SysGroup
le 02.09.2008 18:33 Michael Bayer a écrit: On Sep 2, 2008, at 12:06 PM, Remi Jolin - SysGroup wrote: Hello, Here is a small example of my issue (it's Elixir syntax, but I think it's not an Elixir specific issue) : class Rec(Entity): collection = ManyToOne('Coll') class Coll

[sqlalchemy] max(datetime) does not return a datetime. Bug or feature ?

2008-08-29 Thread Remi Jolin - SysGroup
Hello, consider the following (Elixir syntax sorry) class A(Entity): creation_date = Field(DateTime) ... A.query().max(A.creation_date) returns a unicode and not a datetime as max([a.creation_date for a in A.query()]) returns Is it a bug ? (sqlalchemy version 0.4.6)