From 173768bb034c400d1229af04ce2bd43873af8e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 9 Jul 2015 21:02:58 +0200 Subject: [PATCH] README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9a8f0096b..595223999 100644 --- a/README.md +++ b/README.md @@ -707,6 +707,8 @@ There are three kinds of primary keys: - **Columns**: for primary keys that span accross several columns. + RowModels with a multi-column primary key are not supported by `Database.fetchOne(type:primaryKey:)`, which accepts a single value as a key. Instead, use `Database.fetchOne(type:key:)` that uses a dictionary. + The kind of primary key has consequences on the insert/update/delete methods that we will see below.