src/Database/QueryBuilder/Commands/Create.php
/**
	 * Compiles the table schema.
	 *
	 * @return string
	 */
Compiles the table schema.
@return string
Compiles the table schema . @return string
protected function compileSchema() {
		$compiled = array();
		$keys = $this->compileKeys();
		foreach ($this->columns as $column) {
			$compiled[] = $column->compile();
		}
		if ($keys) {
			$compiled[] = $keys;
		}
		return sprintf('(%s)', implode(', ', $compiled));
	}
protected function compileSchema ( ) { $ compiled = array ( ) ; $ keys = $ this -> compileKeys ( ) ; foreach ( $ this -> columns as $ column ) { $ compiled [ ] = $ column -> compile ( ) ; } if ( $ keys ) { $ compiled [ ] = $ keys ; } return sprintf ( '(%s)' , implode ( ', ' , $ compiled ) ) ; }
Compiles the table schema.
Compiles the table schema .