Skip to content

Commit 98ea0ba

Browse files
committed
add method disableBacktick for driver pgsql & sqlsrv
1 parent d3392a0 commit 98ea0ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Common/Common.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ public static function mysql_escape($fieldValue)
3535
return $fieldValue;
3636
}
3737

38+
/**
39+
* Disable Backtick.
40+
*
41+
* @param $drive
42+
* @return boolean
43+
*/
3844
public static function disableBacktick($drive)
3945
{
4046
return in_array($drive, ['pgsql', 'sqlsrv']);

0 commit comments

Comments
 (0)