Hi,
I would like to inflate a column value from json to perl-Hash , but only if
another column has a certain value.
Do I have acces to the whole fetched row from within inflate_colum ?
Rolf Schaufelberger
smime.p7s
Description: S/MIME cryptographic signature
Peter Rabbitson:
Rolf Schaufelberger wrote:
Hi Peter, thanks for your explanation. Spent the whole last evening with
debugging, without finding out whats going wrong. The [{ mode =
'me.mode'}] works as wanted.
Awesome. Have you noticed any other problems while testing with
0.08126_01
/perl/lib/PW/Application.pm line 51.
Any ideas ?
Rolf Schaufelberger
___
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
.
Removing the sequence call and define it via column_info works.
Yet I wonder, is it intended that the update breaks old code ?
Meanwhile I've also seen, that I can remove my sequence definition at all
since my DB support insert .. returning.
Rolf Schaufelberger
I've found another issue where the update breaks old code:
Given the following definitions:
package PW::Iprinter::DB::Article;
...
__PACKAGE__-has_many ( article_children = 'PW::Iprinter::DB::ArticleArticle',
'parent_id');
..
__PACKAGE__-many_to_many ( children = 'article_children', 'child'
Same error
Am 17.01.2011 um 14:57 schrieb Peter Rabbitson:
Rolf Schaufelberger wrote:
I've found another issue where the update breaks old code:
Can you test the 0.08127 RC (0.08126_01)? There were fixes related to the
way +columns is now handled
of has_many.
I never need a relation the other way , from allstatus to one of the status
logging tables,
there is no use case for that.
Regards
Rolf Schaufelberger
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC
I've found why the function is called 28 time, since I user search({}, {…}) and
I have 28 records in my database….
Yet,that means I have no way to call a function just once without specifying a
search that returns just one result row.
So , switching back to dbh-do…
Rolf
Rolf Schaufelberger
Geschäftsführer
plusW GmbH
Vorstadtstr. 61 -67 Tel. 07181 47 47 305
73614 Schorndorf Fax. 07181 47 45 344
www.plusw.de
www.mypixler.com
www.calendrino.de
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix
')-find($obj-id);
while
my $obj = $schema-resultset('XY')-create({...} , {fetch=1});
would be nicer.
--
Rolf Schaufelberger
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http
record. So, same conclusion as in your case, not useable
with for edit/update forms. :-(
(Database is postgres)
Rolf Schaufelberger
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http
Hi,
I have a table where a trigger creates another record in the same table on
INSERT (Postgres 8.2)
I've the same workflow working with Class::DBI and so I've checked it again
there, but it works OK with Class:DBI
Any ideas ?
Rolf Schaufelberger
On Montag 15 Oktober 2007, John Napiorkowski wrote:
--- Rolf Schaufelberger [EMAIL PROTECTED] wrote:
Hi,
I have a table like this:
id | integer | not
null default
nextval('orders.logos_id_seq'::regclass)
name| character varying(100
On Montag 15 Oktober 2007, John Napiorkowski wrote:
--- Rolf Schaufelberger [EMAIL PROTECTED] wrote:
On Montag 15 Oktober 2007, John Napiorkowski wrote:
--- Rolf Schaufelberger [EMAIL PROTECTED] wrote:
Hi,
I have a table like this:
id | integer
can I force my app to _populate_dbh earlier without doing a placebo
select ?
--
Regards
Rolf Schaufelberger
___
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
15 matches
Mail list logo