`doQuery` should only be used when it's not possible to use framework capacities. See my comment on https://github.com/pluginsGLPI/datainjection/pull/399#pullrequestreview-2749006786