Set to eager load all relationships recursively.
import { useRepo } from 'pinia-orm'import User from './models/User'const userRepo = useRepo(User)const users = userRepo.withAllRecursive().get() // User[] with all its nested relations 3 levels deepconst usersWithRelations = userRepo.withAllRecursive(2).get() // User[] with all its nested relations 2 levels deep
function withAllRecursive(depth = 3): Query