summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-02-24 10:54:38 +0000
committerlsces <lester@lsces.co.uk>2026-02-24 10:54:38 +0000
commitf03fc2a1a747fde52c5f5f39e59037cc6c8e675a (patch)
tree77fd93e3b1cdc3a7a60e37eff545340bf998f342 /src
parentc302476816c82f123298fd3cd93c87e2ffee047d (diff)
downloadilluminate-firebird-f03fc2a1a747fde52c5f5f39e59037cc6c8e675a.tar.gz
illuminate-firebird-f03fc2a1a747fde52c5f5f39e59037cc6c8e675a.tar.bz2
illuminate-firebird-f03fc2a1a747fde52c5f5f39e59037cc6c8e675a.zip
Actually allow access to the lastInsertId ...
Diffstat (limited to 'src')
-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