You are here

public function Schema::getComment in Drupal driver for SQL Server and SQL Azure 8.2

Same name and namespace in other branches
  1. 8 drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::getComment()
  2. 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::getComment()

Retrieve a table or column comment.

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php, line 1384
Definition of Drupal\Driver\Database\sqlsrv\Schema

Class

Schema

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function getComment($table, $column = null) {
  return $this
    ->CommentGet($this->connection
    ->prefixTables("{{$table}}"), $column);
}