cache()

Usage

import { useRepo } from 'pinia-orm'
import User from './models/User'
// Returns the cache instance
useRepo(User).cache()

Typescript Declarations

function cache(): WeakCache