do not put that function into the Funcs class. i propose to create an additional class like QueryArrayUtils