Add pear-MDB_QueryTool 1.0.0, PEAR OO-interface for easily

retrieving and modifying data in a DB.

PR:		78368
Submitted by:	Antônio Carlos Venâncio Júnior
This commit is contained in:
Thierry Thomas 2005-03-07 20:31:11 +00:00
parent d516fc25f3
commit 8962a7d4a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130556
4 changed files with 59 additions and 0 deletions

View file

@ -217,6 +217,7 @@
SUBDIR += pear-DB_QueryTool
SUBDIR += pear-MDB
SUBDIR += pear-MDB2
SUBDIR += pear-MDB_QueryTool
SUBDIR += pear-sqlite
SUBDIR += pecl-memcache
SUBDIR += pgaccess

View file

@ -0,0 +1,43 @@
# Ports collection makefile for: pear-MDB_QueryTool
# Date created: 03 March 2005
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#
PORTNAME= MDB_QueryTool
PORTVERSION= 1.0.0
CATEGORIES= databases www pear
MAINTAINER= antonio@php.net
COMMENT= PEAR OO-interface for easily retrieving and modifying data in a DB
BUILD_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB \
${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= MDB
FILES= QueryTool.php QueryTool/Query.php QueryTool/EasyJoin.php \
QueryTool/Result.php QueryTool/Result/Object.php
EXAMPLES= example.php mysql.sql pgsql.sql
TESTS= Common.php index.php Get.php GetAll.php GetCount.php GetQueryString.php \
Having.php Limit.php SetDbInstance.php sql.php UnitTest.php Where.php \
simpletest_tests/all_tests.php simpletest_tests/db_settings.php \
simpletest_tests/index.php simpletest_tests/mdb_querytool_include.php \
simpletest_tests/mdb_querytool_test_base.php \
simpletest_tests/mdb_querytool_testDbInstance.php \
simpletest_tests/mdb_querytool_testGet.php \
simpletest_tests/mdb_querytool_testGetAll.php \
simpletest_tests/mdb_querytool_testGetCount.php \
simpletest_tests/mdb_querytool_testGetQueryString.php \
simpletest_tests/mdb_querytool_testHaving.php \
simpletest_tests/mdb_querytool_testLimit.php \
simpletest_tests/mdb_querytool_tests_get.php \
simpletest_tests/mdb_querytool_tests_usage.php \
simpletest_tests/mdb_querytool_testWhere.php simpletest_tests/readme.txt \
simpletest_tests/simple_include.php
_EXAMPLESDIR= docs/examples
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (PEAR/MDB_QueryTool-1.0.0.tgz) = 238d5fe63c504228c49875600a87af87
SIZE (PEAR/MDB_QueryTool-1.0.0.tgz) = 38935

View file

@ -0,0 +1,13 @@
PEAR::MDB_QueryTool is an OO-abstraction to the SQL-Query language, it provides
methods such as setWhere, setOrder, setGroup, setJoin, etc. to easily build
queries.
It also provides an easy to learn interface that interacts nicely with
HTML-forms using arrays that contain the column data, that shall be
updated/added in a DB. This package bases on an SQL-Builder which lets you
easily build SQL-Statements and execute them.
NB: this is a PEAR::MDB porting from the original DB_QueryTool written by
Wolfram Kriesing and Paolo Panto (vision:produktion, wk@visionp.de).
WWW: http://pear.php.net/package/MDB_QueryTool/