I want to set a filed with BIT
data type in mySql using Eloquent.
$i = new Step;
$i->active = 'b0';
$i->save();
But the active
filed is 1
, I also tried:
$i->active = "b'0'";
$i->active = '0';
$i->active = false;
...
Simply I want to run something like this:
INSERT INTO `steps` (`active`) VALUES (b'0')