diff options
| author | lsces <lester@lsces.co.uk> | 2026-02-24 10:54:38 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-02-24 10:54:38 +0000 |
| commit | f03fc2a1a747fde52c5f5f39e59037cc6c8e675a (patch) | |
| tree | 77fd93e3b1cdc3a7a60e37eff545340bf998f342 /src | |
| parent | c302476816c82f123298fd3cd93c87e2ffee047d (diff) | |
| download | illuminate-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-x | src/FirebirdConnection.php | 12 |
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 |
