diff options
| author | 2013-05-07 22:19:53 +0000 | |
|---|---|---|
| committer | 2013-05-07 22:19:53 +0000 | |
| commit | af48d710c88fd01f935355a8b47046d99318d5ff (patch) | |
| tree | 45fe40e21de71d4a6eda0a425a65852ce0fd1089 /src/modules/objects/KvsObject_sql.cpp | |
| parent | fix #1385 so Sfagzilla shuts up once and for all (diff) | |
| download | KVIrc-af48d710c88fd01f935355a8b47046d99318d5ff.tar.gz KVIrc-af48d710c88fd01f935355a8b47046d99318d5ff.tar.bz2 KVIrc-af48d710c88fd01f935355a8b47046d99318d5ff.zip | |
fix sql object documentation
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6329 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/KvsObject_sql.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_sql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/objects/KvsObject_sql.cpp b/src/modules/objects/KvsObject_sql.cpp index 6f2b0725c..d8e6dc851 100644 --- a/src/modules/objects/KvsObject_sql.cpp +++ b/src/modules/objects/KvsObject_sql.cpp @@ -56,7 +56,7 @@ @description: This class permits KVIrc to have an interface with a SQL database supported by Qt library drivers. @functions: - !fn: <boolean> $setConnection(<connection_name:string>,<database_name:string>,[<user:string>,<host_name_string>,<password:string>,<database_driver:string>]) + !fn: <boolean> $setConnection(<database_name:string>,<connection_name:string>,[<user:string>,<host_name_string>,<password:string>,<database_driver:string>]) Connects to the DBMS using the connection <connection_name> and selecting the database <database_name>.[br] If the optional parameter <database_driver> is passed, it will be used the corresponding driver (if present), otherwise Sqlite will be used. Returns true if the operation is successful, false otherwise. @@ -88,7 +88,7 @@ Prepare the query <query> to execute. The string must follow the right syntax against the database in use. It's possible to use the placeholders. It's supported either the identifier ':' and '?' but it's not possible to use them together. Returns true if the operation is successful, false otherwise. - See also [classfnc]$queryExec[/classfnc]and[classfnc]$queryBindValue[/classfnc. + See also [classfnc]$queryExec[/classfnc]and[classfnc]$queryBindValue[/classfnc]. !fn: $queryBindValue() Sets the placeholder <placeholder> to be bound to the value <val> in the prepared statement. Note that the placeholder mark (e.g :) must be included when specifing the placeholder name. |
