title: How to avoid making new connections in aiosqlite
body: <p>I was using <code>sqlite3</code> till now for my discord bot. In that case I could simply make a global variable of database connection and use it everywhere in the code.</p>
  <pre class="lang-py prettyprint-override"><code>import sqlite3
  conn = sqlite3.connect(&quot;path/to/db&quot;)
  
  def function():
    cur = conn.cursor()
    cur.execute(...)
  </code></pre>
  <p>But now in the case of <code>aiosqlite</code> I can't create  a global variable because <code>aiosqlite.connect()</code> is a coroutine and I can only use it inside an async function.</p>
  <pre class="lang-py prettyprint-override"><code>import aiosqlite
  
  async def function():
    conn = await aiosqlite.connect()
    ...
  </code></pre>
  <p>The problem is that I call that function often and making new connections over and over again, Is it a good practice? Won't it cause database issues? How can I store a connection and use it everywhere</p>