db_field_set_no_default

  1. drupal
    1. 6 database.mysql-common.inc
    2. 6 database.pgsql.inc
    3. 8
    4. 7
Versions
6 db_field_set_no_default(&$ret, $table, $field)
8 – 7 db_field_set_no_default($table, $field)

Sets a field to have no default value.

Parameters

$table The table to be altered.

$field The field to be altered.

Related topics

Code

includes/database/database.inc, line 2847

<?php
function db_field_set_no_default($table, $field) {
  return Database::getConnection()->schema()->fieldSetNoDefault($table, $field);
}
?>