Skip to content
Browse files

README

  • Loading branch information...
1 parent fcd0946 commit cd7431b774e2aa508369c4e8052cad01bb4b990a @dmitrymin dmitrymin committed Aug 19, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.txt
View
4 README.txt
@@ -172,7 +172,7 @@ Listing 7: Query result caching by time
$DB->setCacher('myCacher');
$row = $DB->select('
- CACHE: 10h 20m 30s
+ -- CACHE: 10h 20m 30s
SELECT * FROM table WHERE id=123
');
@@ -188,7 +188,7 @@ Listing 8: Query result caching with dependence on table modification
// Here forum.modified and topic.modified are TIMESTAMPs.
$row = $DB->select('
- CACHE: 10h 20m 30s, forum.modified, topic.modified
+ -- CACHE: 10h 20m 30s, forum.modified, topic.modified
SELECT *
FROM forum JOIN topic ON topic.forum_id=forum.id
WHERE id=123

0 comments on commit cd7431b

Please sign in to comment.
Something went wrong with that request. Please try again.