Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving the Expression component's allowed keywords #399

Merged
merged 7 commits into from
Dec 13, 2022

Conversation

iifawzi
Copy link
Contributor

@iifawzi iifawzi commented Dec 12, 2022

Hi, This PR is improving the Expression component allowed keywords

Fixes: phpmyadmin/phpmyadmin#17422
Fixes: #396
Fixes: #171
Signed-off-by: iifawzi iifawzie@gmail.com

@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Base: 95.58% // Head: 95.59% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (d3e3c6c) compared to base (e29ed1e).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #399   +/-   ##
=========================================
  Coverage     95.58%   95.59%           
- Complexity     2174     2180    +6     
=========================================
  Files            68       68           
  Lines          4691     4701   +10     
=========================================
+ Hits           4484     4494   +10     
  Misses          207      207           
Impacted Files Coverage Δ
src/Components/Expression.php 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@williamdes williamdes added this to the 5.6.0 milestone Dec 12, 2022
@williamdes williamdes self-assigned this Dec 12, 2022
@iifawzi
Copy link
Contributor Author

iifawzi commented Dec 13, 2022

We need to update all the out files to contain the newly added options, should this be added on a separate PR?

Copy link
Member

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's awesome and minimal like we love it

@williamdes
Copy link
Member

We need to update all the out files to contain the newly added options, should this be added on a separate PR?

I would say yes, but do not worry I will do it
I fill avoid more un necessary work on your end

Example: SELECT `test3`.`t1` is not null AS `is_not_null` FROM `test3`

Signed-off-by: iifawzi <iifawzie@gmail.com>
Signed-off-by: iifawzi <iifawzie@gmail.com>
Signed-off-by: iifawzi <iifawzie@gmail.com>
@iifawzi iifawzi marked this pull request as draft December 13, 2022 17:31
Signed-off-by: iifawzi <iifawzie@gmail.com>
@iifawzi iifawzi changed the title Improving Expression to allow is null and is not null column options Improving the Expression component's allowed keywords Dec 13, 2022
Signed-off-by: iifawzi <iifawzie@gmail.com>
@iifawzi iifawzi marked this pull request as ready for review December 13, 2022 17:47
Signed-off-by: iifawzi <iifawzie@gmail.com>
@williamdes williamdes merged commit 0b186b1 into phpmyadmin:master Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants