File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -94,21 +94,21 @@ It is possible to retain and reuse statments this will keep the query plan and i
94
94
ps << tmp;
95
95
96
96
// now you can execute it with `operator>>` or `execute()`.
97
- // If the statment was executed once it will not be executed again when it goes out of scope.
97
+ // If the statement was executed once it will not be executed again when it goes out of scope.
98
98
// But beware that it will execute on destruction if it wasn't executed!
99
99
ps >> [&](int a,int b){ ... };
100
100
101
101
// after a successfull execution the statment needs to be reset to be execute again. This will reset the bound values too!
102
- ps. reset();
102
+ ps-> reset();
103
103
104
104
// If you dont need the returned values you can execute it like this
105
- ps. execute(); // the statment will not be reset!
105
+ ps-> execute(); // the statment will not be reset!
106
106
107
107
// there is a convinience operator to execute and reset in one go
108
108
ps++;
109
109
110
110
// To disable the execution of a statment when it goes out of scope and wasn't used
111
- ps. used(true); // or false if you want it to execute even if it was used
111
+ ps-> used(true); // or false if you want it to execute even if it was used
112
112
113
113
// Usage Example:
114
114
You can’t perform that action at this time.
0 commit comments