added sqlite3 function.  being lazy

Ignore the two reverts.  my mouse did not like me.  kept hitting it.