Tornado – SQLite

I received a couple of requests for Tornado's interaction with SQLite interface. So, here's the blog... SQLite is a file based and transactional database engine. Because of it's lightweight capabilities, SQLite's adoption has increased in the recent past. You can know more about it here. Below is an example of Tornado's interaction with SQLite DB. … Continue reading Tornado – SQLite

Tornado – Database MySQL Client Wrapper

Tornado provides a simple MySQL wrapper for performing database operations. Class tornado.databse.Connection acts as a wrapper over MySQLdb DB-API connection. Consider you have a MySQL installed on your system and you create a DB 'mydb' with table 'post' and records as below: mysql> use mydb Database changed mysql> create table post (Id int, Title char(50), … Continue reading Tornado – Database MySQL Client Wrapper