mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-05 23:35:36 +01:00
main
Replace the previous IF EXISTS/UPDATE/INSERT logic in the update_genre PL/pgSQL function with a single INSERT ... ON CONFLICT DO UPDATE to perform an atomic upsert and avoid races. Reformat the client.execute call for readability.
Languages
Rust
98.6%
Dockerfile
0.8%
Shell
0.6%