+ // Table should be "SQL-injection-safe" when supplied to this function

+ // Build basic query:

+ $query = 'TRUNCATE TABLE ' . $table;

+

+ // Return query:

+ if ($this->debugOutput || $this->store_lastBuiltQuery) {

+ $this->debug_lastBuiltQuery = $query;

+ }

+

return $query;

}

/**

* Returns a WHERE clause that can find a value ($value) in a list field ($field)

- * For instance a record in the database might contain a list of numbers, "34,234,5" (with no spaces between). This query would be able to select that record based on the value "34", "234" or "5" regardless of their positioni in the list (left, middle or right).

+ * For instance a record in the database might contain a list of numbers,

+ * "34,234,5" (with no spaces between). This query would be able to select that

+ * record based on the value "34", "234" or "5" regardless of their position in

+ * the list (left, middle or right).

+ * The value must not contain a comma (,)

* Is nice to look up list-relations to records or files in TYPO3 database tables.

+ * @param array $input_parameters An array of values with as many elements as there are bound parameters in the SQL statement being executed. All values are treated as t3lib_db_PreparedStatement::PARAM_AUTOTYPE.

+ * @param array $input_parameters An array of values with as many elements as there are bound parameters in the SQL statement being executed. All values are treated as t3lib_db_PreparedStatement::PARAM_AUTOTYPE.

* Returns information about each field in the $table (quering the DBMS)

* In a DBAL this should look up the right handler for the table and return compatible information

- * This function is important not only for the Install Tool but probably for DBALs as well since they might need to look up table specific information in order to construct correct queries. In such cases this information should probably be cached for quick delivery.

+ * This function is important not only for the Install Tool but probably for

+ * DBALs as well since they might need to look up table specific information

+ * in order to construct correct queries. In such cases this information should

+ * probably be cached for quick delivery.

*

* @param string Table name

* @return array Field information in an associative array with fieldname => field row

* Returns information about the character sets supported by the current DBM

- * This function is important not only for the Install Tool but probably for DBALs as well since they might need to look up table specific information in order to construct correct queries. In such cases this information should probably be cached for quick delivery.

+ * This function is important not only for the Install Tool but probably for

+ * DBALs as well since they might need to look up table specific information

+ * in order to construct correct queries. In such cases this information should

+ * probably be cached for quick delivery.

*

* This is used by the Install Tool to convert tables tables with non-UTF8 charsets

* Use in Install Tool only!

*

* @return array Array with Charset as key and an array of "Charset", "Description", "Default collation", "Maxlen" as values