79203526

Date: 2024-11-19 13:06:49
Score: 1
Natty:
Report link

Another reminder that was tripping me up. If you don't put:

'order' => 'ASC',

in there, it won't perform the orderby. You can of course also do a DESC, but the direction must be stated. Was confused by this because in normal SQL, the ASC/DESC is optional and defaulted to ASC.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eddie Kominek