RE: [PEAR-DEV] Re: [binarycloud-dev] FW: lets talk "metapear" -politics aside:-)

From: Date: Wed, 20 Mar 2002 17:00:50 +0000
Subject: RE: [PEAR-DEV] Re: [binarycloud-dev] FW: lets talk "metapear" -politics aside:-)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5057@lists.php.net to get a copy of this message
> Aha! We're misunderstanding eachother, I'm talking about escaping > special characters in data before embedding it in the query. As for > types, yes you're right. Today PEAR's prepare emulation puts ampersands > and escapes only string data, so you have control over that by passing > data with the right PHP types. Ideally we should have some knowledge of > the types in the database, but I'm not sure if that is realistic. Well metabase can do both. Metabase has internal datatypes that it maps to RDBMS specific datatypes. These datatypes are used for prepared queries and can also be used for normal queries. Metabase is also aware of the escape characters for each RDBMS. Best regards, Lukas Smith smith@dybnet.de _______________________________ DybNet Internet Solutions GbR Alt Moabit 89 10559 Berlin Germany Tel. : +49 30 83 22 50 00 Fax : +49 30 83 22 50 07 www.dybnet.de info@dybnet.de _______________________________

« previous php.pear.dev (#5057) next »