79691579

Date: 2025-07-06 08:03:14
Score: 1.5
Natty:
Report link
$category = Category::where('status',1)->orderBy('id','desc')->get();

what is the data type of column status ?

in mysql true/false is not supported and these are just simple string . instead datatype tinyint(1) with value 0 and 1 is used for boolean column.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): what is the
  • Low reputation (0.5):
Posted by: zohrehda