module Marten::DB::Model::Comparison

Direct including types

Defined in:

marten/db/model/comparison.cr

Instance Method Summary

Instance Method Detail

def <=>(other : self) #

Allows to sort model instances based on primary keys.


[View source]
def ==(other : self) #

Returns true if other is the exact same object or corresponds to the same record at the database level.


[View source]