Skip to main content
Module

x/cotton/mod.ts>ColumnBuilder#default

SQL Database Toolkit for Deno
Latest
method ColumnBuilder.prototype.default
import { ColumnBuilder } from "https://deno.land/x/cotton@v0.7.5/mod.ts";

Set the default value of this column

Parameters

value: any

the default value of the column

optional
isExpression: boolean = [UNSUPPORTED]

wether the value is an SQL expression or not (default false)