Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(doc): Wrap instance reporting for database schema in an API #11127

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions developer_manual/basics/storage/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,14 @@ It makes sense to apply some general tips from the beginning, so you don't have
<?php
$table->addUniqueIndex(['your', 'column', 'names', '...'], 'table_name_uniq_feature');

Querying the database provider
------------------------------

If you would like to find out which database your app is runnning on, use the ``IDBConnection::getDatabaseProvider`` method.
This can be helpful in cases where specific databases have their own
requirements, such as Oracle limiting ``IN``- queries to 1000 expressions.


Supporting more databases
-------------------------

Expand Down
Loading