SQL::TidySQL::Tidy is a Perl module to tidy up SQL statements. | |
Download |
SQL::Tidy Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dmitri Tikhonov
- Publisher web site:
- http://search.cpan.org/~dams/RT-Client-REST-0.34/lib/RT/Client/REST/Object.pm
SQL::Tidy Tags
SQL::Tidy Description
SQL::Tidy is a Perl module to tidy up SQL statements. SQL::Tidy is a Perl module to tidy up SQL statements.SYNOPSYS use SQL::Tidy; my $tidy = SQL::Tidy->new; print $tidy->tidy("select xyz from abc");SQL::Tidy will (hopefully) make your SQL statement look prettier.METHODSnewConstructor. It can take a bunch of options (see OPTIONS below).tidyTakes an SQL statement (a string) and returns a tidied up version of the same.add_keywords(qw(keyword1 keyword2))Add keywords to those already in the instance.OPTIONSThe options can be either passed to the constructor or be changed later as method calls on the tidy object: # One way $tidy = SQL::Tidy->new(width => 75); # Another way $tidy->width(75);indentSpecifies the indent string. The default is two spaces, ' '.keywordsAn array reference to override the default list of keywords.marginStart each new line with this string. The default it an empty string.widthPage width. The default is 75 characters. Requirements: · Perl
SQL::Tidy Related Software