File tree 2 files changed +21
-8
lines changed
src/Jenssegers/Mongodb/Eloquent
2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
3
3
4
4
## [ Unreleased]
5
5
6
+ ### Fixed
7
+ - Sync passthru methods [ #2194 ] ( https://github.com/jenssegers/laravel-mongodb/pull/2194 ) by [ @simonschaufi ] ( https://github.com/simonschaufi )
8
+
6
9
## [ 3.8.3] - 2021-02-21
7
10
8
11
### Changed
Original file line number Diff line number Diff line change @@ -16,18 +16,28 @@ class Builder extends EloquentBuilder
16
16
* @var array
17
17
*/
18
18
protected $ passthru = [
19
- 'toSql ' ,
19
+ 'average ' ,
20
+ 'avg ' ,
21
+ 'count ' ,
22
+ 'dd ' ,
23
+ 'doesntExist ' ,
24
+ 'dump ' ,
25
+ 'exists ' ,
26
+ 'getBindings ' ,
27
+ 'getConnection ' ,
28
+ 'getGrammar ' ,
20
29
'insert ' ,
21
30
'insertGetId ' ,
22
- 'pluck ' ,
23
- 'count ' ,
24
- 'min ' ,
31
+ 'insertOrIgnore ' ,
32
+ 'insertUsing ' ,
25
33
'max ' ,
26
- 'avg ' ,
27
- 'sum ' ,
28
- 'exists ' ,
29
- 'push ' ,
34
+ 'min ' ,
35
+ 'pluck ' ,
30
36
'pull ' ,
37
+ 'push ' ,
38
+ 'raw ' ,
39
+ 'sum ' ,
40
+ 'toSql '
31
41
];
32
42
33
43
/**
You can’t perform that action at this time.
0 commit comments