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
|
@@ 354-358 (lines=5) @@
|
| 351 |
|
} |
| 352 |
|
$fields = mb_substr($fields, 0, -1); |
| 353 |
|
|
| 354 |
|
if (!$ignoreClassType && $this->BO->isTableOverloaded()) { |
| 355 |
|
$sqlQuery = 'SELECT '.$fields.' FROM '.$this->BO->getTableName().' WHERE '.$attribute.' = :attribute AND classname = :classname LIMIT 1;'; |
| 356 |
|
} else { |
| 357 |
|
$sqlQuery = 'SELECT '.$fields.' FROM '.$this->BO->getTableName().' WHERE '.$attribute.' = :attribute LIMIT 1;'; |
| 358 |
|
} |
| 359 |
|
|
| 360 |
|
self::$logger->debug('Query=['.$sqlQuery.']'); |
| 361 |
|
|