Merge pull request #2 from netfeed/result_set_columns
should return columns and not types
This commit is contained in:
commit
3125ad0191
|
@ -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 New Issue