v5:reference:connection:cacheexecute
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
reference:cacheexecute [2015/11/24 20:17] – mnewnham | v5:reference:connection:cacheexecute [2016/05/15 15:26] – [Description] mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right tip> | <WRAP right tip> | ||
- | Use of [[reference: | + | Use of [[v5:reference: |
</ | </ | ||
<WRAP right box> | <WRAP right box> | ||
Line 16: | Line 16: | ||
- If the first parameter passed is a positive integer, then the query cache is searched for a matching query cached within that period. If no matching cache file is found, A new statement is executed and cached. | - If the first parameter passed is a positive integer, then the query cache is searched for a matching query cached within that period. If no matching cache file is found, A new statement is executed and cached. | ||
- | - If the first parameter is the SQL statement, the query cache default is used [[reference: | + | - If the first parameter is the SQL statement, the query cache default is used [[v5: |
===== Parameters ===== | ===== Parameters ===== | ||
Line 34: | Line 34: | ||
==== Result ===== | ==== Result ===== | ||
- | If the execution succeeds, it returns a recordset. This recordset can be used by functions such as [[reference: | + | If the execution succeeds, it returns a recordset. This recordset can be used by functions such as [[v5:reference:connection: |
- | if the execution fails, it returns false. You can access errors using [[reference: | + | if the execution fails, it returns false. You can access errors using [[v5:reference: |
==== Usage ==== | ==== Usage ==== | ||
<code php> | <code php> |
v5/reference/connection/cacheexecute.txt · Last modified: 2016/05/15 15:27 by mnewnham