Skip to content

Commit

Permalink
add method disableBacktick for driver pgsql & sqlsrv
Browse files Browse the repository at this point in the history
  • Loading branch information
mavinoo committed Jun 30, 2021
1 parent d3392a0 commit 98ea0ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Common/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ public static function mysql_escape($fieldValue)
return $fieldValue;
}

/**
* Disable Backtick.
*
* @param $drive
* @return boolean
*/
public static function disableBacktick($drive)
{
return in_array($drive, ['pgsql', 'sqlsrv']);
Expand Down

0 comments on commit 98ea0ba

Please sign in to comment.