Changes between Version 1 and Version 2 of DatabaseProgramming


Ignore:
Timestamp:
06/03/26 02:45:05 (13 days ago)
Author:
231071
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseProgramming

    v1 v2  
    33== Тригери
    44
    5 === trg_validate_ballot
     5=== 1. trg_validate_ballot
    66
    77**Тип:** `BEFORE INSERT` на табела `ballot`
     
    9191----
    9292
    93 === trg_after_insert_ballot_live_count
     93=== 2. trg_after_insert_ballot_live_count
    9494
    9595**Тип:** `AFTER INSERT` на табела `ballot`
     
    145145----
    146146
    147 === trg_before_insert_voter_age
     147=== 3. trg_before_insert_voter_age
    148148
    149149**Тип:** `BEFORE INSERT` на табела `voter`
     
    192192----
    193193
    194 === trg_after_voter_change_sync_stats
     194=== 4. trg_after_voter_change_sync_stats
    195195
    196196**Тип:** `AFTER INSERT OR DELETE` на табела `voter`
     
    227227----
    228228
    229 === trg_prevent_duplicate_voter_checkin
     229=== 5. trg_prevent_duplicate_voter_checkin
    230230
    231231**Тип:** `BEFORE INSERT` на табела `voter_election`
     
    309309== Функции
    310310
    311 === fn_calculate_dhondt
     311=== 6. fn_calculate_dhondt
    312312
    313313**Сигнатура:** `fn_calculate_dhondt(p_election_id bigint, p_district_id bigint)`
     
    438438----
    439439
    440 === fn_get_candidate_list_for_entity
     440=== 7. fn_get_candidate_list_for_entity
    441441
    442442**Сигнатура:** `fn_get_candidate_list_for_entity(p_entity_id bigint, p_election_id bigint)`
     
    523523----
    524524
    525 === fn_station_anomaly_score
     525=== 8. fn_station_anomaly_score
    526526
    527527**Сигнатура:** `fn_station_anomaly_score(p_station_id bigint, p_election_id bigint)`
     
    666666== Процедури
    667667
    668 === sp_close_election
     668=== 9. sp_close_election
    669669
    670670**Сигнатура:** `sp_close_election(IN p_election_id bigint)`
     
    745745----
    746746
    747 === sp_open_election
     747=== 10. sp_open_election
    748748
    749749**Сигнатура:** `sp_open_election(IN p_election_id bigint)`
     
    799799----
    800800
    801 === sp_register_newly_eligible_voters
     801=== 11. sp_register_newly_eligible_voters
    802802
    803803**Сигнатура:** `sp_register_newly_eligible_voters()`