@@ -1303,4 +1303,69 @@ public function __call($method, $parameters)
13031303
13041304 return parent ::__call ($ method , $ parameters );
13051305 }
1306+ /** @internal This method is not supported by MongoDB. */
1307+ public function toSql ()
1308+ {
1309+ throw new \BadMethodCallException ('This method is not supported by MongoDB. Try "toMql()" instead. ' );
1310+ }
1311+
1312+ /** @internal This method is not supported by MongoDB. */
1313+ public function toRawSql ()
1314+ {
1315+ throw new \BadMethodCallException ('This method is not supported by MongoDB. Try "toMql()" instead. ' );
1316+ }
1317+
1318+ /** @internal This method is not supported by MongoDB. */
1319+ public function whereColumn ($ first , $ operator = null , $ second = null , $ boolean = 'and ' )
1320+ {
1321+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1322+ }
1323+
1324+ /** @internal This method is not supported by MongoDB. */
1325+ public function whereFullText ($ columns , $ value , array $ options = [], $ boolean = 'and ' )
1326+ {
1327+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1328+ }
1329+
1330+ /** @internal This method is not supported by MongoDB. */
1331+ public function groupByRaw ($ sql , array $ bindings = [])
1332+ {
1333+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1334+ }
1335+
1336+ /** @internal This method is not supported by MongoDB. */
1337+ public function orderByRaw ($ sql , $ bindings = [])
1338+ {
1339+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1340+ }
1341+
1342+ /** @internal This method is not supported by MongoDB. */
1343+ public function unionAll ($ query )
1344+ {
1345+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1346+ }
1347+
1348+ /** @internal This method is not supported by MongoDB. */
1349+ public function union ($ query , $ all = false )
1350+ {
1351+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1352+ }
1353+
1354+ /** @internal This method is not supported by MongoDB. */
1355+ public function having ($ column , $ operator = null , $ value = null , $ boolean = 'and ' )
1356+ {
1357+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1358+ }
1359+
1360+ /** @internal This method is not supported by MongoDB. */
1361+ public function havingRaw ($ sql , array $ bindings = [], $ boolean = 'and ' )
1362+ {
1363+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1364+ }
1365+
1366+ /** @internal This method is not supported by MongoDB. */
1367+ public function havingBetween ($ column , iterable $ values , $ boolean = 'and ' , $ not = false )
1368+ {
1369+ throw new \BadMethodCallException ('This method is not supported by MongoDB ' );
1370+ }
13061371}
0 commit comments