title: function to check if SQLite is using journal_mode=WAL or journal_mode=DELETE
body: <p>I was looking for function which would help me to see which journaling mode is enabled..
  I looked here too  <a href="http://www.sqlite.org/c3ref/funclist.html" rel="noreferrer"> <I>list of function </I></a>
  <br> There was function to check database status <a href="http://www.sqlite.org/c3ref/db_status.html" rel="noreferrer">sqlite3_db_status(....)</a> but status parameter didn't have option for check journaling mode <br> <br>
  Is there a function or any way to find if sqlite db is using WAL-mode or normal journaling mode ..!!</p>