diff options
Diffstat (limited to 'src/FirebirdConnection.php')
| -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 |
