|
fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
|
Represents options used when preparing a Statement. More...
#include <Statement.h>
Public Member Functions | |
| bool | getPrefetchLegacyPlan () const |
| Reports whether the legacy textual plan should be prefetched during prepare. | |
| StatementOptions & | setPrefetchLegacyPlan (bool value) |
| Enables or disables prefetching of the legacy textual plan at prepare time. | |
| bool | getPrefetchPlan () const |
| Reports whether the structured plan should be prefetched during prepare. | |
| StatementOptions & | setPrefetchPlan (bool value) |
| Enables or disables prefetching of the structured plan at prepare time. | |
| const std::optional< std::string > & | getCursorName () const |
| Returns the cursor name to be set for the statement. | |
| StatementOptions & | setCursorName (const std::string &value) |
| Sets the cursor name for the statement. | |
| CursorType | getCursorType () const |
| Returns the cursor type to be used when opening a result set. | |
| StatementOptions & | setCursorType (CursorType value) |
| Sets the cursor type used when opening a result set. | |
Represents options used when preparing a Statement.
Definition at line 88 of file Statement.h.
|
inline |
Returns the cursor name to be set for the statement.
Definition at line 132 of file Statement.h.
|
inline |
Returns the cursor type to be used when opening a result set.
Definition at line 151 of file Statement.h.
|
inline |
Reports whether the legacy textual plan should be prefetched during prepare.
Definition at line 94 of file Statement.h.
|
inline |
Reports whether the structured plan should be prefetched during prepare.
Definition at line 113 of file Statement.h.
|
inline |
Sets the cursor name for the statement.
| value | The name of the cursor. |
Definition at line 142 of file Statement.h.
|
inline |
Sets the cursor type used when opening a result set.
| value | FORWARD_ONLY for streaming access, SCROLLABLE for bidirectional navigation. |
Definition at line 161 of file Statement.h.
|
inline |
Enables or disables prefetching of the legacy textual plan at prepare time.
| value | true to prefetch the legacy plan, false to skip it. |
Definition at line 104 of file Statement.h.
|
inline |
Enables or disables prefetching of the structured plan at prepare time.
| value | true to prefetch the optimized plan, false to skip it. |
Definition at line 123 of file Statement.h.