Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (18 sloc) 621 Bytes
__NAME__ purpose
record doesn't exist in a database table
__NAME__ description
This profile checks whether a matching record exists in a database table.
It succeeds if there is <emphasis>no</emphasis> such record.
__NAME__ example: Ensure unique email address
email=email_only Please enter a valid email address.
email=unique userdb:email An account with this email address already exists.
__NAME__ notes
This check doesn't guarantee unique records, as there is a small window of
time between performing this check and creating a new record.