How the laravel query constructor writes the following SQL statement

select * from i_program_layout
where not (start_at > "2018-10-25 14:05:35" or end_at < "2018-10-22 14:05:36") and b_zone_id=2
Sep.09,2021

you can use whereRaw, and b_zone_id=2 should be put in front. This is common sense


where not () what does this mean? For the first time.
is that what the conversion is like:

select * from i_program_layout
where start_at <= '2018-10-25 14:05:35' and end_at >= '2018-10-22 14:05:36' and b_zone_id=2

if you really convert it to the above, can you kill this sql writer?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b388be-2c11b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b388be-2c11b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?