class Marten::DB::Model::Table::FieldContext

Overview

Context for a specific table field.

A field context is used to provide a mapping between a field and the model where the field originates from.

Defined in:

marten/db/model/table/field_context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(field : Field::Base, model : Model.class) #

[View source]

Instance Method Detail


[View source]
def model : Marten::DB::Model.class #

[View source]