Alpha/Model/ActiveRecordProviderMySQL.php 1 location
|
@@ 366-370 (lines=5) @@
|
| 363 |
|
} |
| 364 |
|
$fields = mb_substr($fields, 0, -1); |
| 365 |
|
|
| 366 |
|
if (!$ignoreClassType && $this->BO->isTableOverloaded()) { |
| 367 |
|
$sqlQuery = 'SELECT '.$fields.' FROM '.$this->BO->getTableName().' WHERE '.$attribute.' = ? AND classname = ? LIMIT 1;'; |
| 368 |
|
} else { |
| 369 |
|
$sqlQuery = 'SELECT '.$fields.' FROM '.$this->BO->getTableName().' WHERE '.$attribute.' = ? LIMIT 1;'; |
| 370 |
|
} |
| 371 |
|
|
| 372 |
|
self::$logger->debug('Query=['.$sqlQuery.']'); |
| 373 |
|
|
Alpha/Model/ActiveRecordProviderSQLite.php 1 location
|
@@ 366-370 (lines=5) @@
|
| 363 |
|
} |
| 364 |
|
$fields = mb_substr($fields, 0, -1); |
| 365 |
|
|
| 366 |
|
if (!$ignoreClassType && $this->BO->isTableOverloaded()) { |
| 367 |
|
$sqlQuery = 'SELECT '.$fields.' FROM '.$this->BO->getTableName().' WHERE '.$attribute.' = :attribute AND classname = :classname LIMIT 1;'; |
| 368 |
|
} else { |
| 369 |
|
$sqlQuery = 'SELECT '.$fields.' FROM '.$this->BO->getTableName().' WHERE '.$attribute.' = :attribute LIMIT 1;'; |
| 370 |
|
} |
| 371 |
|
|
| 372 |
|
self::$logger->debug('Query=['.$sqlQuery.']'); |
| 373 |
|
|