Re: [Dbix-class] ★ VOTE NOW: DBIC Governance and Namespace Control ★

2016-12-06 Thread Erik Colson
Proposal B -- erik colson ___ 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

[Dbix-class] scope in DBIx::Class::Core subclass

2015-02-15 Thread Erik Colson
like the declaration gets out of scope. How can I keep this code clean ? -- erik colson ___ 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

Re: [Dbix-class] scope in DBIx::Class::Core subclass

2015-02-15 Thread Erik Colson
Charlie Garrison garri...@zeta.org.au writes: You need to either import the `trim` sub: use String::Util 'trim'; Awesome! thanks -- erik colson ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN

Re: [Dbix-class] numeric fields and null content

2014-06-16 Thread Erik Colson
field, I didn’t put undef but ''. So when _eq_column_values was called it executed a numeric comparison which of course fails with ‘’. The only (documented) issue that could be checked in DBIx::Class is to not allow '' (or any other string) when 'is_numeric' is true ? best -- erik colson

[Dbix-class] numeric fields and null content

2014-06-12 Thread Erik Colson
the numeric comparison… Or am I missing something ? best -- erik colson ___ 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

Re: [Dbix-class] Announcing 0.08199

2012-08-23 Thread Erik Colson
fREW Schmidt fri...@gmail.com writes: Hello all! As a number of you noticed there were a few significant regressions related to prefetching in the last release. Thanks to hard work, mostly by Peter Rabbitson (ribasushi) we've got it fixed and added a couple regression tests. I'm sorry

Re: [Dbix-class] Announcing DBIx::Class 0.08198

2012-08-09 Thread Erik Colson
Bill Moseley mose...@hank.org writes: On Thu, Aug 9, 2012 at 7:17 AM, Arthur Axel 'fREW' Schmidt fri...@gmail.com wrote: They are in a branch called topic/prefetch_tests. We do have *one*test, but it sounds like there may be other bugs, which is why I'd like to get tests from you and

Re: [Dbix-class] Announcing DBIx::Class 0.08198

2012-08-09 Thread Erik Colson
Bill Moseley mose...@hank.org writes: On Thu, Aug 9, 2012 at 11:03 AM, Erik Colson e...@ecocode.net wrote: I have been able to trace the problem, or at least one problem. Bill, Probably the column 'source' is the 17th in your database table. 20th column for me. Out of 22. I was able

[Dbix-class] Rows

2012-07-27 Thread Erik Colson
Hello, How can I check if the contents of 2 Row Objects are identical ? I'm used to create a function to check the individual fields, but maybe DBIx::Class is smarter on this ? Thanks -- erik ___ List:

Re: [Dbix-class] Rows

2012-07-27 Thread Erik Colson
Patrick Meidl patr...@pantheon.at writes: On Fri, Jul 27 2012, Erik Colson e...@ecocode.net wrote: How can I check if the contents of 2 Row Objects are identical ? I'm used to create a function to check the individual fields, but maybe DBIx::Class is smarter on this ? in ORM, identity

Re: [Dbix-class] DBF access ?

2008-01-28 Thread Erik Colson
On Fri, Jan 25, 2008 at 08:31:17AM +, Matt S Trout wrote: On Fri, Jan 25, 2008 at 07:52:20AM +0100, Erik Colson wrote: Hello I'm using DBIx::Class for accessing data in Mysql which does work great. I now would like to use DBIx::Class with DBF (Foxpro or DBase data files

Re: [Dbix-class] bug with find_or_new and update_or_insert, for postgres DB

2008-01-07 Thread Erik Colson
Erik Colson wrote: does this mean it is possible to do such a thing : $newrecord = $rs-new({id=DEFAULT}) ; and then $newrecord-insert ; would autoincrement id if id is defined as a primary key autoincrement ? Hate replying to myself ... but this seems to work with sqlite3

Re: [Dbix-class] bug with find_or_new and update_or_insert, for postgres DB

2008-01-07 Thread Erik Colson
such a thing : $newrecord = $rs-new({id=DEFAULT}) ; and then $newrecord-insert ; would autoincrement id if id is defined as a primary key autoincrement ? -- Erik Colson http://www.ecocode.net ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo