]> git.openstreetmap.org Git - nominatim.git/commit
make DB helper functions free functions
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 2 Jul 2024 13:15:50 +0000 (15:15 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 29 Jul 2024 06:49:30 +0000 (08:49 +0200)
commit3742fa2929619a4c54a50d3e79e0eeadb4d6ca6f
tree648d9d2a71d2aa2a44e1d90fbfc63ef7119f13ce
parent71249bd94a1bd698a937983663f06a9376629ae6
make DB helper functions free functions

Also changes the drop function so that it can drop multiple tables
at once.
30 files changed:
src/nominatim_db/clicmd/admin.py
src/nominatim_db/clicmd/refresh.py
src/nominatim_db/data/country_info.py
src/nominatim_db/db/connection.py
src/nominatim_db/db/properties.py
src/nominatim_db/db/sql_preprocessor.py
src/nominatim_db/db/status.py
src/nominatim_db/indexer/indexer.py
src/nominatim_db/tokenizer/icu_tokenizer.py
src/nominatim_db/tokenizer/legacy_tokenizer.py
src/nominatim_db/tools/admin.py
src/nominatim_db/tools/check_database.py
src/nominatim_db/tools/collect_os_info.py
src/nominatim_db/tools/database_import.py
src/nominatim_db/tools/freeze.py
src/nominatim_db/tools/migration.py
src/nominatim_db/tools/postcodes.py
src/nominatim_db/tools/refresh.py
src/nominatim_db/tools/replication.py
src/nominatim_db/tools/special_phrases/sp_importer.py
test/python/db/test_async_connection.py
test/python/db/test_connection.py
test/python/mock_icu_word_table.py
test/python/mock_legacy_word_table.py
test/python/tokenizer/test_icu.py
test/python/tools/test_database_import.py
test/python/tools/test_import_special_phrases.py
test/python/tools/test_migration.py
test/python/tools/test_refresh.py
test/python/tools/test_tiger_data.py