Query and edit

Query

A query provides the ability to return a subset of features from a dataset based on any combination of attribute, spatial, and temporal criteria. For defining attribute criteria, you can use a compound SQL expression that uses several attribute fields, data types, and operators (for example, "POP > 1000000 AND NAME LIKE 'San%'").

A query does not require that all types of criteria be defined (attribute, spatial, and temporal). Leaving spatial and temporal filters undefined, for example, means that the search will not be restricted using those criteria (in other words, the entire spatial and temporal extent will be evaluated).

You can also perform queries to return related features, a feature count, an extent containing all features meeting your criteria, or statistical information about a dataset. See the Query topic for details.

Edit

Fine grained control over editing operations is available by using the editing API, allowing you to create and edit features, add, edit or remove feature attachments, and edit the geometry of features.

A variety of editing workflows is supported, including both connected and disconnected (offline) editing. See the Edit topic for details.