Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- query selectPersonsByHobby {
- description: "Select all persons with a certain hobby."
- statement:
- SELECT org.comp.myapp.Person
- WHERE (passTime CONTAINS (name == _$targetHobby ))
- }
- participant Person identified by id {
- o String id
- o String firstName
- o String lastName
- o String email
- o Interest[] passTime
- }
- concept Interest {
- o String name
- o String description
- }
- return this.httpClient.get(`http://localhost:3000/api/queries/selectPersonsByHobby`, {_$targetHobby: "Football"});
Add Comment
Please, Sign In to add comment