class Marten::DB::Model::Table::ReverseRelationContext

Overview

Context for a reverse relation.

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

Defined in:

marten/db/model/table/reverse_relation_context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(reverse_relation : ReverseRelation, model : Model.class) #

[View source]

Instance Method Detail

def model : Marten::DB::Model.class #

[View source]
def reverse_relation : Marten::DB::ReverseRelation #

[View source]