DB-abstracted database search
| From: | Peter TB Brett | Date: | Thu, 14 Feb 2002 08:11:20 +0000 |
| Subject: | DB-abstracted database search | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-854@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm attempting to add complete database abstraction using PEAR::DB to
an application I'm working on.
However, as I only have MySQL I'm having problems making sure that my
queries are abstractable. The query I'm especially having problems
with is a query to search the database.
For instance, is it okay to use 'where table.row like("foo_bar%")'?
Will that work on any SQL server? Is there a PEAR function to
construct database-abstracted searches?
Thanks in advance,
Peter Brett
Thanks in
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPGtxJBmmzLp5+kKBEQKA1ACeN3LRsIIhfBo0ovnmJJJ7gPyG5BUAoNCh
aw9PWY6HxmyhhWAba8x7wVVg
=838B
-----END PGP SIGNATURE-----
STANDARD DISCLAIMER
E-mail communication is not secure and can easily be forged or tampered with during transmission.
This message appears to originate from The Oratory School Association, but does not necessarily
represent the opinions of the Association, its employees or students. Should you have any concerns
regarding the content of this message then please contact postmaster@oratory.co.uk