To All Javascript API Developers:
From what I am reading in the samples, the queries appear to be constructed against a feature layer. Is there a particular reason why this would be the case?
Could it be that is makes it easier to deal with 1 layer of a mapservice that can be composed of multiple layers?
Can you even perform queries against a dynamic mapservice?