UPDATE "resource_history"
SET "resource_version" = (
    CASE
    WHEN "guid" = 'guid1' THEN CAST(123 AS BIGINT)
    WHEN "guid" = 'guid2' THEN CAST(456 AS BIGINT)
    END
), "key_path" = (
    CASE
    END
)
WHERE "guid" IN (
    'guid1', 'guid2'
);
