()
Commit any cached queries and close down the connection
Commit any cached queries and close down the connection
Commit any cached queries and close down the connection
def shutdown():
    """ Commit any cached queries and close down the connection
    """
    global db
    if db is not None:
        db.connection.commit()
        db.connection.close()
def shutdown ( ) : global db if db is not None : db . connection . commit ( ) db . connection . close ( )