Welcome Guest, Not a member yet? Register   Sign In
Active Record Cache doesn't work with delete
#5

[eluser]xwero[/eluser]
[quote author="inparo" date="1218221464"]
Also, in my mind delete counts as a 'write-type' query..::confused::
Quote:Only read-type (SELECT) queries can be cached,
[/quote]

This is because the insert, update and delete queries are passed on to the driver for compilation, only the select query is compiled in the AR class. If they change that it's possible to cache building methods for all the query types.


Messages In This Thread
Active Record Cache doesn't work with delete - by El Forum - 08-07-2008, 05:51 AM
Active Record Cache doesn't work with delete - by El Forum - 08-07-2008, 01:07 PM
Active Record Cache doesn't work with delete - by El Forum - 08-07-2008, 07:58 PM
Active Record Cache doesn't work with delete - by El Forum - 08-08-2008, 07:51 AM
Active Record Cache doesn't work with delete - by El Forum - 08-08-2008, 08:13 AM
Active Record Cache doesn't work with delete - by El Forum - 08-08-2008, 09:55 AM
Active Record Cache doesn't work with delete - by El Forum - 08-08-2008, 10:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB