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

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

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

Normalize value to a database compatible values.

Parameters

type: DataType

the data type of the column

original: DatabaseValues

the original data