whereId()
Usage
import { useRepo } from 'pinia-orm'
import User from './models/User'
const userRepo = useRepo(User)
console.log(userRepo.whereId(1).get()) // User[]
console.log(userRepo.whereId([1,2,5]).get()) // User[]
Typescript Declarations
function whereId(ids: string | number | (string | number)[]): Query
Table of Contents