code: function SQL (query) {
    _checkQuery(query);
    this._query = query;
  
    Base.apply(this, arguments);
  
    this._appliedFilters.on('change:filters', () => this._updateInternalModelQuery(this._getQueryToApply()));
  }
docs: A SQL Query that can be used as the data source for layers and dataviews.
  
  @param {string} query A SQL query containing a SELECT statement
  @fires error
  @example
  new carto.source.SQL('SELECT * FROM european_cities');
  @constructor
  @extends carto.source.Base
  @memberof carto.source
  @fires queryChanged
  @api