diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-28 10:36:12 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-28 10:36:12 +0100 |
commit | 8da7dad19ed454831b63d51058dd22550b9ac10c (patch) | |
tree | 22e5f94070867453a16ec7c53329d3e0a941e7e3 /assets | |
parent | fbdce0b0a1cefb88c6bac247db04af25a43c284f (diff) | |
download | puszcza-8da7dad19ed454831b63d51058dd22550b9ac10c.tar.gz puszcza-8da7dad19ed454831b63d51058dd22550b9ac10c.zip |
Add database connection
Diffstat (limited to 'assets')
-rw-r--r-- | assets/punktacja.gql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/punktacja.gql b/assets/punktacja.gql new file mode 100644 index 0000000..3a6a9fa --- /dev/null +++ b/assets/punktacja.gql @@ -0,0 +1,13 @@ +type Troop { + name: String +} + +type Points { + troop: Troop + points: Int +} + +type Query { + getPoints: [Points!] + getTroopByName(name: String!): [Troop!] +} |