You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally the simple_* methods do not handle None properly when used as a key-value (the exact arguments differ by method). See #14138 for real fallout from this.
simple_upsert_emulated_txn has special handling for null which should likely be abstracted:
This issue has been migrated from #14157.
Generally the
simple_*
methods do not handleNone
properly when used as a key-value (the exact arguments differ by method). See #14138 for real fallout from this.simple_upsert_emulated_txn
has special handling fornull
which should likely be abstracted:https://github.com/matrix-org/synapse/blob/b4ec4f5e71a87d5bdc840a4220dfd9a34c54c847/synapse/storage/database.py#L1304-L1310
This is mostly a footgun that we could avoid by either:
None
.None
and turning it intoIS NONE
(which is whatsimple_upsert_emulated_txn
does).The text was updated successfully, but these errors were encountered: