Add docs link, misc format tweaks
This commit is contained in:
@@ -28,7 +28,7 @@ class Patch
|
||||
{
|
||||
$setValue = match (Configuration::mode('make patch statement')) {
|
||||
Mode::PgSQL => 'data || :data',
|
||||
Mode::SQLite => 'json_patch(data, json(:data))'
|
||||
Mode::SQLite => 'json_patch(data, json(:data))',
|
||||
};
|
||||
return "UPDATE $tableName SET data = $setValue WHERE $whereClause";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user