where()

Usage

import { useRepo } from 'pinia-orm'
import User from './models/User'
const userRepo = useRepo(User)
console.log(userRepo.whereNotNull('age').get()) // User[] - where age property is not null

Typescript Declarations

function whereNotNull(
  field: string,
): Query