| @@ 2254-2259 (lines=6) @@ | ||
| 2251 | ||
| 2252 | return false; |
|
| 2253 | } |
|
| 2254 | } else { |
|
| 2255 | throw new AlphaException('Failed to check for the record ['.$OID.'] on the class ['.get_class($this->BO).'] from the table ['.$this->BO->getTableName().'], query is ['.$this->BO->getLastQuery().']'); |
|
| 2256 | self::$logger->debug('<<checkRecordExists [false]'); |
|
| 2257 | ||
| 2258 | return false; |
|
| 2259 | } |
|
| 2260 | } else { |
|
| 2261 | throw new AlphaException('Failed to check for the record ['.$OID.'] on the class ['.get_class($this->BO).'] from the table ['.$this->BO->getTableName().'], query is ['.$this->BO->getLastQuery().']'); |
|
| 2262 | self::$logger->debug('<<checkRecordExists [false]'); |
|
| @@ 2260-2265 (lines=6) @@ | ||
| 2257 | ||
| 2258 | return false; |
|
| 2259 | } |
|
| 2260 | } else { |
|
| 2261 | throw new AlphaException('Failed to check for the record ['.$OID.'] on the class ['.get_class($this->BO).'] from the table ['.$this->BO->getTableName().'], query is ['.$this->BO->getLastQuery().']'); |
|
| 2262 | self::$logger->debug('<<checkRecordExists [false]'); |
|
| 2263 | ||
| 2264 | return false; |
|
| 2265 | } |
|
| 2266 | } |
|
| 2267 | ||
| 2268 | /** |
|
| @@ 2216-2221 (lines=6) @@ | ||
| 2213 | $row = $result->fetchArray(SQLITE3_ASSOC); |
|
| 2214 | ||
| 2215 | $stmt->close(); |
|
| 2216 | } else { |
|
| 2217 | throw new AlphaException('Failed to check for the record ['.$OID.'] on the class ['.get_class($this->BO).'] from the table ['.$this->BO->getTableName().'], query is ['.$this->BO->getLastQuery().']'); |
|
| 2218 | self::$logger->debug('<<checkRecordExists [false]'); |
|
| 2219 | ||
| 2220 | return false; |
|
| 2221 | } |
|
| 2222 | ||
| 2223 | if (!isset($row['OID'])) { |
|
| 2224 | self::$logger->debug('<<checkRecordExists [false]'); |
|