daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Jun 23rd, 2018 64 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  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"});
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top