Officially out now: The TypeDB 3.0 Roadmap >>

Select operator

The select operator restricts the stream of rows to only contain the variables specified.

Syntax

select <var> [ , <var> ... ];

Example

match
  $group isa group, has group-id "<group id>";
  (group: $group, member: $member) isa group-membership, has rank "member";
select $member;