Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-SQL-Abstract

Generate SQL from Perl data structures

This module was inspired by the excellent L<DBIx::Abstract>. However, in using that module I found that what I really wanted to do was generate SQL, but still retain complete control over my statement handles and use the DBI interface. So, I set out to create an abstract SQL generation module.

While based on the concepts used by L<DBIx::Abstract>, there are several important differences, especially when it comes to WHERE clauses. I have modified the concepts used to make the SQL easier to generate from Perl data structures and, IMO, more intuitive. The underlying idea is for this module to do what you mean, based on the data structures you provide it. The big advantage is that you don't have to modify your code every time your data changes, as this module figures it out.

Homepage:
Package version:1.57
Architecture:noarch
Distribution:RPMForge
Filename:perl-SQL-Abstract-1.57-1.el4.rf.noarch.rpm

/usr/share/man/man3/SQL::Abstract.3pm.gz

SQL::Abstract(3) User Contributed Perl DocumentationSQL::Abstract(3)



NAME
       SQL::Abstract - Generate SQL from Perl data structures

SYNOPSIS
           use SQL::Abstract;

           my $sql = SQL::Abstract->new;

           my($stmt, @bind) = $sql->select($table, \@fields, \%where, \@order);

           my($stmt, @bind) = $sql->insert($table, \%fieldvals ⎪⎪ \@values);

           my($
more»

/usr/share/man/man3/SQL::Abstract::Test.3pm.gz

SQL::Abstract::TeUser)Contributed Perl DocumenSQL::Abstract::Test(3)



NAME
       SQL::Abstract::Test - Helper function for testing
       SQL::Abstract

SYNOPSIS
         use SQL::Abstract;
         use Test::More;
         use SQL::Abstract::Test import => [qw/
           is_same_sql_bind is_same_sql is_same_bind
           eq_sql_bind eq_sql eq_bind
         /];

         my ($sql, @bind) = S
more»

Browse inside perl-SQL-Abstract-1.57-1.el4.rf.noarch.rpm

1.40 KB2014-11-29HEADER  view  16 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-SQL-Abstract-1.57-1.el4.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com