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 a1fdd82 commit 059bea3Copy full SHA for 059bea3
lib/Model.php
@@ -826,6 +826,7 @@ private function insert($validate=true)
826
if (($conn = static::connection()) instanceof OciAdapter)
827
{
828
// terrible oracle makes us select the nextval first
829
+ /** @var OciAdapter $conn */
830
$attributes[$pk] = $conn->get_next_sequence_value($table->sequence);
831
$table->insert($attributes);
832
$this->attributes[$pk] = $attributes[$pk];
0 commit comments