CodeIgniter 4: When to Use Query Builder vs. Raw SQL
Stop guessing between CodeIgniter 4's Query Builder and raw SQL. Learn when to use fluent methods for CRUD and when to drop into raw SQL for window functions and row-level locking.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Stop guessing between CodeIgniter 4's Query Builder and raw SQL. Learn when to use fluent methods for CRUD and when to drop into raw SQL for window functions and row-level locking.
In CodeIgniter 4.x, the cache library's file driver holds each entry until its TTL expires. Nothing purges an entry when the underlying table changes: there is no tagging, and model writes do not touch the cache. Read-heavy pages can therefore serve pre-update values until expiry. The goal is one consistent invalidation strategy for entries saved under predi