src/Mmi/Orm/DbConnector.php
public static final function resetTableStructures()
    {
        //usunięcie struktrur z cache
        foreach (self::getAdapter()->tableList() as $tableName) {
            static::$_cache->remove('mmi-orm-structure-' . self::getAdapter()->getConfig()->name . '-' . $tableName);
        }
        //usunięcie lokalnie zapisanych struktur
        self::$_tableStructure = [];
        return true;
    }
public static final function resetTableStructures()
    {
        //usunięcie struktrur z cache
        foreach (self::getAdapter()->tableList() as $tableName) {
            static::$_cache->remove('mmi-orm-structure-' . self::getAdapter()->getConfig()->name . '-' . $tableName);
        }
        //usunięcie lokalnie zapisanych struktur
        self::$_tableStructure = [];
        return true;
    }
public static final function resetTableStructures ( ) { //usunięcie struktrur z cache foreach ( self :: getAdapter ( ) -> tableList ( ) as $ tableName ) { static :: $ _cache -> remove ( 'mmi-orm-structure-' . self :: getAdapter ( ) -> getConfig ( ) -> name . '-' . $ tableName ) ; } //usunięcie lokalnie zapisanych struktur self :: $ _tableStructure = [ ] ; return true ; }
Resetuje struktury tabel i usuwa cache
@return boolean
Resetuje struktury tabel i usuwa cache