2009年2月24日星期二

Re: [fw-db] Fetched values all converted to strings

You're saying there's a difference between quoted an unquoted numbers
in your RDBMS? Which one are you using?

Sent from my iPhone

On Feb 24, 2009, at 22:30, Vince42 <zf@vineal.de> wrote:

> Yo,
>
> Jaka Jančar schrieb:
>> How does it make quoting any different?
>
> The quoting differentiates between numbers and strings and
> automagically
> adds quotes around strings.
>
> After the behaviour changed I was forced to cast the integer type on
> all
> my ids in order to prevent ZF from putting quotes around ids and by
> that
> fetching empty rows ...
>
> This used to be a feature I impressed my co-developers with - and it
> had
> been ruined ... *sniff* ... or it worked incidentally and was never
> designed to work like that - who knows ... :D
>
> --
> Cheers, \\|//
> Vince (o o)
> ----------------------------ooO-(_)-Ooo-------------------------
> ''' (o)_(o) [ ][0][ ]
> ô¿ô (=°o°=) World Domination by Copy and Paste [ ][ ][0]
> - (")_(") [0][0][0]
>
> () ascii ribbon campaign - against html e-mail
> /\ www.asciiribbon.org - against proprietary attachments
> Ooo.
> ---------------------------.ooO----( )-------------------------
> ( ) (_/
> \_)
>

没有评论: