public static function nuke() { if (!self::$redbean->isFrozen()) { self::$writer->wipeAll(); } }
/** * Tests R::getInsertID convenience method. * * @return void */ public function testGetInsertID() { R::nuke(); $id = R::store(R::dispense('book')); $id2 = R::getInsertID(); asrt($id, $id2); }