orm order refactoring

This commit is contained in:
Yuri Kuznetsov
2021-07-25 18:30:50 +03:00
parent 2858fd4fa8
commit fab113db25
12 changed files with 83 additions and 16 deletions
@@ -1021,6 +1021,9 @@ abstract class BaseQueryComposer implements QueryComposer
case 'TIMESTAMPDIFF_SECOND':
return 'TIMESTAMPDIFF(SECOND, ' . implode(', ', $argumentPartList) . ')';
case 'POSITION_IN_LIST':
return 'FIELD(' . implode(', ', $argumentPartList) . ')';
}
if ($distinct) {