The RedBeanPHP debugger displays all queries on screen. Activate the debugger using the R::debug() function:
To turn the debugger off:
Sometimes its useful to know whether a bean has been modified or not. The current state of the bean is stored in a Meta property called tainted. To get the state of the bean use:
If the bean has been modified this will return boolean TRUE, otherwise it will return FALSE.
RedBeanPHP Easy ORM for PHP © 2013 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2