Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

*new_feature: delete items with custom filter #47

Merged
merged 2 commits into from
Feb 21, 2019

Conversation

faryar76
Copy link
Contributor

@faryar76 faryar76 commented Feb 9, 2019

This pull request updates the query::class to support delete query results using custom filter.

$db->query()->where('name','LIKE','john')->delete(function($item){

        return $item->name=='0John' && $item->[email protected];

});

@faryar76 faryar76 changed the title new_feature: delete items with custom filter *new_feature: delete items with custom filter Feb 9, 2019
@coveralls
Copy link

coveralls commented Feb 9, 2019

Pull Request Test Coverage Report for Build 134

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 92.952%

Totals Coverage Status
Change from base Build 130: 0.03%
Covered Lines: 488
Relevant Lines: 525

💛 - Coveralls

@timothymarois
Copy link
Member

This looks good. Nice Job! I will have this merged with the next update. Thanks!

@timothymarois timothymarois merged commit c694ff9 into tmarois:1.0 Feb 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants