as method

Service as(
  1. String alias
)

Implementation

Service as(String alias) {
  if (queryTree.n == null) {
    throw 'Specify service to apply alias to';
  }
  queryTree.a = alias;
  return queryTree;
}