php-activerecord icon indicating copy to clipboard operation
php-activerecord copied to clipboard

ActiveRecord implementation for PHP

Results 100 php-activerecord issues
Sort by recently updated
recently updated
newest added

I'm running tests in my REST app and noticed a strange behavior: using `Page::find(1)->definitions` (a has-many-through relation, passing by `page_has_definitions`) relationship gives me two entries, as expected, but `Page::find(1, ['include'...

Why not make a useful check on the existence of records in another table?

Using the mass update feature as currently documented does not work in PHP 5.3.. PHP 5.3 deprecated call-time pass by reference.. As documented: Blarg::table()->update(array(...), array(...)) will throw an error that...

Add support aws redshift

When I try to add a custom validation, using the method $Model->errors->add('test', "a test"); I will return this error: Fatal error: Call to a member function add() on null what...

Hello guys, **Context:** I have an script that import 4 millions of profiles into a table. I combine some strategies of batch insert and PHPActiveRecord, the script run for about...

Apologies in advance if this issue has been discussed before; I searched and found no such discussion. Currently, `$options['order']` accepts only a simple string, as per the wiki: ``` Book::find('all',...

Hi I have a column in the table where I want to save an int, the problem however is when a new record is created I want to send the...

Now all adapters run as one big suite, but separating them and running them per adapter would give more of an overview

feature
travis/ci
testing

I have a Model ImplementingAgency.php ImplementingAgency extends ActiveRecord\Model { static $cache = TRUE; function Targets() { $count = Model1::find_by_sql("select count(id) as total where implementing_agency_id = {$this->id}"); return $ocunt[0]->total; } function...

bug
no test