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

The [docs on the website for associations](http://www.phpactiverecord.org/projects/3/wiki/Associations) give this example (first example, under **conditions**): ``` array('payments', 'conditions' => array('void = ?' => array(0))) ``` which I believe is incorrect. (At...

Continue theme: [Support for multi-row inserts and INSERT IGNORE](http://www.phpactiverecord.org/boards/1/topics/132-support-for-multi-row-inserts-and-insert-ignore)

Hello, I have a problem with Wordpress Database (mysql). The id field are called ID (in uppercase) in all tables and the ActiveRecord can't access to it or show it....

Eager loading is not working when books belongs to same author. I wrote a test code. https://github.com/jihunleekr/php-activerecord/commit/fd3d56047fef560f0e17a17a90d06685ee506c24

Recently needed to extend Table.php and Model.php and it required us to convert private methods and properties to protected. Figured it would be a good change for the project.

I added support for nested transactions. So it is safe to start transaction and call methods that also use transactions. Implementation idea is taken from http://php.net/manual/en/pdo.begintransaction.php#116669

This is not so much a feature request, but rather, more of a question about best practices with the current version of PHP AR. Let's say that I have three...

Previously ActiveRecord::DateTime object was created from a PHP DateTime's formatted string ('Y-m-d h:i:s T'), `T` represents a 3 letter time zone abbreviation. And unfortunately UTC+08:00 and UTC-06:00 share a same...

I was wondering if there is a possibility that PHP ActiveRecord might support closure tables. Essentially, it's a way to represent trees that's flexible and computationally cheap, once you get...