# autoFlush

> Boolean indicating if the PropertyDatabase will update the backing file automatically or not.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Search](/engine/6000.6/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public bool autoFlush { get; }
```

### Remarks

When set to true, the [PropertyDatabase](/engine/6000.6/script-reference/unityeditor/search/propertydatabase.md) will update the backing file automatically when there are no more changes applied on the [PropertyDatabase](/engine/6000.6/script-reference/unityeditor/search/propertydatabase.md). By default, the delay between changes to trigger an automatic update is 5 seconds.
