doesntHave()

Usage

import { useRepo } from 'pinia-orm'
import User from './models/User'
const userRepo = useRepo(User)
// Retrieve all posts that have no comments
useRepo(User).doesntHave('comments').get()

Typescript Declarations

function doesntHave(relation: string): Query