usmanhalalit / pixie

Database query builder for PHP, framework agnostic, lightweight and expressive.
MIT License
672 stars 180 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.