Fixes #57 for Sqlite3 MySQL and PostgreSQL