Query class.
More...
#include <Query.h>
|
|
virtual | ~Query () |
| | Destructor.
|
| ResultSet * | Execute (const std::wstring &stmt, bool_t reiterable=false) |
| | Executes the given statement.
|
| QueryStream * | SetStream (const std::wstring &stream, QueryStream *handler) |
| | Sets a query stream handler Query streams handlers are created and destroyed by the caller.
|
| void | SetDynamic (const std::wstring &name, Value &value) |
| | Sets the value for a dynamic paramater.
|
|
|
class | Session |
|
class | QueryContext |
◆ Execute()
| ResultSet * Query::Execute |
( |
const std::wstring & | stmt, |
|
|
bool_t | reiterable = false ) |
Executes the given statement.
- Parameters
-
| stmt | [in] Query statement. |
| reiterable | [in] Whether we want the resultset to be reiterable or not |
- Returns
- A ResultSet instance with the contents of the result of the query.
◆ SetDynamic()
| void Query::SetDynamic |
( |
const std::wstring & | name, |
|
|
Value & | value ) |
Sets the value for a dynamic paramater.
- Parameters
-
| name | [in] Parameter name |
| value | [in] Parameter value |
◆ SetStream()
Sets a query stream handler Query streams handlers are created and destroyed by the caller.
- Deprecated
- QueryStreams should be handled by a QueryStreamManager setup at database level instead.
- Parameters
-
| stream | [in] The stream name |
| handler | [in] Query stream handler |
- Returns
- The previous handler, or NULL if it does not exists
The documentation for this class was generated from the following file: