We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11baa46 commit bb672a5Copy full SHA for bb672a5
lib/ecto/changeset.ex
@@ -34,7 +34,10 @@ defmodule Ecto.Changeset do
34
The difference between them is that most validations can be
35
executed without a need to interact with the database and, therefore,
36
are always executed before attempting to insert or update the entry
37
- in the database. Some validations may happen against the database but
+ in the database. Validations run immediately when a validation function
38
+ is called on the data that is contained in the changeset at that time.
39
+
40
+ Some validations may happen against the database but
41
they are inherently unsafe. Those validations start with a `unsafe_`
42
prefix, such as `unsafe_validate_unique/3`.
43
0 commit comments