@@ -213,10 +213,10 @@ public function testGroupBy(): void
213213    {
214214        // begin query groupBy 
215215        $ resultDB ::table ('movies ' )
216-            ->where ('rated ' , 'G ' )
217-            ->groupBy ('runtime ' )
218-            ->orderBy ('runtime ' , 'asc ' )
219-            ->get (['title ' ]);
216+              ->where ('rated ' , 'G ' )
217+              ->groupBy ('runtime ' )
218+              ->orderBy ('runtime ' , 'asc ' )
219+              ->get (['title ' ]);
220220        // end query groupBy 
221221
222222        $ this assertInstanceOf (\Illuminate \Support \Collection::class, $ result
@@ -420,10 +420,10 @@ public function testWhereRaw(): void
420420        // begin query raw 
421421        $ resultDB ::table ('movies ' )
422422            ->whereRaw ([
423-                 'imdb.votes '  => ['$gte '  => 1000   ],
423+                 'imdb.votes '  => ['$gte '  => 1000 ],
424424                '$or '  => [
425425                    ['imdb.rating '  => ['$gt '  => 7 ]],
426-                     ['directors '  => ['$in '  => [  'Yasujiro Ozu ' , 'Sofia Coppola ' , 'Federico Fellini '   ]]],
426+                     ['directors '  => ['$in '  => ['Yasujiro Ozu ' , 'Sofia Coppola ' , 'Federico Fellini ' ]]],
427427                ],
428428            ])->get ();
429429        // end query raw 
@@ -470,7 +470,7 @@ public function testNear(): void
470470    {
471471        $ this importTheaters ();
472472
473-        // begin query near 
473+          // begin query near 
474474        $ resultsDB ::table ('theaters ' )
475475            ->where ('location.geo ' , 'near ' , [
476476                '$geometry '  => [
@@ -588,7 +588,7 @@ public function testUpdateUpsert(): void
588588                [
589589                    'plot '  => 'An autobiographical movie ' ,
590590                    'year '  => 1998 ,
591-                     'writers '  => [  'Will Hunting '   ],
591+                     'writers '  => ['Will Hunting ' ],
592592                ],
593593                ['upsert '  => true ],
594594            );
@@ -597,6 +597,26 @@ public function testUpdateUpsert(): void
597597        $ this assertIsInt ($ result
598598    }
599599
600+     public  function  testMultiplyDivide (): void 
601+     {
602+         // begin multiply divide 
603+         $ resultDB ::table ('movies ' )
604+             ->where ('year ' , 2001 )
605+             ->multiply ('imdb.votes ' , 5 )
606+             ->divide ('runtime ' , 2 );
607+         // end multiply divide 
608+ 
609+         $ this assertIsInt ($ result
610+ 
611+         // begin multiply with set 
612+         $ resultDB ::table ('movies ' )
613+             ->where ('year ' , 1958 )
614+             ->multiply ('runtime ' , 1.5 , ['note '  => 'Adds recovered footage & interviews. ' ]);
615+         // end multiply with set 
616+ 
617+         $ this assertIsInt ($ result
618+     }
619+ 
600620    public  function  testIncrement (): void 
601621    {
602622        // begin increment 
0 commit comments