implement audit logger
This commit is contained in:
6 files changed
+161
-13
No files matched your search
@@ -5,4 +5,13 @@ class Utils {
|
||||
{
|
||||
return '`' . $name . '`';
|
||||
}
|
||||
|
||||
public static function generateColumnsWithBinding(array $columns): string
|
||||
{
|
||||
array_walk($columns, function(&$value, $key) {
|
||||
$value = static::backtick($value) . '=?';
|
||||
});
|
||||
|
||||
return implode(',', $columns);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user