Home » U++ Library support » U++ SQL » SQLITE3: Bind parameter by name
SQLITE3: Bind parameter by name [message #26575] |
Wed, 12 May 2010 15:55 |
|
Hello all,
How about to implement in SQLITE bind parameter by name? not only by index.
example of sqlite text:
"SELECT * from sqlite_master where type=table and name =:table_name"
in SQL class need to add meber:
Sql::SetParamName(String p_name, int p_index);
or add direct:
Sql::SetParam(int i, const Value& val, String p_name)
or
Sql::SetParam(String p_name, const Value& val) // auto increment parameter index
by using:
const char *sqlite3_bind_parameter_name(sqlite3_stmt*, int);
Can I add this functionality and propose for adding in library?
Any opinion are welcome!
Best regards, Ion Lupascu (tojocky)
[Updated on: Wed, 12 May 2010 15:57] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jun 16 00:34:49 CEST 2024
Total time taken to generate the page: 0.02257 seconds
|