Method | Description | |
---|---|---|
execute ( ) : |
Checks the cache to see if this query exists and returns it. If it's not in the cache then the query is run, stored and then returned. |
Method | Description | |
---|---|---|
getFileHash ( ) : string | Gets a hash based on the files in the repo directory. If the contents of a file changes, or other files are added/deleted the hash will change. | |
getParameterHash ( ) : string | Generates a hash based on the parameters set in the query. |
public execute ( ) : |
||
return | The result of the query. |
protected getFileHash ( ) : string | ||
return | string | A 128bit hash in hexadecimal format. |
protected getParameterHash ( ) : string | ||
return | string | A 128bit hash in hexadecimal format. |