usmanhalalit / pixie

Database query builder for PHP, framework agnostic, lightweight and expressive.
MIT License
671 stars 179 forks source link

When updating data, does not write values containing double quotes to the database #207

Open BloodyEagle opened 1 year ago

BloodyEagle commented 1 year ago

$data = array( 'corp' => $_REQUEST['corp'] ); $insertId = \QB::table('corp')->where('id', $id)->update($data);

if you pass in 'corp' the value 'micro"soft"', then only 'micro' will be written. when using insert, the data is written without errors.