From f03fc2a1a747fde52c5f5f39e59037cc6c8e675a Mon Sep 17 00:00:00 2001 From: lsces Date: Tue, 24 Feb 2026 10:54:38 +0000 Subject: Actually allow access to the lastInsertId ... --- src/FirebirdConnection.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.3