You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use Red;
model M is table<mmm> {
hasStr$.ais column;
hasBool$.bis column;
}
my$*RED-DB= database "SQLite";
M.^create-table;
my$*RED-DEBUG=True;
say M.^all.map: { .a if.b }
# say M.^all.map: { next unless .b; .a } # the same
and that will run:
SELECTmmm.aas"data"FROM
mmm
WHERE
not (b ==0OR b IS NULL)