Skip to content

Commit

Permalink
Add code-completion for HAVING and WHERE operators
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Jun 6, 2022
1 parent d79adf0 commit d6892c9
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,3 +257,42 @@
0,
argumentsSet('table_options')
);
registerArgumentsSet(
'operators',
'=',
'<=>',
'!=',
'<>',
'>',
'>=',
'<',
'<=',
'LIKE',
'NOT LIKE',
'IN',
'NOT IN',
'BETWEEN',
'NOT BETWEEN',
'IS NULL',
'IS NOT NULL',
);
expectedArguments(
\Framework\Database\Manipulation\Traits\Having::having(),
1,
argumentsSet('operators')
);
expectedArguments(
\Framework\Database\Manipulation\Traits\Having::orHaving(),
1,
argumentsSet('operators')
);
expectedArguments(
\Framework\Database\Manipulation\Traits\Where::where(),
1,
argumentsSet('operators')
);
expectedArguments(
\Framework\Database\Manipulation\Traits\Where::orWhere(),
1,
argumentsSet('operators')
);

0 comments on commit d6892c9

Please sign in to comment.