From 73cd7dbf05799b66d2e9aa60a38104deff938f8b Mon Sep 17 00:00:00 2001 From: Victor Bergoo Date: Thu, 20 Aug 2015 12:29:20 +0200 Subject: [PATCH] should return columns and not types --- src/sqlite3/result_set.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite3/result_set.cr b/src/sqlite3/result_set.cr index b2f5f1a..f349333 100644 --- a/src/sqlite3/result_set.cr +++ b/src/sqlite3/result_set.cr @@ -37,7 +37,7 @@ class SQLite3::ResultSet # Returns the names of the columns, an `Array(String)`. def columns - @statement.types + @statement.columns end # Advances to the next row. Returns `true` if there's a next row,