query with template string
This commit is contained in:
@@ -73,7 +73,6 @@ describe('mvt regressions', function () {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -94,14 +93,19 @@ describe('MVT Mapnik', function () {
|
||||
});
|
||||
|
||||
it('invalid properties', function (done) {
|
||||
const query = `
|
||||
select ldc, cartodb_id, _2016_6_partcntry, the_geom_webmercator, country
|
||||
from countries_null_values
|
||||
where country = 'Kenya' OR country = 'Sudan' LIMIT 3
|
||||
`;
|
||||
|
||||
const mapConfig = {
|
||||
version: '1.7.0',
|
||||
layers: [
|
||||
{
|
||||
type: 'cartodb',
|
||||
options: {
|
||||
sql: "select ldc, cartodb_id, _2016_6_partcntry, the_geom_webmercator, country " +
|
||||
"from countries_null_values where country = 'Kenya' OR country = 'Sudan' LIMIT 3",
|
||||
sql: query
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user