code: def db(self, request):
          '''Single Database Query'''
          with self.mapper.begin() as session:
              world = session.query(World).get(randint(1, 10000))
          return Json(self.get_json(world)).http_response(requestf db(self, request):
          '''Single Database Query'''
          with self.mapper.begin() as session:
              world = session.query(World).get(randint(1, 10000))
          return Json(self.get_json(world)).http_response(request)
docs: Single Database Query