BSD Ports

databases/p5-SQL-Abstract-Classic 1.91 OpenBSD

generate SQL from Perl data structures

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Wen Heping <[email protected]>
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
OpenBSDdatabases/p5-SQL-Abstract-Classic1.91
FreeBSDdatabases/p5-SQL-Abstract-Classic1.91
NetBSDdatabases/p5-SQL-Abstract-Classic1.91nb7
DragonFlydatabases/p5-SQL-Abstract-Classic1.91
MidnightBSDdatabases/p5-SQL-Abstract-Classic1.91

Install

Binary package:

pkg_add p5-SQL-Abstract-Classic

From the ports tree:

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

Dependencies

Build dependencies 1
Run dependencies 2