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

feat!: Added support for IS in frappe qb #16877

Merged
merged 7 commits into from
May 18, 2022
Merged

Conversation

Aradhya-Tripathi
Copy link
Contributor

@Aradhya-Tripathi Aradhya-Tripathi commented May 11, 2022

@gavindsouza
Copy link
Collaborator

Thanks @rmmr for the fix!

@gavindsouza gavindsouza added the add-test-cases Add test case to validate fix or enhancement label May 11, 2022
@codecov
Copy link

codecov bot commented May 11, 2022

Codecov Report

Merging #16877 (3296898) into develop (b5a0410) will decrease coverage by 1.71%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop   #16877      +/-   ##
===========================================
- Coverage    57.95%   56.24%   -1.72%     
===========================================
  Files          764      765       +1     
  Lines        68630    68632       +2     
  Branches      5950     5950              
===========================================
- Hits         39775    38602    -1173     
- Misses       25229    26404    +1175     
  Partials      3626     3626              
Flag Coverage Δ
server 60.94% <100.00%> (-2.71%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@rmmr
Copy link

rmmr commented May 11, 2022

:)

frappe/database/query.py Outdated Show resolved Hide resolved
@gavindsouza gavindsouza added squash and removed add-test-cases Add test case to validate fix or enhancement labels May 12, 2022
@gavindsouza
Copy link
Collaborator

Realized this is a breaking change. Although, I like having this for the sake of predictability and "correctness".

Here's what the query looked like in v12:

v12 get_values

Here's what the query looked like in v13:

v13 get_values

Copy link
Collaborator

@gavindsouza gavindsouza left a comment

Choose a reason for hiding this comment

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

Something's wrong here:

dev get_values

@gavindsouza gavindsouza changed the title feat: Added support for IS in frappe qb feat!: Added support for IS in frappe qb May 12, 2022
frappe/database/query.py Outdated Show resolved Hide resolved
@gavindsouza gavindsouza self-assigned this May 17, 2022
@mergify mergify bot merged commit 7a0dc40 into frappe:develop May 18, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: "is" query operator no longer working
4 participants