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:
Like other nuclear tools, nuke() should be used with care.
RedBeanPHP Easy ORM for PHP © 2018 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2