Skip to content

Latest commit

 

History

History
182 lines (98 loc) · 4.26 KB

query-schema.md

File metadata and controls

182 lines (98 loc) · 4.26 KB
title manager ms.date ms.audience ms.topic ms.localizationpriority api_name api_type ms.assetid description
Query schema in CAML
soliver
11/16/2014
Developer
reference
medium
Query schema
schema
7cc82402-1f1d-4825-81cb-abc5f99a219c
The various ways in which the Query schema of Collaborative Application Markup Language (CAML) is used within the context of Microsoft SharePoint Foundation to define queries against list data.

Query schema

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

The Query schema of Collaborative Application Markup Language (CAML) is used in various ways within the context of Microsoft SharePoint Foundation to define queries against list data.

For example, you can assign CAML query strings to the Query property of several classes in the server and client object models to return data, or to method parameters of the Lists web service to work remotely with data. CAML queries are also used in the context of CAML views to return specific data. The Query element of the List schema contains elements of the Query schema.

Query schema elements

<Where>

Logical joins

<And>

<Or>

Comparison operators

<BeginsWith>

<Contains>

<DateRangesOverlap>

<Eq>

<Geq>

<Gt>

<In>

<Includes>

<IsNotNull>

<IsNull>

<Leq>

<Lt>

<Membership>

<Neq>

<NotIncludes>

Group/order operators

<GroupBy>

<OrderBy>

Value child elements

<ListProperty>

<Month>

<Now>

<Today>

<UserID>

<XML>

See also