79148251

Date: 2024-11-01 14:02:34
Score: 2
Natty:
Report link

newExpr can do it.

$query->where(['a.id MEMBER OF' => $query->newExpr($sub)]);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): can
Posted by: WoodrowShigeru