Why not adopt me?
NAME
Google::Fusion::Result - A Query result
VERSION
Version 0.02
SYNOPSIS
my $fusion = Google::Fusion->new( %fusion_params );
# Get the result for a query
my $result = $fusion->query( $sql );
# Print out the rows returned
foreach( @{ $result->rows } ){
print join( ',', @{ $_ } ) . "\n";
}
PARAMS/ACCESSORS
- query <Str>
-
The query string
- response <HTTP::Response>
-
The response object associated with the query
- error <Str>
-
Error string, if an error occurred
- num_columns <Int>
-
Number of columns the result has
- num_rows <Int>
-
Number of rows this result has (excluding headers).
- max_lengths <ArrayRef[Int]>
-
Array of the maximum lengths of fields for each column
- has_headers <Bool>
-
True if this result has headers
- query_time <Num>
-
Seconds (using Time::HiRes) the query took
- auth_time <Num>
-
Seconds (using Time::HiRes) the authentication part of the query took
- total_time <Num>
-
Total time for the query
- rows <ArrayRef[ArrayRef]>
-
The actual results
- columns <ArrayRef>
-
The column names (if has_headers is true).
AUTHOR
Robin Clarke, <perl at robinclarke.net>
LICENSE AND COPYRIGHT
Copyright 2011 Robin Clarke.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 111:
You forgot a '=back' before '=head1'