synapse-product/synapse/storage/databases/main
Sean Quah a4dce5b53d
Remove redundant COALESCE()s around COUNT()s in database queries (#11570)
`COUNT()` never returns `NULL`. A `COUNT(*)` over 0 rows is 0 and a
`COUNT(NULL)` is also 0.
2021-12-14 12:34:30 +00:00
..
__init__.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
account_data.py Add type hints to synapse/storage/databases/main/account_data.py (#11546) 2021-12-13 16:28:10 +00:00
appservice.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
cache.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
censor_events.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
client_ips.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
deviceinbox.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
devices.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
directory.py Get directory db file to pass mypy (#11339) 2021-11-15 12:59:05 +00:00
e2e_room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
end_to_end_keys.py Add type hints to synapse/storage/databases/main/end_to_end_keys.py (#11551) 2021-12-13 16:28:26 +00:00
event_federation.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
event_push_actions.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
events_bg_updates.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
events_forward_extremities.py Attempt to annotate events_forward_extremities (#11314) 2021-11-12 15:58:17 +00:00
events_worker.py Disambiguate queries on state_key (#11497) 2021-12-02 22:42:58 +00:00
events.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
filtering.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
group_server.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
keys.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
lock.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
media_repository.py Add type hints to media repository storage module (#11311) 2021-11-12 11:05:26 -05:00
metrics.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
monthly_active_users.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
openid.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
presence.py checks for generators in database functions (#11564) 2021-12-13 19:01:27 +00:00
profile.py Database storage profile passes mypy (#11342) 2021-11-15 12:59:33 +00:00
purge_events.py Disambiguate queries on state_key (#11497) 2021-12-02 22:42:58 +00:00
push_rule.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
pusher.py Annotate synapse.storage.util (#10892) 2021-10-08 14:25:16 +00:00
receipts.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
registration.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
rejections.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
room_batch.py Correct type hint for room_batch.py (#11310) 2021-11-11 16:49:28 +00:00
room.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
roommember.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
search.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
session.py Use direct references for some configuration variables (#10798) 2021-09-13 13:07:12 -04:00
signatures.py Get db signatures file to pass mypy (#11312) 2021-11-11 17:04:44 +00:00
state_deltas.py Improve log messages for stream ids (#11536) 2021-12-08 14:15:14 +00:00
state.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
stats.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
stream.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
tags.py Add type hints to synapse/storage/databases/main/account_data.py (#11546) 2021-12-13 16:28:10 +00:00
transactions.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
ui_auth.py Fix remove_stale_pushers job on SQLite. (#10843) 2021-09-20 10:26:13 +01:00
user_directory.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
user_erasure_store.py Annotations for user_erasure_store (#11313) 2021-11-11 19:22:19 +00:00