From ee685500523ea9bc89755f4fde7c7e7ec3a8afc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 1 May 2020 10:59:10 +0200 Subject: [PATCH] Fix typo --- Documentation/SQLInterpolation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/SQLInterpolation.md b/Documentation/SQLInterpolation.md index e042dca80..a26ad904c 100644 --- a/Documentation/SQLInterpolation.md +++ b/Documentation/SQLInterpolation.md @@ -249,12 +249,12 @@ Let's extend Player with database methods. ```swift extension Player: Decodable, FetchableRecord, TableRecord { /// "Simple" version - static func filter(id: Int64) -> SQLRequest { + static func filter(ids: [Int64]) -> SQLRequest { "SELECT * FROM player WHERE id IN \(ids)" } /// "Future-proof" version - static func filter(id: Int64) -> SQLRequest { + static func filter(ids: [Int64]) -> SQLRequest { """ SELECT \(columnsOf: self) FROM \(self)