hey Roger -

assuming this has been confirmed with version 0.4.1 you can add a trac  
ticket for this.

- mike


On Nov 23, 2007, at 11:09 AM, Roger Demetrescu wrote:

>
> Hi all,
>
> A coworker has doing some experiments with deferred column loading and
> noticed that SA doesn't raise any exception when defer(), undefer() or
> undefer_group() are called with an invalid column ou group name.
>
> In other words, if you try to follow the example from:
>
> http://www.sqlalchemy.org/docs/04/mappers.html#advdatamapping_mapper_deferred
>
>
> ... and call:
>
> query.options(defer('s_u_m_m_a_ry')).all()
>
> or
>
> query.options(undefer_group('photozz')).all()
>
> ... no exception is raised.
>
>
> I am just worried about how a typo in the column/group name could
> cause SA do make more calls to my database....
>
>
> []s
> Roger
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to