php-activerecord
php-activerecord copied to clipboard
Wordpress Database Ids not accessible with AR
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. ActiveRecord can access to all params except id.
I've changed the static $primary_key in model to all possibilities ('id', 'ID') and it does't work.
Any suggestion?
Version php-activerecord v1.1.2
I don't see why this wouldn't work. Would you be interested in providing a reproducible example and/or failing test case?
Is your dev windows and linux for production?