add support for custom SQL in sqlite3 sdb module