### ----------------------------------------------------
### -- Red
### -- Licenses: Artistic-2.0
### -- Authors: Fernando Correa de Oliveira
### -- File: lib/MetamodelX/Red/VirtualView.rakumod
### ----------------------------------------------------
unit role MetamodelX::Red::VirtualView;

method compose(Mu \type, |) {
  callsame;

  die "sql method is required for view models" unless type.^can("sql").defined
}


