From 7c8c88c3a14df58fefba381355fcab9cf9342d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthieu=20Barth=C3=A9lemy?= Date: Tue, 7 Apr 2020 01:11:26 +0800 Subject: [PATCH] debug --- Sources/QueuesFluentDriver/PopQueries/MySQLPopQuery.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/QueuesFluentDriver/PopQueries/MySQLPopQuery.swift b/Sources/QueuesFluentDriver/PopQueries/MySQLPopQuery.swift index 78ea09a..0b9a2d2 100644 --- a/Sources/QueuesFluentDriver/PopQueries/MySQLPopQuery.swift +++ b/Sources/QueuesFluentDriver/PopQueries/MySQLPopQuery.swift @@ -10,8 +10,8 @@ final class MySQLPop : PopQueryProtocol { var id: UUID? return database.execute(sql: select) { (row) -> Void in - print("••• columns: \(row.allColumns)") id = try? row.decode(column: "\(FluentQueue.model.$id.key)", as: UUID.self) + print("••• columns: \(row.allColumns), id=\(id)") } .flatMap { if (id != nil) {