database.mysql-common.inc

  1. drupal
    1. drupal6

Version 1.17.2.5 (checked in on 2010/12/15 at 13:21:14 by goba)

Functions shared between mysql and mysqli database engines.

Funktionen & Methoden

NameBeschreibung
db_add_fieldAdd a new field to a table.
db_add_indexAdd an index.
db_add_primary_keyAdd a primary key.
db_add_unique_keyAdd a unique key.
db_change_field
db_create_table_sqlGenerate SQL to create a new table from a Drupal schema definition.
db_drop_fieldDrop a field.
db_drop_indexDrop an index.
db_drop_primary_keyDrop the primary key.
db_drop_tableDrop a table.
db_drop_unique_keyDrop a unique key.
db_field_set_defaultSet the default value for a field.
db_field_set_no_defaultSet a field to have no default value.
db_last_insert_idReturns the last insert id.
db_queryRuns a basic query in the active database.
db_rename_tableRename a table.
db_type_mapThis maps a generic data type in combination with its data size to the engine-specific data type.
_db_create_field_sqlCreate an SQL string for a field to be used in table creation or alteration.
_db_create_keys_sql
_db_create_key_sql
_db_process_fieldSet database-engine specific properties for a 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