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

FreeBSD Manual Pages

  
 
  

home | help
Autodia::Handler::SQL(User Contributed Perl DocumentatAutodia::Handler::SQL(3)

NAME
       Autodia::Handler::SQL.pm	- AutoDia handler for SQL

INTRODUCTION
       Autodia::Handler::SQL parses files into a Diagram Object, which all
       handlers	use. The role of the handler is	to parse through the file
       extracting information such as table names, field names,	relationships
       and keys.

       SQL is registered in the	Autodia.pm module, which contains a hash of
       language	names and the name of their respective language	- in this
       case:

       %language_handlers = { .. , sql => "Autodia::Handler::SQL", .. };

CONSTRUCTION METHOD
       use Autodia::Handler::SQL;

       my $handler = Autodia::Handler::SQL->New(\%Config); This	creates	a new
       handler using the Configuration hash to provide rules selected at the
       command line.

ACCESS METHODS
       $handler->Parse(filename); # where filename includes full or relative
       path.

       This parses the named file and returns 1	if successful or 0 if the file
       could not be opened.

       $handler->output();

       This outputs the	Dia XML	file according to the rules in the %Config
       hash passed at initialisation of	the object. It also allows you to
       output VCG, Dot or images rendered through GraphViz and VCG.

perl v5.24.1			  2011-05-23	      Autodia::Handler::SQL(3)

NAME | INTRODUCTION | CONSTRUCTION METHOD | ACCESS METHODS

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

home | help