Skip to content

Commit b2f2f61

Browse files
committed
Review Fixes
1 parent 8077f2f commit b2f2f61

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

system/Database/BaseConnection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,8 @@ public function listTables(bool $constrainByPrefix = false)
14051405

14061406
/**
14071407
* Determine if a particular table exists
1408+
*
1409+
* @param bool $cached Whether to use data cache
14081410
*/
14091411
public function tableExists(string $tableName, bool $cached = true): bool
14101412
{

user_guide_src/source/changelogs/v4.2.5.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ Release Date: Unreleased
1212
BREAKING
1313
********
1414

15-
none.
15+
- The method signature of ``BaseConnection::tableExists()`` has been changed. A second optional parameter ``$cached`` was added. This directs whether to use cache data or not. Default is ``true``, use cache data.
16+
- The abstract method signature of ``BaseBuilder::_listTables()`` has been changed. A second optional parameter ``$tableName`` was added. Providing a table name will generate SQL listing only that table.
1617

1718
Enhancements
1819
************

0 commit comments

Comments
 (0)