[Dbix-class] SQL::Abstract - boolean test support - should this merge?

Alexander Hartmaier alexander.hartmaier at t-systems.at
Fri Aug 21 08:12:02 GMT 2009


Does someone know how Oracle handles this as it doesn't have a boolean
data type?
I use an integer column with a relationship to a bool_vals table to
limit the possible values.

Am Donnerstag, den 20.08.2009, 14:57 +0200 schrieb Nigel Metheringham:
> Boolean tests using SQLA (and hence DBIC) have always been a bit of a
> pain
>
> So comments and votes (but this ain't a democracy) are welcome on the
> best way to take this forward...
>
I like the second syntax more as it follows the column => value syntax,
but if we limit the possibilities like Peter said the one from the
branch is fine for me too.
Just don't make two ways!

--
BR Alex


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*



More information about the DBIx-Class mailing list