The district attorney shall attend the deliberations of the grand jury whenever he may be required by the grand jury, and shall give the necessary information as to the law governing each case, in order that the same may be presented in the manner required by law.