db_field_set_no_default

Definition

db_field_set_no_default(&$ret, $table, $field)
drupal/includes/database/database.inc, line 2088

Description

Set a field to have no default value.

Parameters

$ret Array to which query results will be added.

$table The table to be altered.

$field The field to be altered.

Related topics

Namesort iconDescription
Schema APIA Drupal schema definition is an array structure representing one or more tables and their related keys and indexes. A schema is defined by hook_schema(), which usually lives in a modulename.install file.

Code

function db_field_set_no_default(&$ret, $table, $field) {
  return Database::getActiveConnection()->schema()->fieldSetNoDefault($ret, $table, $field);
}