new()
Usage
import { useRepo } from 'pinia-orm'import User from './models/User'const userRepo = useRepo(User)// Make a model with default valuesuserRepo.new()
Typescript Declarations
function new(): Model | null
Table of Contents
new()
import { useRepo } from 'pinia-orm'import User from './models/User'const userRepo = useRepo(User)// Make a model with default valuesuserRepo.new()
function new(): Model | null