mysql true false rest api code example Example: boolean mysql SELECT true, false, TRUE, FALSE, True, False; -- 1 0 1 0 1 0