Automatically reset after each query or edit