- DBA::exists() should only be used for checking if records exists.
- if you want to check if a table exists, please ALWAYS use
  DBStructure::existsTable() instead
This commit is contained in:
Roland Häder 2022-06-20 08:18:53 +02:00
parent cc750d743b
commit 6743de63f5
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
3 changed files with 2 additions and 6 deletions

View file

@ -218,8 +218,8 @@ class DBA
/**
* Check if data exists
*
* @param string|array $table Table name or array [schema => table]
* @param array $condition array of fields for condition
* @param string|array $table Table name or array [schema => table]
* @param array $condition array of fields for condition
* @return boolean Are there rows for that condition?
* @throws \Exception
*/