Finds matching caches by a pattern and removes a specific entry from them. Useful for saving targeted cached rows when a column in a certain table is changed @param pattern The pattern used for SQLHelper#getMatchingCaches(String) @param primaryKeys The primary keys used to access the en
(String pattern, Object... primaryKeys)
| 124 | * @param primaryKeys The primary keys used to access the entry |
| 125 | */ |
| 126 | public void removeFromMatchingCaches(String pattern, Object... primaryKeys) { |
| 127 | getMatchingCaches(pattern).forEach(c -> c.remove(primaryKeys)); |
| 128 | } |
| 129 | |
| 130 | /** |
| 131 | * Finds matching caches by a pattern and flushes, then removes a specific entry from them. |
nothing calls this directly
no test coverage detected