From: SourceForge.net <no...@so...> - 2005-03-16 10:21:04
|
Feature Requests item #1164293, was opened at 2005-03-16 08:53 Message generated for change (Comment added) made by redi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=357869&aid=1164293&group_id=7869 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Jonathan Wakely (redi) Summary: Prepared Statements & Escaping Initial Comment: Hi, I was wondering if the following 2 items are planned on being added to the API 1. prepared statements 2. escaping of values for a query (if this is done somewhere, and I can't find it, could you please describe it in the documentation?) Providing a valid email address per the instructions... jpellico [at] gmail.com ---------------------------------------------------------------------- >Comment By: Jonathan Wakely (redi) Date: 2005-03-16 10:21 Message: Logged In: YES user_id=426241 1. I have no plans for this at the moment, simply because I don't have the time to write it. 2. FieldType::sql(const std::string& val) will escape val if it decides the data needs escaping, which is true for string field-types. It also adds quotes. The escaping could/should be broken out into a separate function that users can call. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=357869&aid=1164293&group_id=7869 |