db_drop_field
- Versions
- 6
db_drop_field(&$ret, $table, $field)- 7
db_drop_field($table, $field)
Drop a field.
Parameters
$ret Array to which query results will be added.
$table The table to be altered.
$field The field to be dropped.
Related topics
Code
includes/database.pgsql.inc, line 713
<?php
function db_drop_field(&$ret, $table, $field) {
$ret[] = update_sql('ALTER TABLE {'. $table .'} DROP COLUMN '. $field);
}
?>Login or register to post comments 