Rose::DB::Registry::Entry(3pm) | User Contributed Perl Documentation | Rose::DB::Registry::Entry(3pm) |
Rose::DB::Registry::Entry - Data source registry entry.
use Rose::DB::Registry::Entry; $entry = Rose::DB::Registry::Entry->new( domain => 'production', type => 'main', driver => 'Pg', database => 'big_db', host => 'dbserver.acme.com', username => 'dbadmin', password => 'prodsecret', server_time_zone => 'UTC'); Rose::DB->register_db($entry); # ...or... Rose::DB->registry->add_entry($entry); ...
"Rose::DB::Registry::Entry" objects store information about a single Rose::DB data source. See the Rose::DB documentation for more information on data sources, and the Rose::DB::Registry documentation to learn how "Rose::DB::Registry::Entry" objects are managed.
"Rose::DB::Registry::Entry" inherits from, and follows the conventions of, Rose::Object. See the Rose::Object documentation for more information.
If a reference to a hash is passed, it replaces the connect options hash. If a series of name/value pairs are passed, they are added to the connect options hash.
Returns a reference to the hash of options in scalar context, or a list of name/value pairs in list context.
MySQL
These attributes should only be used with registry entries where the driver is "mysql".
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::mysql documentation to learn more about this attribute.
PostgreSQL
These attributes should only be used with registry entries where the driver is "pg".
This value will be passed to DateTime::Format::Pg as the value of the "european" parameter in the call to the constructor "new()". This DateTime::Format::Pg object is used by Rose::DB::Pg to parse and format date-related column values in methods like parse_date, format_date, etc.
Returns the value of this attribute in the dbh, if one exists, or the value that will be set when the dbh is next created.
See the DBD::Pg documentation to learn more about this attribute.
SQLite
These attributes should only be used with registry entries where the driver is "sqlite".
If false, and if the specified database does not exist, then a fatal error will occur when an attempt is made to connect to the database.
John C. Siracusa (siracusa@gmail.com)
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2023-03-04 | perl v5.36.0 |