I'm not about to patch the DBIC doc any time soon, so why not leave
this open as a bug? At least then there will be something available
for other users to find.
If there's already a ticket for the "upcoming SQLA 2.0", you could also
link the tickets.
On Sun Feb 22 05:07:40 2009, RIBASUSHI wrote:
Show quoted text> This is a known lapse (not really a bug), which can not be solved with
> tools currently available. The problem comes from the fact that
> insert/update pass their values via DBIC (which knows about proper
> inflation/deflation procedures), but arguments to search() go straight
> to SQL::Abstract (which at this point is oblivious to anything DBIC
> related). There are plans for the upcoming SQLA 2.0 to allow better
> integration with the calling library (DBIC in this case), but what you
> described is normal and expected as far as current codebase goes.
>
> What you need to do is convert the DT objects to proper SQL
> Time/Datetime, before you feed them to search(). We would welcome
> documentation patches against
>
http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/trunk
>