RedBeanPHP

easy ORM for PHP

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.



User contributed notes. Please use the comment section to provide tips, notes and examples. To ask for support or to provide feedback use the forum. For bug reports use Github Issue Tracker.

Site comments powered by Disqus

page generated in 0.010578155517578 sec.