mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
Merge pull request #2 from netfeed/result_set_columns
should return columns and not types
This commit is contained in:
commit
3125ad0191
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class SQLite3::ResultSet
|
||||||
|
|
||||||
# Returns the names of the columns, an `Array(String)`.
|
# Returns the names of the columns, an `Array(String)`.
|
||||||
def columns
|
def columns
|
||||||
@statement.types
|
@statement.columns
|
||||||
end
|
end
|
||||||
|
|
||||||
# Advances to the next row. Returns `true` if there's a next row,
|
# Advances to the next row. Returns `true` if there's a next row,
|
||||||
|
|
Loading…
Reference in a new issue