title: how to access database connection in views in codeigniter 4
body: <p>I want to execute some query in Views/login.php
  I have created database connection in Controller, but i need to execute some sort of queries in Views.
  Not able to access it by $this->db->query("") in views, What is the good solution?</p>