function _db_create_keys_sql

7.x database.inc _db_create_keys_sql($spec)
6.x database.mysql-common.inc _db_create_keys_sql($spec)
8.x database.inc _db_create_keys_sql($spec)

Related topics

File

drupal/includes/database/database.inc, line 2829
Core systems for the database layer.

Code

function _db_create_keys_sql($spec) {
  return Database::getConnection()->schema()->createKeysSql($spec);
}