Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/cotton/src/utils/models.ts>getValues

SQL Database Toolkit for Deno
Latest
function getValues
import { getValues } from "https://deno.land/x/cotton@v0.7.5/src/utils/models.ts";

Get model values as a plain JavaScript object

Parameters

model: Object

the model you want to get the values from

Returns

ModelDatabaseValues