Skip to content

getCache()

Latest

Choose a tag to compare

@LCluber LCluber released this 15 Aug 07:58
  • SQLEntity.getCache(). Boot-time / cache-warmup helper that selects every
    active row (archived IS FALSE, no LIMIT, ordered by id ASC) and returns
    [] when nothing matches. Extra caller filters are merged on top; a
    caller-supplied archived filter is overwritten so soft-deleted rows cannot
    enter the cache. Requires a filterable archived property on the entity.
    Unlike get(), an empty table is not treated as a 404.