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

enh(db): provide database providers via IDB API #40423

Merged
merged 1 commit into from Sep 19, 2023

Conversation

miaulalala
Copy link
Contributor

@miaulalala miaulalala commented Sep 14, 2023

Summary

To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the associated constants

Checklist

@miaulalala miaulalala added this to the Nextcloud 28 milestone Sep 14, 2023
@miaulalala miaulalala requested review from ChristophWurst and a team September 14, 2023 13:01
@miaulalala miaulalala self-assigned this Sep 14, 2023
@miaulalala miaulalala requested review from ArtificialOwl, icewind1991 and sorbaugh and removed request for a team September 14, 2023 13:01
lib/public/IDBConnection.php Outdated Show resolved Hide resolved
lib/public/IDBConnection.php Show resolved Hide resolved
lib/public/IDBConnection.php Outdated Show resolved Hide resolved
lib/private/DB/ConnectionAdapter.php Outdated Show resolved Hide resolved
@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Sep 14, 2023
@ChristophWurst
Copy link
Member

This adds a new public API so it does need documentation

lib/private/DB/ConnectionAdapter.php Outdated Show resolved Hide resolved
To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the
associated constants

fixes #30877

Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala merged commit b6761fb into master Sep 19, 2023
38 checks passed
@miaulalala miaulalala deleted the enh/proved-db-as-string branch September 19, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews dependencies developer experience enhancement pending documentation This pull request needs an associated documentation update
Projects
Development

Successfully merging this pull request may close these issues.

Wrap instance reporting for database schema in an API
4 participants