Skip to content

Commit 8be1c44

Browse files
committed
Add collect method
1 parent e3d88ad commit 8be1c44

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/QuerySQLite.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ end
479479
IteratorInterfaceExtensions.isiterable(::OutsideCode) = true
480480
TableTraits.isiterabletable(::OutsideCode) = true
481481

482+
Base.collect(source::OutsideCode) = collect(IteratorInterfaceExtensions.getiterator(source))
483+
482484
function IteratorInterfaceExtensions.getiterator(outside_code::OutsideCode)
483485
# TODO REVIEW
484486
stricttypes = true

0 commit comments

Comments
 (0)