db_column_exists
- Versions
- 6 – 7
db_column_exists($table, $column)
Check if a column exists in the given table.
Related topics
Code
includes/database/database.inc, line 2328
<?php
function db_column_exists($table, $column) {
return Database::getConnection()->schema()->columnExists($table, $column);
}
?>Login or register to post comments 