code: function getSchema(connection) {
    const schemaSql = getSchemaSql(connection.database);
    return runQuery(schemaSql, connection).then(queryResult =>
      formatSchemaQueryResults(queryResult)
    );
  }
docs: Get schema for connection
  @param {*} connection