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:
parent
2b4ce32f23
commit
23fc14c742
27
databases/p5-SQL-Abstract-Classic/Makefile
Normal file
27
databases/p5-SQL-Abstract-Classic/Makefile
Normal 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>
|
2
databases/p5-SQL-Abstract-Classic/distinfo
Normal file
2
databases/p5-SQL-Abstract-Classic/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (SQL-Abstract-Classic-1.91.tar.gz) = Tj0d/QlbISMmhYa7BrhpKepXE4jU6UGszL3NoeEI7yg=
|
||||
SIZE (SQL-Abstract-Classic-1.91.tar.gz) = 78466
|
12
databases/p5-SQL-Abstract-Classic/pkg/DESCR
Normal file
12
databases/p5-SQL-Abstract-Classic/pkg/DESCR
Normal 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.
|
5
databases/p5-SQL-Abstract-Classic/pkg/PLIST
Normal file
5
databases/p5-SQL-Abstract-Classic/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user