[Dbix-class] Search_rs not returning newly created rows
Kenneth S Mclane
ksmclane at us.ibm.com
Tue Jun 19 16:15:14 GMT 2012
Yes, I have done that but it doesn't show anything that would stop it from
showing the new rows. I now have 80 rows in the table and I only get 66
back. Could the relationships be limiting the rows returned? I think I'll
look inot that, I may need to create some related records.
Len Jaffe <lenjaffe at jaffesystems.com> wrote on 06/19/2012 11:03:43 AM:
> From:
>
> Len Jaffe <lenjaffe at jaffesystems.com>
>
> To:
>
> "DBIx::Class user and developer list" <dbix-class at lists.scsys.co.uk>
>
> Date:
>
> 06/19/2012 11:09 AM
>
> Subject:
>
> Re: [Dbix-class] Search_rs not returning newly created rows
>
>
> On Tue, Jun 19, 2012 at 11:27 AM, Kenneth S Mclane <ksmclane at us.ibm.com
> > wrote:
> I have succeeded in creating a new row in my table with "->create".
> I then go back to my page that lists all the rows in that table, and
> I get the list using "search_rs", but the newly created rows are not
> showing. I verified that the rows do exist. I'm not sure why this
> isn't working. Is there something I need to do to make it pull a
> fresh copy of the data? I thought it was automatic, but it doesn't seem
to be.
>
> 1) Caching enabled?
>
> 2) You can set the DBI_TRACE env variable to 1 and make sure that
> the query that's being run against the DB should be finding the new
record.
>
> Len.
>
> --
> lenjaffe at jaffesystems.com 614-404-4214
www.volunteerable.net
> Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage
> Greenbar: Grubmaster: 2012-2009, Grub Asst: 2008, Trained: 2007.
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20120619/c2fa34bc/attachment.htm
More information about the DBIx-Class
mailing list