Guest User

Untitled

a guest
Jun 23rd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. query selectPersonsByHobby {
  2. description: "Select all persons with a certain hobby."
  3. statement:
  4. SELECT org.comp.myapp.Person
  5. WHERE (passTime CONTAINS (name == _$targetHobby ))
  6. }
  7.  
  8. participant Person identified by id {
  9. o String id
  10. o String firstName
  11. o String lastName
  12. o String email
  13. o Interest[] passTime
  14. }
  15.  
  16. concept Interest {
  17. o String name
  18. o String description
  19. }
  20.  
  21. return this.httpClient.get(`http://localhost:3000/api/queries/selectPersonsByHobby`, {_$targetHobby: "Football"});
Add Comment
Please, Sign In to add comment