summaryrefslogtreecommitdiff
path: root/src/FirebirdConnection.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/FirebirdConnection.php')
-rwxr-xr-xsrc/FirebirdConnection.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/FirebirdConnection.php b/src/FirebirdConnection.php
index 92640af..8695799 100755
--- a/src/FirebirdConnection.php
+++ b/src/FirebirdConnection.php
@@ -64,7 +64,17 @@ class FirebirdConnection extends DatabaseConnection
return new FirebirdSchemaGrammar($this); // $this->withTablePrefix()
}
- /**
+ /**
+ * Get the connection's last insert ID.
+ *
+ * @return string|int|null
+ */
+ public function getLastInsertId()
+ {
+ return $this->lastInsertId;
+ }
+
+ /**
* Get a new query builder instance.
*
* @return \Xgrz\Firebird\Query\Builder