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

Schema::hasTableName() method is missing #762

Open
Tigrov opened this issue Oct 6, 2023 · 2 comments
Open

Schema::hasTableName() method is missing #762

Tigrov opened this issue Oct 6, 2023 · 2 comments
Milestone

Comments

@Tigrov
Copy link
Member

Tigrov commented Oct 6, 2023

Need to add a new method Schema::hasTableName() to check if the schema has the table name.
Also Schema::hasSchemaName() and Schema::hasViewName().

@vjik vjik added this to the 2.0.0 milestone Nov 5, 2023
@Tigrov Tigrov modified the milestones: 2.0.0, 1.1.0 Nov 9, 2023
@Tigrov
Copy link
Member Author

Tigrov commented Nov 9, 2023

In version 1.1.0 can be realized in AbstractSchema without adding the methods to SchemaInterface.
Then add the methods to the interface in version 2.0.0

@vjik vjik modified the milestones: 1.1.0, 2.0.0 Nov 21, 2023
@evil1
Copy link

evil1 commented Dec 24, 2024

Wounldn't it be more readable if the function names will be tableExists(), schemaExists(), viewExists()?

evil1 added a commit to evil1/yii-db that referenced this issue Dec 25, 2024
evil1 added a commit to evil1/yii-db that referenced this issue Dec 25, 2024
evil1 added a commit to evil1/yii-db that referenced this issue Dec 25, 2024
evil1 added a commit to evil1/yii-db that referenced this issue Dec 25, 2024
evil1 added a commit to evil1/yii-db that referenced this issue Dec 26, 2024
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

No branches or pull requests

3 participants