Add docs link, misc format tweaks

This commit is contained in:
2024-07-21 22:02:16 -04:00
parent d8330d828a
commit 0659de3f99
16 changed files with 49 additions and 48 deletions

View File

@@ -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";
}