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

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

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

Compare the current values against the last saved data

Parameters

model: Object

the model you want to compare

Returns

ModelComparisonResult