We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd65370 commit 92fde4bCopy full SHA for 92fde4b
src/Query/Grammars/DB2Grammar.php
@@ -193,4 +193,15 @@ public function compileRandom($seed)
193
{
194
return "RAND($seed)";
195
}
196
+
197
+ /**
198
+ * Compile the SQL statement to define a savepoint.
199
+ *
200
+ * @param string $name
201
+ * @return string
202
+ */
203
+ public function compileSavepoint($name)
204
+ {
205
+ return 'SAVEPOINT '.$name.' ON ROLLBACK RETAIN CURSORS';
206
+ }
207
0 commit comments