Skip to content
This repository was archived by the owner on Aug 13, 2023. It is now read-only.

Commit aa48b81

Browse files
authored
Update MySQL.php
1 parent dd1f839 commit aa48b81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/QueryBuilder/Adapter/MySQL.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function columns()
3535
*/
3636
public function quote($string)
3737
{
38-
return '`' . $string . '`';
38+
return '`' . str_replace('.', '`.`', $string) . '`';
3939
}
4040

4141
/**
@@ -46,4 +46,4 @@ public function name()
4646
return 'mysql';
4747
}
4848

49-
}
49+
}

0 commit comments

Comments
 (0)