'Is the Unity Sqlite database registered?

I create the SQLite database using Unity. As in my code below.

  private void CreateTable()
 {
     using (dbconn = new SqliteConnection(blablabla))
     {
         dbconn.Open();
         dbcmd = dbconn.CreateCommand();
         sqlQuery = "CREATE TABLE blabla)";
         dbcmd.CommandText = sqlQuery;
         dbcmd.ExecuteScalar();
         dbconn.Close();
     }

This function is Createtable (); I call with

How can I query whether a database has been created in this process?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source