Skip to content

refactor: remove dependency on BaseConnection in TableName#9104

Merged
kenjis merged 1 commit intocodeigniter4:4.6from
kenjis:refactor-TableName
Aug 8, 2024
Merged

refactor: remove dependency on BaseConnection in TableName#9104
kenjis merged 1 commit intocodeigniter4:4.6from
kenjis:refactor-TableName

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Aug 5, 2024

Description
Follow-up #8748

TableName should not depend on DB Connection.
Because it may be a table name in another database. See #9085

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added the 4.6 label Aug 5, 2024
@kenjis kenjis marked this pull request as draft August 5, 2024 00:37
@kenjis kenjis added the database Issues or pull requests that affect the database layer label Aug 5, 2024
Remove dependency on BaseConnection.
@kenjis kenjis force-pushed the refactor-TableName branch from b1cfed6 to 640de45 Compare August 5, 2024 00:46
@kenjis kenjis added the refactor Pull requests that refactor code label Aug 5, 2024
@kenjis kenjis marked this pull request as ready for review August 5, 2024 01:34
@kenjis kenjis changed the title refactor: TableName class refactor: remove dependency on BaseConnection in TableName Aug 5, 2024
@kenjis kenjis merged commit e83b3bd into codeigniter4:4.6 Aug 8, 2024
@kenjis kenjis deleted the refactor-TableName branch August 8, 2024 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

database Issues or pull requests that affect the database layer refactor Pull requests that refactor code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants