it will just
never work correctly
--
Guillermo Roditi (groditi)
___
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
On Mon, Feb 23, 2009 at 6:45 PM, Guillermo Roditi grod...@gmail.com wrote:
$schema-deploy({...}, $dir);
is supposed to look in $dir for a DDL file that matches -ddl_filename. The
problem is that if you store your DDL file with a version number then deploy
won't find it because there's no way
--
Guillermo Roditi (groditi)
___
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
');
}
This has worked before and is now broken. I confirmed that this was
supported on 0.08010
--
Guillermo Roditi (groditi)
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http
of the issue, but it seems to be
the change would have to have happened in either new, or set_column.
--
Guillermo Roditi (groditi)
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http
.
Thanks again,
--
Guillermo Roditi (groditi)
___
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
sub restrict_Foo_resultset {
my ($self, $fullset) = @_;
my $keys = [ keys %{ $self-{hash} } ];
my $restricted = $fullset-search({ id = {'-in' = $keys } });
return $restricted;
}
--Guillermo Roditi (groditi)
On Mon, Mar 3, 2008 at 9:00 PM, James R. Leu [EMAIL PROTECTED] wrote
I attach a patch (against
http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/trunk) that
does more or less that - when you specify the unique key it ignores
all columns from the query that don't belong to it (
I find this to be desired behavior Zbigniew Lukasiak++
The current DBIx::Class::Schema::Loader mysql driver hs just added
some really nice new features. I suggest you grab the latest version
from SVN or the devel release
(http://search.cpan.org/~ilmari/DBIx-Class-Schema-Loader-0.04999_01/)
--Guillermo Roditi (groditi)
On Feb 8, 2008 9:30 AM, Frazer
and skip encoding or encode the dereferenced
value in scalar references
-If the value is blessed attempt to look for a stringify function,
otherwise just ignore
-ignore everything else (don't encode)
Any ideas, suggestions or else?
--Guillermo Roditi
= 10,
default_value = ,
is_nullable = 0,
extra = { unsigned = 1 },
is_foreign_key = 1,
},
);
__PACKAGE__-set_primary_key(vhost1_id, vhost2_id);
--Guillermo Roditi (groditi
So
$photos-search({ owned_by = $uid })-find({ id = $photo_id })
has to include the WHERE owned_by = $uid even if the find specifies
key = 'primary'.
However, we -can- ignore keys passed in the find hash. But I'm not sure
we should, except in case of a *_or_* call.
Thoughts, people?
I
OK! DBIx-Class-EncodedColumn-0.1_02 is on the CPAN and svn!
Please take a look at it, or at least the docs if you currently use
DigestColumns.
--Guillermo Roditi (groditi)
On Jan 30, 2008 1:45 PM, Hartmaier Alexander
[EMAIL PROTECTED] wrote:
I don't get the difference to deflating
AND knew that DigestColumns
existed (you linked to the POD) and you couldn't just submit a patch
or ask for a commit bit to add the 3 lines it would habve taken to
support salts? *sigh*
--Guillermo Roditi (groditi)
PS I realize it's my fault for forgetting to include salt support, but
seriously
On Jan 29, 2008 6:52 PM, Guillermo Roditi [EMAIL PROTECTED] wrote:
Please see working draft, with tests and docs at:
DBIx::Class::EncodedColumn available in the BAST repo and as a dev
release on CPAN (should hit your mirror shortly).
I forgot Digest support for salts AGAIN. Will add the code
}'));
or override set_column to do this bit for you.
sub set_column{
my($self,$column, $value) = @_;
if($column eq 'password' defined $value ){
$value = \'FUNCTION( '.$value.')';
}
$self-next::method($column, $value);
}
--Guillermo Roditi (groditi
::Bcrypt,
encode_args =
{
#salt gets generated automatically for this one
cost = 8,
key_nul = 1,
check_method = 'check_password',
}
--Guillermo Roditi
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC
Two down, there's still 2-4 out there!
Still available:
-- is_foreign_key = 1
-- making CURRENT_TIMESTAMP translate to using DBIx::Class::TimeStamp
--groditi
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC:
::Class::Schema::Loader.
First come first serve!!
For payment on completion please email [EMAIL PROTECTED] or look for
me in #dbix-class (groditi)
I hope someone takes this.
--Guillermo Roditi
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo
19 matches
Mail list logo