Database queries #6
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be useful to add a feature to the Database class that allows executing SQL queries from external .sql files. This would enable us to version-control raw SQL queries outside of the PHP codebase, improving maintainability and separation of concerns.
Motivation:
Example Usage:
Suggested Implementation:
Add a method like runSqlFile(string $filePath) to the Database class that:
Optional Enhancements:
Related Features / Notes: