Does Validator run database queries under the hood?

Suppose you have this rule:

get rules () {
  return {
    email: 'required|email|unique:users',
  }
}

Does the validator make database queries under the hood to check if email is not present ?

After a small research, I found out it is the case.
(Well, I know that is a common sens, but I was looking for a proof)

1 Like