Releases: Modularr/Database 
  
  Releases · Modularr/Database
      
  v2.2.1 
  
    
  
      
        08 Apr 15:32
       
  
    
    
    
    
      
  
      
    Compare 
      
          
     
       
   
 
    
            
        
          
            
                
  
                  
                    
                    
                        
                          
     
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
      
 
    
   
   
  
  v2.2.0 
  
    
  
      
        08 Apr 15:31
       
  
    
    
    
    
      
  
      
    Compare 
      
          
     
       
   
 
    
            
        
          
            
                
  
                  
                    
                    
                        
                          
     
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
      
 
    
  
  
        
        Update 2.2.0 
Added Functions:
insert($table, $data) 
update($table, $data) 
store($table, $match='id', $data) 
 
 
  
  
  
   
   
  
  v2.1.0 
  
    
  
      
        08 Apr 15:31
       
  
    
    
    
    
      
  
      
    Compare 
      
          
     
       
   
 
    
            
        
          
            
                
  
                  
                    
                    
                        
                          
     
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
      
 
    
  
  
        
        Update 2.1.0 
Updated Quoting function (backwards compatible) 
Wrote extensive Documentation  about it 
Updated Functions:
quote($string,$remove_quotes=false) 
 
 
  
  
  
   
   
  
  v2.0.0 
  
    
  
      
        08 Apr 15:30
       
  
    
    
    
    
      
  
      
    Compare 
      
          
     
       
   
 
    
            
        
          
            
                
  
                  
                    
                    
                        
                          
     
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
      
 
    
  
  
        
        Changed static class to OOP class with optional facade API instead.
Changes:
Static Class Database:: becomes Db:: (facade) 
Created Db::Facade($obj) function (to set a face from any $pdo object) 
 
 
Added Functions:
 
  
  
  
   
   
  
  v1.2.0 
  
    
  
      
        08 Apr 15:29
       
  
    
    
    
    
      
  
      
    Compare 
      
          
     
       
   
 
    
            
        
          
            
                
  
                  
                    
                    
                        
                          
     
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
      
 
    
  
  
        
        Update 1.2 
Added Functions:
getPdo() 
setPdo($query) 
setPdo($query) 
fetch_assoc($query) 
fetch_safe_assoc($query) 
 
 
  
  
  
   
   
  
  v1.1.0 
  
    
  
      
        08 Apr 15:29
       
  
    
    
    
    
      
  
      
    Compare 
      
          
     
       
   
 
    
            
        
          
            
                
  
                  
                    
                    
                        
                          
     
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
      
 
    
  
  
        
        Update 1.1 
Added Missing Functions:
fetchAll($query) 
fetchAll_safe($query) 
 
 
  
  
  
   
   
  
  v1.0.0 
  
    
  
      
        08 Apr 15:27
       
  
    
    
    
    
      
  
      
    Compare 
      
          
     
       
   
 
    
            
        
          
            
                
  
                  
                    
                    
                        
                          
     
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
      
 
    
  
  
        
        Initial Release 
This is the first release.
What we have now: 
Composer Classmap Autoloading 
Readme, License and Composer files 
The initial Class with the following API
connect($db='test',$pass='',$user='root',$host='localhost',$type='mysql') 
query($query, $params = array()) 
fetch_object($query) 
fetch_safe_object($query) 
num_rows($query)