function tripal_db_get_search_path

1.x tripal_core_chado.api.inc tripal_db_get_search_path()

Gets the current search_path for PostgreSQL

Related topics

File

tripal_core/api/tripal_core_chado.api.inc, line 2941
The Tripal Core API

Code

function tripal_db_get_search_path() {
  $path = db_fetch_object(db_query("show search_path"));
  return $path->search_path;
}