Skip to content

Commit

Permalink
tablesExist() helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
ipranjal committed Sep 27, 2024
1 parent 31a9e90 commit 81f2153
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,9 @@ public function getConnection() : Connection
{
return $this->connection;
}

public function tablesExist($tables) : bool
{
return $this->connection->getSchemaManager()->tablesExist($tables);
}
}

0 comments on commit 81f2153

Please sign in to comment.