From 42c40162730ea3a6f99f61ad747757448e32efe1 Mon Sep 17 00:00:00 2001 From: Jack Lilhammers Date: Mon, 13 Jul 2020 19:49:16 +0200 Subject: [PATCH] Unique constraint support (#96) * Draft of support for the unique constraint * Update table.md Removed the note beside the unique keyword description --- doc/table.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/table.md b/doc/table.md index 813fcea..c9e32dc 100644 --- a/doc/table.md +++ b/doc/table.md @@ -26,7 +26,7 @@ NUT_DECLARE_FIELD(type, property_name, read_method_name, write_method_name) | NUT_NOT_NULL(x) | The field *x* is not allowed to store NULL value | | NUT_LEN(x, len) | Max length of *x* is *len* in string types and in numeric typed field *x* will be store in *len* bytes | | NUT_DEFAULT_VALUE(x, def) | Default value of *x* is *def* | -| NUT_UNIQUE(x) | Field *x* is unique (Not implemented yet!) | +| NUT_UNIQUE(x) | Field *x* is unique | | NUT_DISPLAY_NAME(field, name) | Sets display name for field (used in model creation | ## Sample table