RE: [PEAR-DEV] Re: [binarycloud-dev] FW: lets talk "metapear"-politics aside:-)
| From: | Lukas Smith | Date: | Wed, 20 Mar 2002 18:21:02 +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-5059@lists.php.net to get a copy of this message | ||
It has to be provided by the user.
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
_______________________________
> -----Original Message-----
> From: Stig S. Bakken [mailto:ssb@fast.no]
> Sent: Wednesday, March 20, 2002 7:22 PM
> To: Lukas Smith
> Cc: 'Stig S. Bakken'; 'John Lim'; pear-dev@lists.php.net; metabase-
> dev@yahoogroups.com; 'binarycloud-dev'
> Subject: RE: [PEAR-DEV] Re: [binarycloud-dev] FW: lets talk
"metapear"-
> politics aside:-)
>
> On Wed, 2002-03-20 at 18:00, Lukas Smith wrote:
> > > 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.
>
> Does Metabase have this information because of the XML table
definition
> files, or does it retrieve it from the database?
>
> - Stig