[Dbix-class] update and join

Peter Rabbitson rabbit+dbic at rabbit.us
Thu Jan 22 07:37:12 GMT 2015


On 01/19/2015 04:03 PM, Peter Rabbitson wrote:
> Does not return you a "synthetic" resultset combining both Ddref and the
> Dduser sources. The result of this ->search is *still* a resultset
> pointing to Ddref alone. This is a core design consideration within DBIC
> - a resultset only points to one RDBMS-side source. Therefore any
> ->delete/->update/->create operations work on that source alone, and
> nothing else.
>
> The only way to update a field in a source *related* to the source you
> started from is to "switch" the current scope via search_related:
>

Hi Francois,

Was the above sufficient to answer your original question?




More information about the DBIx-Class mailing list