# SchedulerResourceQuery Interface

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								SchedulerResourceQuery Interface
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Identifies one configured resource condition required by an event query.
									Multiple conditions passed to <a href="../classes/wijmo_scheduler.flexscheduler.html#getevents">FlexScheduler.getEvents</a> are combined with AND.</p>
								</div>
								<pre>const resourceConditions: SchedulerResourceQuery[] = [
    { fieldExpr: 'participantIds', value: [10, 20] },
    { fieldExpr: 'roomId', value: 'A' }
];
const meetings = scheduler.getEvents(undefined, undefined, resourceConditions);
</pre>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">SchedulerResourceQuery</span>
								</li>
							</ul>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Properties
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_scheduler.schedulerresourcequery.html#fieldexpr" class="tsd-kind-icon">field<wbr>Expr</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_scheduler.schedulerresourcequery.html#value" class="tsd-kind-icon">value</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Properties</h2>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="fieldexpr" class="tsd-anchor"></a>
								<h3>fieldExpr</h3>
								<div class="tsd-signature tsd-kind-icon">field<wbr>Expr<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the event item field that contains the resource assignment.
										The field must match a fieldExpr configured in <a href="../classes/wijmo_scheduler.flexscheduler.html#resources">FlexScheduler.resources</a>.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="value" class="tsd-anchor"></a>
								<h3>value</h3>
								<div class="tsd-signature tsd-kind-icon">value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the resource value, or values, that an event must contain.</p>
									</div>
									<p>A scalar requires one assignment. An array requires every listed assignment. Resource values
										are compared using strict equality, so numeric and string values remain distinct. Null,
									undefined, and empty arrays match nothing.</p>
								</div>
							</section>
						</section>
					</div>