class_docstr: A Database. Encapsulates a url and an SQLAlchemy engine with a pool of
  connections.
class_docstr_tok: ["A","Database",".","Encapsulates","a","url","and","an","SQLAlchemy","engine","with","a","pool","of","connections","."]
docstr: Executes the given SQL query against the Database. Parameters can,
  optionally, be provided. Returns a RecordCollection, which can be
  iterated over to get result rows as dictionaries.
docstr_tok: ["Executes","the","given","SQL","query","against","the","Database",".","Parameters","can",",","optionally",",","be","provided",".","Returns","a","RecordCollection",",","which","can","be","iterated","over","to","get","result","rows","as","dictionaries","."]
code: def query(self, query, fetchall=False, **params):
      """Executes the given SQL query against the Database. Parameters can,
      optionally, be provided. Returns a RecordCollection, which can be
      iterated over to get result rows as dictionaries.
      """
      with self.get_connection() as conn:
          return conn.query(query, fetchall, **params)
  
imports: import os
  from sys import stdout
  from collections import OrderedDict
  from contextlib import contextmanager
  from inspect import isclass
  import tablib
  from docopt import docopt
  from sqlalchemy import create_engine, exc, inspect, text
label_desc: Use image node_id 8 for calling the Database obj's underlying member method code with example usage: obj.query(query, fetchall) and returns: conn