Skip to main content
Module

x/typeorm/src/index.ts>ValueTransformer

Forked from https://github.com/typeorm/typeorm
Latest
interface ValueTransformer
Re-export
import { type ValueTransformer } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Interface for objects that deal with (un)marshalling data.

Methods

to(value: any): any

Used to marshal data when writing to the database.

from(value: any): any

Used to unmarshal data when reading from the database.