documentation for do-query-dao and do-select-dao