DB-Ent

 view release on metacpan or  search on metacpan

Ent.pm  view on Meta::CPAN

Entity factory methods concern the binding of perl objects to datastore items.  This includes insertion, discovery and retrieval methods as well as entity-factory configuration methods.  This category includes the following:

=head2 <entity-factory> <err> = new [hash[-ref]]

Before entities can be created and managed, an entity factory must be instantiated.  This method returns such an object and receives two kinds of parameters: connection parameters, and configuration parameters.  If any error is encountered the method...

Parameters are all passed as a hash or hash reference whose keys are described below:

I<Connection Parameters>

To establish a connection to a datastore, the caller must pass credentials.  These may be passed either in URL syntax and/or as separate keys.  Any information passed separately overrides the appropriate value in the URL.  If no connection informatio...

=over

=item DBED

Indicates the low-level driver to use.  At present this value defaults to and can only be set to C<DBI>.  As other low level drivers are written, their names may be passed here.

=item URL

Specifies a connection URL of the form: I<proto://[user[:pass]@][host[/database]]> where the items indicated in brackets are optional and which may be passed separately as described below.



( run in 0.246 second using v1.01-cache-2.11-cpan-4d50c553e7e )