View on GitHub

Red

A WiP ORM for Raku

MetamodelX::Red::Describable

method describe

method describe(
    \model
) returns Red::Cli::Table

Returns an object of type Red::Cli::Table that represents a database table of the caller.

method diff-to-db

method diff-to-db(
    \model
) returns Mu

Returns the difference to transform this model to the database version.

method diff-from-db

method diff-from-db(
    \model
) returns Mu

Returns the difference to transform the DB table into this model.

method diff

method diff(
    \model,
    \other-model
) returns Mu

Returns the difference between two models.