You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Valentine Z." <vz...@spylog.ru> on 2003/06/09 20:55:31 UTC

is there any function like mysql_escape_string in esql?

Is there any way to tell the mysql driver escape strings passed with sql queries using
ESQL logicsheet or mod db?
__________________________________
Valentin. mailto:vz@spylog.com



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: is there any function like mysql_escape_string in esql?

Posted by Christian Haul <ha...@informatik.tu-darmstadt.de>.
Valentine Z. wrote:
> Is there any way to tell the mysql driver escape strings passed with sql queries using
> ESQL logicsheet or mod db?

mod db uses prepared statements thus the driver does the escaping 
automatically, ESQL can be told to use prepared statements as well by 
using esql:parameter, see the docs for details.

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org