file15.hx 316 B

123456789101112131415161718192021
  1. N::File15 {
  2. name: String,
  3. age: I32,
  4. }
  5. E::Follows {
  6. From: File15,
  7. To: File15,
  8. }
  9. QUERY file15() =>
  10. DROP N<File15>
  11. RETURN "success"
  12. QUERY file15_2(userID: ID) =>
  13. DROP N<File15>(userID)::Out<Follows>
  14. RETURN NONE
  15. QUERY file15_3(userID: ID) =>
  16. DROP N<File15>(userID)
  17. RETURN NONE