It's wired that only this function need workaround. If `check` failed, the `list` should also fail too. I'm guessing all services related to sqlx will fail as well.
We should identify the root cause and fix it in the core instead. Having such a workaround in the bindings doesn't seem ideal to me.
Originally posted by @Xuanwo in #5973 (comment)