where()

Usage

import { useRepo } from 'pinia-orm'
import User from './models/User'
const userRepo = useRepo(User)
console.log(userRepo.whereNull('age').get()) // User[] - with age set to null

Typescript Declarations

function whereNull(
  field: string,
): Query