-
Notifications
You must be signed in to change notification settings - Fork 8
[RFC]: Sql Statement Query Caching #112
Copy link
Copy link
Open
Labels
Lang Feature RefactorRefactoring to new language featuresRefactoring to new language featuresenhancementNew feature or requestNew feature or requestqaImprovements in quality assurance of the projectImprovements in quality assurance of the project
Milestone
Metadata
Metadata
Assignees
Labels
Lang Feature RefactorRefactoring to new language featuresRefactoring to new language featuresenhancementNew feature or requestNew feature or requestqaImprovements in quality assurance of the projectImprovements in quality assurance of the project
Type
Fields
Give feedbackNo fields configured for Feature.
Projects
Status
Todo
Proposed Version
0.6.0
Basic Information
PhpDb manually compiles each Select query for every single query, creating unnecessary overhead when a query itself will not change based on adapter/platform.
The intention of this proposal is to allow a caching mechanism which would determine if a Statement uses a Parameter Container and if so, store the compiled query in a cache that is user-determined. This still allows the database driver to correctly quote/execute data without needing to cache-bust regularly.
Background
No response
Considerations
No response
Proposal(s)
Sample pseudo code:-
Appendix/Additional Info
No response