useKeys()
Usage
import { useRepo } from 'pinia-orm'
import { useKeys } from 'pinia-orm/helpers'
import User from './models/User'
const users = useRepo(User).all()
// retrieve all primary keys
useKeys(users)
Type Declaration
export function useKeys(models: Collection): string[]
Table of Contents