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

Commit

Permalink
Added whereNotBetweenJalali query builder
Browse files Browse the repository at this point in the history
  • Loading branch information
erfansajjadie authored Aug 17, 2021
1 parent 2c914e1 commit c68843e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BalootServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ public function registerQueryBuilderMacros()

return $this;
});

Builder::macro('whereNotBetweenJalali', function (string $column, array $values, $boolean = 'and', $not = false) {
$this->whereBetweenJalali($column, $values, $boolean, true);
return $this;
});
}

private function bindCityRoutes()
Expand Down

0 comments on commit c68843e

Please sign in to comment.