| 1 drupal.inc | drupal_write_record($table, &$record, $primary_keys = array()) | 
Saves (inserts or updates) a record to the database based upon the schema.
Deprecated
since 1.0.0
See also
Related topics
File
- core/includes/ drupal.inc, line 1482 
- Contains constants and function wrappers for Drupal 7.x compatibility.
Code
function drupal_write_record($table, &$record, $primary_keys = array()) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_write_record($table, $record, $primary_keys);
}
