BSD Ports

databases/p5-SQL-Abstract-Classic 1.91 MidnightBSD

Generate SQL from Perl data structures

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl
Categories
databases, perl5

Description

SQL::Abstract::Classic was inspired by the excellent 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 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.

In the other systems

SystemPortVersion
MidnightBSDdatabases/p5-SQL-Abstract-Classic1.91
FreeBSDdatabases/p5-SQL-Abstract-Classic1.91
OpenBSDdatabases/p5-SQL-Abstract-Classic1.91
NetBSDdatabases/p5-SQL-Abstract-Classic1.91nb7
DragonFlydatabases/p5-SQL-Abstract-Classic1.91

Install

Binary package:

mport install p5-SQL-Abstract-Classic

From mports:

cd /usr/mports/databases/p5-SQL-Abstract-Classic && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-SQL-Abstract-Classic>0:databases/p5-SQL-Abstract-Classic

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/SQL/Abstract/Classic.pm
  • %%SITE_PERL%%/SQL/Abstract/Util.pm
  • %%PERL5_MAN3%%/SQL::Abstract::Classic.3.gz
  • %%PERL5_MAN3%%/SQL::Abstract::Util.3.gz
distinfo 1
FileSizeSHA256
SQL-Abstract-Classic-1.91.tar.gz784664e3d1dfd095b2123268586bb06b86929ea571388d4e941acccbdcda1e108ef28
Master sites 1
  • CPAN