Red icon indicating copy to clipboard operation
Red copied to clipboard

ResultSeq should take snapshot of table name to build the results.

Open xinminglai opened this issue 4 years ago • 0 comments

We need to take snapshot of table name within ResultSeq, so below example may work as expected.

sub get-seq ($table-source) { temp Model.^table = $table-source; Model.^all.grep({ ... }); }

my @rs-seq = get-seq("model_new_table");

xinminglai avatar Jan 16 '21 02:01 xinminglai