From d129725e13e5e5d2852dbddea777557f60fb9bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 4 Sep 2015 09:07:04 +0200 Subject: [PATCH] DESIGN.md --- DESIGN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESIGN.md b/DESIGN.md index 6a49e1346..fb6264027 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -3,7 +3,7 @@ The Design of GRDB.swift More than caveats or defects, there are a few glitches, or surprises in the GRDB.swift API. We try to explain them here. -- Why `db.fetch(Person.self, "SELECT ...")` instead of `Person.fetch("SELECT ...")`? +- Why `db.fetch(Int.self, "SELECT ...")` instead of `Int.fetch(db, "SELECT ...")`? - Why can't NSObject adopt DatabaseValueConvertible, so that native NSDate, NSData, UIImage could be used as query arguments, or fetched values? - Why is RowModel a class, when protocols are all the rage?