php-activerecord
php-activerecord copied to clipboard
Error in docs for association conditions?
The docs on the website for associations give this example (first example, under conditions):
array('payments', 'conditions' => array('void = ?' => array(0)))
which I believe is incorrect. (At least, it didn't work for me.) I believe the correct syntax/format is:
array('payments', 'conditions' => array( 'void = ?', 0 ))