DatabaseConnector
class DatabaseConnector (View source)
Connects to the SilverStripe Database object of a given SilverStripe project, in order to bulk save/load data
Methods
Details
        
                            
    __construct($basePath)
        
    
    No description
        
                            
    connect()
        
    
    No description
        
                            
    getDatabase()
        
    
    No description
        
                            
    getTables()
        
    
    Get a list of tables from the database
        
                            
    getFieldsForTable($tableName)
        
    
    Get a list of tables from the database
        
                            
    saveTable($tableName, TableWriter $writer)
        
    
    Save the named table to the given table write
        
                            
    loadTable($tableName, TableReader $reader)
        
    
    Save the named table to the given table write