Skip to content

(Micro PR) Created DatabaseInterface and simple implementations#200

Open
AdamLenda wants to merge 4 commits intoreliese:v1.xfrom
JVZoo:move_schemas_method
Open

(Micro PR) Created DatabaseInterface and simple implementations#200
AdamLenda wants to merge 4 commits intoreliese:v1.xfrom
JVZoo:move_schemas_method

Conversation

@AdamLenda
Copy link
Copy Markdown

This PR is the first step towards isolating functionality that spans an entire database from the functionality that relates only to a schema within that data store.

Comment thread src/Meta/MySql/Schema.php
'mysql',
'performance_schema',
]);
return (new Database($connection))->getSchemaNames();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method's cohesion is very low compared to the rest of the methods. It makes sense to put this logic elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants