| layout | default | ||
|---|---|---|---|
| sidebar | cachers | ||
| title | CommandTextCache | ||
| description | A class that is being used to retrieve the cached command texts within RepoDB library. | ||
| permalink | /cacher/commandtextcache | ||
| tags |
|
||
| parent | CACHERS |
A cacher class for the generated command texts. It provides certain important internal methods for the library when it comes to SQL command text caching. As a result, the library is fast-enough when reusing the already generated SQL statements on any execution.
This class only expose a single method named Flush(). It allows you as a developer to flush all the cached command texts.
You should only call the Flush() method if you wish to regenerate the already-generated SQL statements, otherwise, please refrain of using this class.
{: .warning }
We recommend to avoid using this class in any of your development if necessary.