Matt S Trout wrote:
On Wed, May 13, 2009 at 03:18:20PM +0100, Chris Cole wrote:
Then we can make a start at helping you - currently your database is too
broken.
That's what's confusing me. How come the SQL works fine?
MyISAM == broken, unless you -really- know what you're doing. No foreign
Matt S Trout wrote:
On Wed, May 13, 2009 at 04:16:33PM +0100, Chris Cole wrote:
Chris Cole wrote:
David Ihnen wrote:
Apologies. I used the DBIx::Class::Schema::Loader module to load the
schema so I didn't have it explicitly. However, I got it to dump the
schema to file.
But I'm going to
Chris Cole wrote:
Matt S Trout wrote:
On Wed, May 13, 2009 at 03:18:20PM +0100, Chris Cole wrote:
Then we can make a start at helping you - currently your database is too
broken.
That's what's confusing me. How come the SQL works fine?
MyISAM == broken, unless you -really- know what you're
Hi,
Sorry if my question looks stupid, but I'd like to retrieve the
value of a count returned by an SQL query.
I tried different things but it always return 1
Here is the way I'd like it to work:
...
acc = $g-name(),
num = $c-model('Table')-search({'id' = $g-id},CODE
where I tried to replace
Emmanuel Quevillon wrote:
Hi,
Sorry if my question looks stupid, but I'd like to retrieve the
value of a count returned by an SQL query.
I tried different things but it always return 1
Here is the way I'd like it to work:
...
acc = $g-name(),
num = $c-model('Table')-search({'id' =
On Thu, 2009-05-14 at 14:16 +0200, Emmanuel Quevillon wrote:
I'd like to retrieve the value of a count returned by an SQL query.
acc = $g-name(),
num = $c-model('Table')-search({'id' = $g-id},CODE
where I tried to replace CODE with :
1- )-all()
2- { select =[{'count' = '*'}],as =
Peter Rabbitson wrote:
Emmanuel Quevillon wrote:
Hi,
Sorry if my question looks stupid, but I'd like to retrieve the
value of a count returned by an SQL query.
I tried different things but it always return 1
Here is the way I'd like it to work:
...
acc = $g-name(),
num =
Emmanuel Quevillon wrote:
Peter Rabbitson wrote:
Emmanuel Quevillon wrote:
Hi,
Sorry if my question looks stupid, but I'd like to retrieve the
value of a count returned by an SQL query.
I tried different things but it always return 1
Here is the way I'd like it to work:
...
acc =
Emmanuel Quevillon wrote:
Hi,
Sorry if my question looks stupid, but I'd like to retrieve the
value of a count returned by an SQL query.
I tried different things but it always return 1
Here is the way I'd like it to work:
...
acc = $g-name(),
num = $c-model('Table')-search({'id' =
Am 14.05.2009 um 14:16 schrieb Emmanuel Quevillon:
Hi,
Sorry if my question looks stupid, but I'd like to retrieve the
value of a count returned by an SQL query.
I tried different things but it always return 1
Here is the way I'd like it to work:
...
acc = $g-name(),
num =
On Thu, May 14, 2009 at 09:21:55AM +0100, Chris Cole wrote:
Chris Cole wrote:
Matt S Trout wrote:
On Wed, May 13, 2009 at 03:18:20PM +0100, Chris Cole wrote:
Then we can make a start at helping you - currently your database is too
broken.
That's what's confusing me. How come the SQL
Hi,
Given this schema:
package DB::Schema::Species;
use strict;
use warnings;
use base 'DBIx::Class';
__PACKAGE__-load_components(Core);
__PACKAGE__-table(species);
__PACKAGE__-add_columns(
species_id,
{
data_type = SMALLINT,
default_value = undef,
is_nullable = 0,
size =
Hi *,
can I do something like this:
package MySchema::Table;
# ...
__PACKAGE__-has_many( 'relationname' = ... );
---
use MySchema::Table;
my @relations = MySchema::Table-get_relations; # 'relationname'
- Renée
--
Perl-Magazin: http://perl-magazin.de
Perl-Nachrichten:
* Matt S Trout dbix-cl...@trout.me.uk [090514 08:49]:
On Wed, May 13, 2009 at 12:10:18PM -0700, Marc Mims wrote:
Ok. So, now how to fix it?
I need a unique filename to deflate to, but I only want to create it
once. Rather than using the deflated value {_column_data}{$column}, I
can
14 matches
Mail list logo