title: how to open sqlite database in react native
body: <p>im using sqlite database in my react native project 
  i made  app_db database that contain users table ,</p>
  
  <blockquote>
    <p>and the path of database : 
    /home/dina/AppointmentApp/android/app/src/main/assets/app_db</p>
  </blockquote>
  
  <p>now i want to access to the users table in my project and execute some queries like select , update, insert ...etc </p>
  
  <p>here is the code of open connection </p>
  
  <pre><code>  var db = SQLite.openDatabase({name : "app_db", createFromLocation : "~app_db"});
  
  
    db.transaction((tx)=&gt;{
  
   tx.executeSql("select * from users",(tx,results) =&gt; {
    });
  
      }); 
  </code></pre>
  
  <p>i dont know if this query is correct or not 
  it is return in console </p>
  
  <blockquote>
    <p>-OPEN database: app_db
    -{message: "no such table: users (Sqlite code 1): , while comp…m users, (OS error - 2:No such file or directory)", code: 0}</p>
  </blockquote>