module

Marten::DB::Model::Comparison

Instance methods

<=>(other : self)

Allows to sort model instances based on primary keys.

Source
==(other : self)

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

Source