A suggestion from @samdark, extracted from https://github.com/yiisoft/data-db/pull/75#discussion_r1820590026.