limit()

Usage

import { useRepo } from 'pinia-orm'
import User from './models/User'
const userRepo = useRepo(User)
// Return only 30 users
useRepo(User).limit(30).get()

Typescript Declarations

function limit(value: number): Query