Known Bugs
History Key
- New content
Removed content
Recent Versions
Choose two versions to compare, or click the link to view it.
Known Bugs
0.2.0
- The SQL messes up when using Has And Belongs To Many relationships in conjunction with CodeIgniter’s Active Record SQL-builder
fix
- The find_by_sql() and find_all_by_sql() produces PHP errors when called
fix
- IgnitedQuery ignores limit/offset
Solution: use a later version of IgnitedQuery or use CI’s AR
- IgnitedQuery produces faulty SQL when like() is not called first
Solution: use a later version of IgnitedQuery or use CI’s AR
Fixes for known bugs
0.2.0
SQL problem with habtm and Ci’s AR
Add this code before you load !IgnitedRecord:
define(‘IR_USE_IQ’, true);
This tells !IgnitedRecord to use IgnitedQuery to build the SQL-query instead.
PHP errors when using find_by_sql() or find_all_by_sql()
Replace:
$query = $this→db_query($sql);
With:
$query = $this→db→query($sql);
In igntedrecord.php, in the find_by_sql() and find_all_by_sql() methods.