find()
Usage
import { useRepo } from 'pinia-orm'import User from './models/User'const userRepo = useRepo(User)console.log(userRepo.find(1)) // Userconsole.log(userRepo.find([1,2,5])) // User[]
Typescript Declarations
function find(id: string | number): Item<M>function find(ids: (string | number)[]): Collection<M>
Table of Contents