coding for multiple databases

Dr. Hawkins dochawk at
Sun Mar 24 11:29:52 EDT 2013

On Sun, Mar 24, 2013 at 8:19 AM, Robert Sneidar <slylabs13 at> wrote:

> mySQL DOES in fact have a boolean. You can use false and it equates to 0.
> True equates to 1. I use booleans all the time in my code and in my
> database structure. Where did you get that mySQL does not have a boolean
> type?

That is really uses 1 and 0, and returns these instead of True and False.

So for sqlite I have to quote booleans going in, and on mySQL i have to
convert them to booleans coming out.

Dr. Richard E. Hawkins, Esq.
(702) 508-8462

More information about the Use-livecode mailing list