# EntityQueryBuilder(AllocatorHandle)

> Create an entity query description builder.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public EntityQueryBuilder(AllocatorManager.AllocatorHandle allocator)
```

### Parameters

**** (\[AllocatorHandle]\(/engine/7000.0/script-reference/unity/collections/allocatormanager/allocatorhandle)): The allocator used to allocate the builder's arrays. Typically Allocator.Temp.

### Remarks

It is safe to use Allocator.Temp for all EntityQueryBuilders. Since they are a ref struct, their lifetime is limited to the current frame.
