Name : perl-XML-Generator-DBI
| |
Version : 1.00
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.6.1
| Date : 2023-01-27 16:47:47
|
Group : Development/Libraries/Perl
| Source RPM : perl-XML-Generator-DBI-1.00-lp154.6.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Generate SAX events from SQL queries
|
Description :
This module generates SAX events from SQL queries against a DBI connection.
The default XML structure created is as follows:
< database> < select> < row> < column1>1< /column1> < column2>fubar< /column2> < /row> < row> < column1>2< /column1> < column2>intravert< /column2> < /row> < /select> < /database>
Alternatively, pass the option AsAttributes => 1 to either the execute() method, or to the new() method, and your XML will look like:
< database> < select> < row column1=\"1\" column2=\"fubar\"/> < row column1=\"2\" column2=\"intravert\"/> < /select> < /database>
Note that with attributes, ordering of columns is likely to be lost, but on the flip side, it may save you some bytes.
Nulls are handled by excluding either the attribute or the tag.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-X/15.4/noarch |