Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Check wether this model is saved to the database.

Parameters

model: Object

the model you want to check the status of

Returns

boolean