From d3da0bf860787fcd6903920f7c83d58d4df3c03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 2 May 2016 08:52:14 +0200 Subject: [PATCH] README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 34c163e5f..6a60d5754 100644 --- a/README.md +++ b/README.md @@ -435,6 +435,8 @@ try db.execute( The `?` and colon-prefixed keys like `:name` in the SQL query are the **statements arguments**. You pass arguments with arrays or dictionaries, as in the example above. See [Values](#values) for more information on supported arguments types (Bool, Int, String, NSDate, Swift enums, etc.). +Never ever embed values directly in your SQL strings, and always use arguments instead. See [Avoiding SQL Injection](#avoiding-sql-injection) for more information. + **After an INSERT statement**, you can get the row ID of the inserted row: ```swift