create a new instance
List of parameters:
    
        | Name | Type | Description | 
    
        | &$structure | string|DbStructure | a structure resource | 
Description:
    
This class requires an object of class DbStructure  as input.
Example of usage:  
-  // create new instance of this class 
-  // since version 2.9.6 you may also write 
-  $db = 'guestbook'; 
-  // create SQL DDL (here: using MySQL syntax) 
-  // This will output the result as text 
-  print  implode("\n", $arrayOfStmts);
-  // This will send the statements to the database 
-  foreach ($arrayOfStmts as $stmt) 
-  { 
-     $db->query($stmt); 
-  } 
 
create SQL for IBM DB2
    array
    
        createDB2
    
        ()
    
Description:
    
Returns a numeric array of SQL statements.  Each element is a single statement.  If you want to send the result to a SQL file  you should "implode()" the array to a string.
        Redefined in descendants as:
        
     
create SQL for MS Access
    array
    
        createMSAccess
    
        ()
    
Description:
    
Same as DbCreator::createMSSQL()
        Redefined in descendants as:
        
     
create SQL for MS SQL Server
    array
    
        createMSSQL
    
        ()
    
Description:
    
Returns a numeric array of SQL statements.  Each element is a single statement.  If you want to send the result to a SQL file  you should "implode()" the array to a string.
        Redefined in descendants as:
        
     
create SQL for MySQL
    array
    
        createMySQL
    
        ()
    
Description:
    
Returns a numeric array of SQL statements.  Each element is a single statement.  If you want to send the result to a SQL file  you should "implode()" the array to a string.
        Redefined in descendants as:
        
     
create SQL for Oracle
    array
    
        createOracleDB
    
        ()
    
Description:
    
Returns a numeric array of SQL statements.  Each element is a single statement.  If you want to send the result to a SQL file  you should "implode()" the array to a string.
        Redefined in descendants as:
        
     
create SQL for PostgreSQL
    array
    
        createPostgreSQL
    
        ()
    
Description:
    
Returns a numeric array of SQL statements.  Each element is a single statement.  If you want to send the result to a SQL file  you should "implode()" the array to a string.
        Redefined in descendants as:
        
     
get the currently set structure file
Description:
    
Returns an instance of {link DbStructure}.  You can query this object for details on the structure  of the currently selected database.
 
set a new structure file
List of parameters:
Description:
    
The argument $structure may either be a reference to an instance of  class DbStructure, or a string, which contains the name of a database.  The database must be registered in the framework. If so, this function  may find the corresponding structure file automatically.
Returns bool(true) on success or bool(false) on error.
 
                            
                inherited from base classes
                                    Inherited From Object