Changes for version v3.2.0 - 2026-11-18
- tee, a tap that takes stages, and loading rows with a feed.
- DBIx::Squirrel exports Ekorn::Pipeline's new tee, which runs each value through stages of its own beside the pipeline (roadmap 2026-0035). Requires Ekorn::Pipeline >= v0.3.6, < v0.4.0, which also brings $pipeline->feed, a run fed values as they arrive: the user guide shows it loading rows into a table.
- DBIx::Squirrel::Stages::Taps exports tee on request, as Ekorn::Pipeline's does, and in :all, and DBIx::Squirrel::Tooling has it in :taps, :stages and :all. tee(@stages) runs each value through a branch of stages, beside the pipeline, and passes it on unchanged; pluck and as_hash work in the branch on a statement's rows. Requires Ekorn::Pipeline v0.3.6 (roadmap 2026-0035).
- The user guide's "Load rows as they arrive" shows $pipeline->feed as a loader: rows pushed in as they come, batched, and each batch written with execute_array in a transaction of its own, the last by close.
Documentation
DBIx::Squirrel user guide
DBIx::Squirrel reference
Modules
DBI, minus the boilerplate, plus a pipeline
what a stage can ask about the result it's making
report the DBI's errors at the caller's line
a stage made afresh for each run, told when the values run out
an iterator over a statement's results
find the placeholders in a statement, and match values to them
the base class of the rows a result set hands out
an iterator handing out rows as objects
stages gathering values: batch and collect
stages taking or dropping values: take, drop, take_first, take_last, take_single, take_while, drop_while, take_if and drop_if
stages reshaping rows: pluck and as_hash
stages run for their side effects: peek, count_into, dump_to and tee
end a DBIx::Squirrel pipeline early
a function for each database, and each statement
DBIx::Squirrel's stages, sinks and words, from one module
helpers shared by DBIx::Squirrel's modules
DBIx::Squirrel's database handle class
DBIx::Squirrel's statement handle class