akagrawal3 has asked for the wisdom of the Perl Monks concerning the following question:
my @intervals = $poller_db->resultset('Aggregation')-> search({aggregation_interval => undef,})
In my Database, there are many tables of which 'aggregation' is one of them. In this table, there is a column named 'aggregation_interval'. I am using MySQL. Now I have the following questions: 1. What value is stored in @intervals 2. How is it possible to have 'Aggregation' in code and 'aggregation' table in database 3. What does 'undef' signify here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Database MySQL Perl
by shmem (Chancellor) on Feb 27, 2012 at 09:24 UTC | |
by akagrawal3 (Beadle) on Feb 27, 2012 at 09:44 UTC | |
|
Re: Database MySQL Perl
by CountZero (Bishop) on Feb 27, 2012 at 07:29 UTC | |
|
Re: Database MySQL Perl
by aaron_baugher (Curate) on Feb 27, 2012 at 12:13 UTC | |
by GrandFather (Saint) on Feb 27, 2012 at 21:20 UTC | |
by akagrawal3 (Beadle) on Feb 29, 2012 at 07:29 UTC |