Class: ColumnDescriptor

ColumnDescriptor

Describes a Column in BookshelfMapping


new ColumnDescriptor()

Properties:
Name Type Description
name string

name of the column

type string

type of the column: "sql" or "json"

get function

for type sql, this getter creates an sql snipped to get the value

set function

for type sql, this setter creates an sql snipped to set the value

Source: