refs: finished for adding db query into select which did not use reflection.