2009年2月24日星期二

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iEYEARECAAYFAkmkZtsACgkQve+JXaagsBY+RgCeI5jh5UaHgkyPfnhLyp8qxkcy
3c4AoKDecow7EQ850ATP0JEMHlABRjGX
=LEtL
-----END PGP SIGNATURE-----
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----( )-------------------------
( ) (_/
\_)

没有评论: