# Pastebin WCqxVZj2 ➜ Red git:(master) ✗ raku -I. -MRed -e ' model Bla { has $.id is serial; has $.a is column; has $.b is column } red-defaults "SQLite"; Bla.^create-table; my $*RED-DEBUG = True; .say for Bla.^all.grep({ .id + 2 > 5 }).map: { .id, "{ .a } and { .b }, { .id * 2 }" } ' SQL : SELECT bla.id as "data_1", bla.a || ' and ' || bla.b || ', ' || bla.id * 2 as "data_2" FROM bla WHERE bla.id + 2 > 5 BIND: []