List:MySQL++« Previous MessageNext Message »
From:Noud de Beijer Date:February 12 2008 4:07pm
Subject:Re: How to use mysqlpp::quote?
View as plain text  
> ...and 
also 
the 
line 
break 
feature 
in 
your 
email 
client, 
apparently.

Huh?

> The 
only 
way 
for 
the 
quote 
manipulator 
to 
be 
smart 
enough 
to 
choose 
> which 
quoting 
style 
to 
use 
based 
on 
context 
would 
be 
to 
add 
a 
full 
SQL 
> query 
parser 
to 
MySQL++.  
Since 
that 
would 
be 
an 
unreasonable 
use 
of 
> programmer 
time, 
the 
rule 
is 
very 
simple: 
mysqlpp::quote 
single-quotes 
> items.  
It's 
used 
for 
quoting 
values 
in 
queries, 
not 
column 
or 
table 
names.
> 
> I've 
added 
an 
item 
to 
the 
Wishlist 
for 
a 
backtick 
manipulator.  
In 
the 
> meantime, 
you 
can 
add 
them 
easily 
enough 
by 
hand.

Thanks for that. Just wanted to
> make sure I didn't miss anything...

Regs,

Noud

-- 
MySQL++ 
Mailing 
List
For 
list
> 
archives: 
http://lists.mysql.com/plusplus
To 
unsubscribe:  
 
> 
http://lists.mysql.com/plusplus?unsub=1






     
> __________________________________________________________
Sent from Yahoo! Mail - a
> smarter inbox http://uk.mail.yahoo.com

Thread
How to use mysqlpp::quote?Noud de Beijer12 Feb
  • Re: How to use mysqlpp::quote?Warren Young12 Feb
Re: How to use mysqlpp::quote?Noud de Beijer12 Feb
  • Re: How to use mysqlpp::quote?Warren Young12 Feb