[Dbix-class] Feature planning - DBP (was Re: Orders of Business)

2017-01-24 Thread Darren Duncan
So I'm now opening up a generic "feature planning" thread ostensibly in the manner that Matt requested. On 2017-01-24 4:06 PM, Matt S Trout wrote: Time to figure out what we need to do to get moving again. Note that I'm going to list a bunch of things below, with brief notes on each one - as

[Dbix-class] Calling enterprise/corporate users

2017-01-24 Thread Matt S Trout
For the past several years, Peter Rabbitson justified certain decisions he made by referring to enterprise/corporate users who'd talk to him privately about DBIx::Class and their desires for the future. Sadly, given the current situation, he preserved your privacy/off-the-record-ness by refusing

[Dbix-class] Orders of Business

2017-01-24 Thread Matt S Trout
Time to figure out what we need to do to get moving again. Note that I'm going to list a bunch of things below, with brief notes on each one - as you reply, please adjust the subject line to indicate which one you're responding to, and separate replies for each response. Hopefully that'll give us

Re: [Dbix-class] Count + having

2017-01-24 Thread Matt S Trout
On Tue, Jan 17, 2017 at 08:06:42AM +, RAPPAZ Francois wrote: > But this > $schema->resultset('Abo')->search_rs( > { > 'me.noabt' => $value_aref->[0], > }, > { select => ['me.noabt', {count => 'abojrnabt.noabt', -as => > 'count_abo'}],

Re: [Dbix-class] Moving load_components("InflateColumn::DateTime") to base class breaks cascade delete

2017-01-24 Thread Matt S Trout
On Mon, Jan 16, 2017 at 12:13:59PM +, James Gilbert wrote: > Hi, > > I followed this recipe: > > > https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/Manual/Cookbook.pod#Move-Common-Startup-into-a-Base-Class > > but when I do this the cascading deletes for my relationships

Re: [Dbix-class] SQL extension: INSERT ... ON CONFLICT

2017-01-24 Thread Matt S Trout
On Tue, Jan 10, 2017 at 06:39:46PM +0300, Alex Povolotsky wrote: > Hello > > Are there any provisions to make Postgres' INSERT ON CONFLICT > extension easier than rewrite all DBIx::Class or use literal insert? > > ON CONFLICT must be placed after VALUES (), before RETURNING The logical approach

Re: [Dbix-class] Please review my proposed CPAN Module: DBIx-Class-Schema-VersionCheck

2017-01-24 Thread Matt S Trout
On Tue, Jan 17, 2017 at 10:20:13PM -0600, Mike South wrote: > Hi Daniel, > > One comment I would make is that I think you should pick one word order and > stick with it for everything. Your module on github is named CheckVersion; > the perl code inside of it is named VersionCheck.pm; the

Re: [Dbix-class] unable to install via cpan

2017-01-24 Thread Matt S Trout
On Thu, Jan 05, 2017 at 08:55:52AM +0100, Luca Ferrari wrote: > Myabe I was in the middle of some system update and libraries were not > working? You'd somehow got a blead (i.e. dev/unstable) perl instead of a production quality one; that may have been a blip/bug that was only in one of them, or