makeHidden()

Usage

import { useRepo } from 'pinia-orm'
import User from './models/User'
const userRepo = useRepo(User)
// Returns User without the field 'phone'
userRepo.makeHidden(['phone']).first() 

Typescript Declarations

function makeHidden(fields: string[]): Query