Some utilities to use with SQLite