Custom Tables API

  1. 2.x tripal_core/api/tripal_core.custom_tables.api.inc tripal_custom_tables_api
  2. 3.x tripal_chado/api/tripal_chado.custom_tables.api.inc tripal_custom_tables_api
  3. 1.x tripal_core/api/tripal_core_custom_tables.api.inc tripal_custom_tables_api

@file Contains functions for the Custom Tables API

Provides an API to manage custom tables in Chado.

Parent topics

File

tripal_core/api/tripal_core_custom_tables.api.inc, line 2
Contains functions for the Custom Tables API

Functions

Name Locationsort descending Description
tripal_core_edit_custom_table tripal_core/api/tripal_core_custom_tables.api.inc Edits a custom table in the chado database. It supports using the Drupal Schema API array.
tripal_core_create_custom_table tripal_core/api/tripal_core_custom_tables.api.inc Add a new table to the Chado schema. This function is simply a wrapper for the db_create_table() function of Drupal, but ensures the table is created inside the Chado schema rather than the Drupal schema. If the table already exists then it will be…
tripal_custom_tables_get_table_id tripal_core/api/tripal_core_custom_tables.api.inc Retrieve the custom table id given the name