Added db function as an alias of db.q