![]() |
| ||||
Navigation |
Synopsis Select a field (column) from a relation value.
Syntax
Exp . Name
Types
Description
Exp should evaluate to a relation that has an i -th field label Li that is identical to Name .
Return a set with all values of that field.
Name stands for itself and is not evaluated.
Examples
rascal>rel[str street, int nm] R = {<"abc", 1>, <"abc", 2>, <"def", 4>, <"def", 5>}; rel[str street,int nm]: { <"def",4>, <"def",5>, <"abc",2>, <"abc",1> } rascal>R.street; set[str]: {"abc","def"} Questions
Question [1].
![]() ![]()
Question [2].
![]() ![]() ![]() |