[Dbix-class] custom result source calling a stored procedure
rabbit+dbic at rabbit.us
Tue Jun 10 21:28:07 GMT 2014
On Tue, Jun 10, 2014 at 02:38:51PM -0400, Mitchell Elutovich wrote:
> In the package which has the source I've defined the columns and defined an
> inflate_result method which blesses $self to a subclass of the package
> based on a type column
> Currently I've just been using a complex SQL of a union of multiple
> SELECTs. However, I would like to create a temporary table or two and so I
> wanted to put everything into a stored proc.
Then yes, just go for it. If it doesn't work - come back and we'll look
into it further.
More information about the DBIx-Class