Apache-AxKit-Provider-RDBMS

 view release on metacpan or  search on metacpan

lib/Apache/AxKit/Provider/RDBMS.pm  view on Meta::CPAN


=item RDBMSContentProvider:

the really database content provider used. If not set defaults to "Apache::AxKit::Provider::RDBMS::ContentProvider::SQL"

=item DBIString:

the connection string used to connect to the database consult your DBD::*-manpage 
to find out how it should look like for your database

=item DBIQuery:

=over

=item PerlSetVar

You can use PerlSetVar in conjunction with A::A::P::RDBMS::ContentProvider::SQL to set the query
executed

=item PerlAddVar

You can use PerlAddVar in conjunction with A::A::P::RDBMS::ContentProvider::MultiSQL to set multiple queries.
The format passed in has to have the following look "queryname => SELECT .... "

=back

=back

=head2 The xml created by the provider

<!ELEMENT sql-results (sql-result+)>

<!ELEMENT sql-result ( row* )>

<!ATTLIST sql-result
                     name CDATA>

<!ELEMENT row (column+) >

<!ELEMENT column (#PCDATA)>

<!ATTLIST column
                 name CDATA>

=head1 SEE ALSO

=over

=item AxKit (http://axkit.org)

=item DBD::SQLite

=item DBI

=item Apache::DBI

=back

=head1 AUTHOR

Tom Schindl, <lt>tom.schindl@bestsolution.at<gt>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2005 by Tom Schindl

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
at your option, any later version of Perl 5 you may have available.


=cut



( run in 0.803 second using v1.01-cache-2.11-cpan-d7f47b0818f )