Import p5-SQL-Abstract-Classic

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.

From MAINTAINER wen heping <wenheping2000 () hotmail ! com>
OK benoit@
This commit is contained in:
afresh1 2020-08-19 02:21:17 +00:00
parent 2b4ce32f23
commit 23fc14c742
4 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/08/19 02:21:17 afresh1 Exp $
COMMENT = generate SQL from Perl data structures
DISTNAME = SQL-Abstract-Classic-1.91
CATEGORIES = databases
MAINTAINER = Wen Heping <wenheping2000@hotmail.com>
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
RUN_DEPENDS = databases/p5-SQL-Abstract>=1.79 \
devel/p5-MRO-Compat>=0.12
TEST_DEPENDS = devel/p5-Test-Deep>=0.101 \
devel/p5-Test-Exception>=0.31 \
devel/p5-Test-Warn
CONFIGURE_STYLE = modinst
PKG_ARCH = *
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (SQL-Abstract-Classic-1.91.tar.gz) = Tj0d/QlbISMmhYa7BrhpKepXE4jU6UGszL3NoeEI7yg=
SIZE (SQL-Abstract-Classic-1.91.tar.gz) = 78466

View File

@ -0,0 +1,12 @@
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.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/08/19 02:21:17 afresh1 Exp $
${P5SITE}/SQL/Abstract/Classic.pm
${P5SITE}/SQL/Abstract/Util.pm
@man man/man3p/SQL::Abstract::Classic.3p
@man man/man3p/SQL::Abstract::Util.3p