Documenting useTripalDbxSchemaFor() + Tripal DBX table prefix troubleshooting #9
Labels
API: Tripal DBX
TOPIC: Developer Hint
Documentation of troubleshooting and small tips for developers.
TOPIC: Extending Tripal
Documentation on developing custom modules, fields, themes, etc.
The following documentation should be added to the Tripal DBX table prefixing documentation:
1:
prefix for your tablename.1:
prefix is added.useTripalDbxSchemaFor()
on your connection with your class passed in.$connection->useTripalDbxSchemaFor(\Drupal\Tests\tripal_chado\Functional\ChadoConnectionTest::class);
adds the ChadoConnectionTest class to the whitelist.Questions that should also be answered by this documentation but that I don't know the answer to:
1:tablename
prefix and another module wants to impact what schema that refers to, is there a central place currently provided by Tripal DBX for altering connections made by other classes?@guignonv if you have a moment, could you provide the answer to these questions? Also, did I get the description of how table prefixing is done correct above or is there an additional part to it that I have missed?
The text was updated successfully, but these errors were encountered: