This is an outdated version of the Manual. Visit the NEW Manual

Nuke

The R::nuke() command just does what you think it does. It empties the entire database. This is really useful for testing purposes. R::nuke() only works in fluid mode to prevent any damage. Usage:


    R
::nuke();

Like other nuclear tools, nuke() should be used with care.


 
 

RedBeanPHP Easy ORM for PHP © 2024 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2