Toby Corkindale wrote:
> Did anyone come back (perhaps offlist) with an answer to this?
>
> Reason I ask is that I'm just trying to get my head around adding objects via
> many_to_many relationships. Is there a shortcut method, a-la has_many's
> *_add_to() method?
>
> ie.
> Actor has a many_to_ma
Did anyone come back (perhaps offlist) with an answer to this?
Reason I ask is that I'm just trying to get my head around adding objects via
many_to_many relationships. Is there a shortcut method, a-la has_many's
*_add_to() method?
ie.
Actor has a many_to_many relationship to Roles, eg:
Schema::A
Hello,
I've written a short script using DBIx::Class::Schema. It works about
like I would expect, until I added the following line in
GenesDB::SegmentTypes:
'use overload '""' => 'type', fallback => 1;'
(I found this in DBIx::Class::Manual::Cookbook.) When I run the script
with that line unco
Aran Deltac wrote:
> On 4/27/2006, "Gavin Carr" <[EMAIL PROTECTED]> wrote:
>> 3. For situations where you have queries that aren't supported by DBIC yet,
>> is there a way to source the underlying Schema dbh for doing statement
>> handles directly, or this not kosher? There's nothing obvious in
>>
On 4/27/2006, "Gavin Carr" <[EMAIL PROTECTED]> wrote:
>Hi guys,
>
>Just starting to use DBIx::Class in anger for the first time and have
>a few questions/comments:
>
>1. Is there a way of accessing the $schema object from a Row or ResultSet
>method, or is that a Bad Thing to do? For instance, say p
I've created a script in dbic-current/maint/ called dbicadmin. It
allows you to create, modify, and remove data useing DBIC classes. Once
I started playing with it beyond my original needs I found that it does
a great job at combining DBIC and unix shell tricks. Please perldoc it
for more inform
Hi.
The patch is probably correct (copied from the Rails-counterpart), but this
functionality is in Perl coded directly in DBD::Pg.
I still think that it's migrating code from DBD::Pg that shouldn't be
there. There is a bug in the code, but thats fixed by this (much simpler)
patch.
The bug is th
konobi's lobbed together a patch for Storage::DBI::Pg that hopefully improves
sequence etc. support - can people who know/use such things more than I have a
look over and say whether it's suitable for inclusion?
=== Pg.pm
==
--- Pg.