AnsweredAssumed Answered

i need do a query in two layer

Question asked by emazzu on Apr 25, 2019
Latest reply on Apr 25, 2019 by emazzu

select query, featurelayer, goto

hi, how are you.

 

I have 2 layers, active wells and inactive wells, 

 

I have to do a query in active wells, but if I not found I have to do a query on inactive wells, 

 

can I do a concat ? the layer one and two ?? or do a query on two layers ????

 

 

const query = new Query();
query.where = "WELLCOMP_NAME = '" + aux.dsWellComp + "'";

pozosA.queryExtent(query).then(function(results){
view.goTo(results.extent.center);
});

 

const query = new Query();
query.where = "WELLCOMP_NAME = '" + aux.dsWellComp + "'";

pozosB.queryExtent(query).then(function(results){
view.goTo(results.extent.center);
});

 

regards

Eduardo

Outcomes