Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Teng::Schema::Loader(3User Contributed Perl DocumentatiTeng::Schema::Loader(3)

NAME
       Teng::Schema::Loader - Dynamic Schema Loader

SYNOPSIS
	   use Teng;
	   use Teng::Schema::Loader;

	   my $teng = Teng::Schema::Loader->load(
	       dbh	 => $dbh,
	       namespace => 'MyAPP::DB'
	   );

DESCRIPTION
       Teng::Schema::Loader loads schema directly from DB.

CLASS METHODS
       Teng::Schema::Loader->load(%attr)
	   This	is the method to load schema from DB. It returns the instance
	   of the given	"namespace" class which	inherits Teng.

	   The arguments are:

	   "dbh"
	       Database	handle from DBI.

	   namespace
	       your project name space.

perl v5.32.1			  2021-03-01	       Teng::Schema::Loader(3)

NAME | SYNOPSIS | DESCRIPTION | CLASS METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Teng::Schema::Loader&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help