Skip to main content
Module

x/nessie/deps.ts>CliffyCommand#type

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method CliffyCommand.prototype.type
Re-export
import { CliffyCommand } from "https://deno.land/x/nessie@2.0.7/deps.ts";

Register custom type.

Type Parameters

H extends TypeOrTypeHandler<unknown>
optional
N extends string = string

Parameters

name: N

The name of the type.

handler: H

The callback method to parse the type.

optional
options: ITypeOptions

Type options.

Returns

Command<CPG, CPT, CO, CA, CG, Merge<CT, TypedType<N, H>>, CGT, CP>