Tornado using raw sqllite3 without ORM