Changes between Version 1 and Version 2 of DatabaseProgramming
- Timestamp:
- 06/03/26 02:45:05 (13 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DatabaseProgramming
v1 v2 3 3 == Тригери 4 4 5 === trg_validate_ballot5 === 1. trg_validate_ballot 6 6 7 7 **Тип:** `BEFORE INSERT` на табела `ballot` … … 91 91 ---- 92 92 93 === trg_after_insert_ballot_live_count93 === 2. trg_after_insert_ballot_live_count 94 94 95 95 **Тип:** `AFTER INSERT` на табела `ballot` … … 145 145 ---- 146 146 147 === trg_before_insert_voter_age147 === 3. trg_before_insert_voter_age 148 148 149 149 **Тип:** `BEFORE INSERT` на табела `voter` … … 192 192 ---- 193 193 194 === trg_after_voter_change_sync_stats194 === 4. trg_after_voter_change_sync_stats 195 195 196 196 **Тип:** `AFTER INSERT OR DELETE` на табела `voter` … … 227 227 ---- 228 228 229 === trg_prevent_duplicate_voter_checkin229 === 5. trg_prevent_duplicate_voter_checkin 230 230 231 231 **Тип:** `BEFORE INSERT` на табела `voter_election` … … 309 309 == Функции 310 310 311 === fn_calculate_dhondt311 === 6. fn_calculate_dhondt 312 312 313 313 **Сигнатура:** `fn_calculate_dhondt(p_election_id bigint, p_district_id bigint)` … … 438 438 ---- 439 439 440 === fn_get_candidate_list_for_entity440 === 7. fn_get_candidate_list_for_entity 441 441 442 442 **Сигнатура:** `fn_get_candidate_list_for_entity(p_entity_id bigint, p_election_id bigint)` … … 523 523 ---- 524 524 525 === fn_station_anomaly_score525 === 8. fn_station_anomaly_score 526 526 527 527 **Сигнатура:** `fn_station_anomaly_score(p_station_id bigint, p_election_id bigint)` … … 666 666 == Процедури 667 667 668 === sp_close_election668 === 9. sp_close_election 669 669 670 670 **Сигнатура:** `sp_close_election(IN p_election_id bigint)` … … 745 745 ---- 746 746 747 === sp_open_election747 === 10. sp_open_election 748 748 749 749 **Сигнатура:** `sp_open_election(IN p_election_id bigint)` … … 799 799 ---- 800 800 801 === sp_register_newly_eligible_voters801 === 11. sp_register_newly_eligible_voters 802 802 803 803 **Сигнатура:** `sp_register_newly_eligible_voters()`
