Data::...::DBIC(3pm)
β¨ NAME β¨
Data::Stream::Bulk::DBIC β bestie, this is the lil' glow-up that lets you iterate your DBIx::Class resultsets with Data::Stream::Bulk π
(it lives in the User Contributed Perl Documentation, manual page Data::...::DBIC(3pm), iykyk)
πΈ VERSION πΈ
version 0.11 π
π¦ SYNOPSIS π¦
Data::Stream::Bulk::DBIC->new(
resultset => scalar($schema->rs("Foo")->search(...))
);
π DESCRIPTION π
okay so picture this: you've got a DBIx::Class::ResultSet and you want it to play nice with the Data::Stream::Bulk api. That's literally it, that's the whole vibe. This class is the wrapper that makes it happen. π«Ά
now, the tea: because DBIC's inflation overhead is fairly negligible compared to the overhead of just iterating through stuff, the author genuinely did not bother to actually make it bulk. Not me exposing the class like that π but fr fr, it's fine.
and if DBIx::Class::Cursor ever supports n-at-a-time fetching at some point in the future β as opposed to the one-at-a-time or all-at-a-time situation we're in now β then this class will get updated to match. periodt. π
π METHODS π
get_moreβ check Data::Stream::Bulk::DoneFlag for the deets. It returns a single row. In the future it should return more than one row, but rn it's giving one-at-a-time energy π
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2012 by Yuval Kogman. β
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π§
signing off, my love β this was perl v5.32.0, dated 2021-01-01, and you just read Data::...::DBIC(3pm). go stream some rows, bestie πβ¨
π¦ where this page comes from
- debian bookworm: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms