db_field_set_no_default

  1. drupal
    1. drupal6 database.mysql-common.inc
    2. drupal6 database.pgsql.inc
    3. drupal7
Versionen
drupal6 – drupal7 db_field_set_no_default(&$ret, $table, $field)

Set a field to have no default value.

Übergabeparameter

$ret Array to which query results will be added.

$table The table to be altered.

$field The field to be altered.

Verwandte Themen

▾ 2 functions call db_field_set_no_default()

SchemaTestCase::testSchema in modules/simpletest/tests/schema.test
system_update_6019 in modules/system/system.install
Reconcile small differences in the previous, manually created mysql and pgsql schemas so they are the same and can be represented by a single schema structure.

Code

includes/database/database.inc, line 2286

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

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen