File tree Expand file tree Collapse file tree 2 files changed +26
-26
lines changed Expand file tree Collapse file tree 2 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -46,23 +46,23 @@ abstract class MySqlRepository
46
46
$query = $this->alternativeDbConnection->table($this->table);
47
47
}
48
48
49
- if ($this->softDelete) {
50
- if (!$this->withTrashed) {
51
- $query = $query->whereNull('deleted_at');
52
- } else {
53
- $this->withTrashed = false;
54
- }
55
- }
49
+ // if ($this->softDelete) {
50
+ // if (!$this->withTrashed) {
51
+ // $query = $query->whereNull('deleted_at');
52
+ // } else {
53
+ // $this->withTrashed = false;
54
+ // }
55
+ // }
56
56
57
57
return $query;
58
58
}
59
59
60
- public function withTrashed(): MySqlRepository
61
- {
62
- $this->withTrashed = true;
63
-
64
- return $this;
65
- }
60
+ // public function withTrashed(): MySqlRepository
61
+ // {
62
+ // $this->withTrashed = true;
63
+ //
64
+ // return $this;
65
+ // }
66
66
67
67
/**
68
68
* @param int|null $total
Original file line number Diff line number Diff line change @@ -46,23 +46,23 @@ abstract class MySqlRepository
46
46
$query = $this->alternativeDbConnection->table($this->table);
47
47
}
48
48
49
- if ($this->softDelete) {
50
- if (!$this->withTrashed) {
51
- $query = $query->whereNull('deleted_at');
52
- } else {
53
- $this->withTrashed = false;
54
- }
55
- }
49
+ // if ($this->softDelete) {
50
+ // if (!$this->withTrashed) {
51
+ // $query = $query->whereNull('deleted_at');
52
+ // } else {
53
+ // $this->withTrashed = false;
54
+ // }
55
+ // }
56
56
57
57
return $query;
58
58
}
59
59
60
- public function withTrashed(): MySqlRepository
61
- {
62
- $this->withTrashed = true;
63
-
64
- return $this;
65
- }
60
+ // public function withTrashed(): MySqlRepository
61
+ // {
62
+ // $this->withTrashed = true;
63
+ //
64
+ // return $this;
65
+ // }
66
66
67
67
/**
68
68
* @param int|null $total
You can’t perform that action at this time.
0 commit comments