Skip to content

Commit f497dfe

Browse files
committed
IteratorSize() returns unknown size
1 parent 2f87a00 commit f497dfe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/SQLCollections.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ exists(dbc::SQLCollection) =
4949
Base.collect(dbc::SQLCollection) = StructArray(dbc)
5050

5151
Base.eltype(dbc::SQLCollection) = @p dbc first(__, 0) collect eltype
52+
Base.IteratorSize(::Type{<:SQLCollection}) = Base.SizeUnknown()
5253

5354
(::Type{StructArray})(dbc::SQLCollection) = DBInterface.execute(dbc.conn, dbc.query) |> columntable |> StructArray
5455
(::Type{StructVector})(dbc::SQLCollection) = StructArray(dbc)

0 commit comments

Comments
 (0)