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?


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to