From 98512371059400d01fa0ba1655fcb18a09f45ca5 Mon Sep 17 00:00:00 2001 From: Stefan Hornburg Date: Sun, 16 Mar 2008 09:36:06 +0000 Subject: [PATCH] unique ordercheck documentation added --- refs/unique.ordercheck | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 refs/unique.ordercheck diff --git a/refs/unique.ordercheck b/refs/unique.ordercheck new file mode 100644 index 0000000..7a4bec7 --- /dev/null +++ b/refs/unique.ordercheck @@ -0,0 +1,21 @@ +__NAME__ purpose +record doesn't exist in a database table +__END__ + +__NAME__ description +This profile checks whether a matching record exists in a database table. +It succeeds if there is no such record. +__END__ + +__NAME__ example: Ensure unique email address + +email=email_only Please enter a valid email address. +&and +email=unique userdb:email An account with this email address already exists. + +__END__ + +__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. +__END__