Add phpDoc @access private to doQuery

Yes, we keep this function private for a reason.