Join Slack
Communities
Powered by
Hey - I'm having a bit of a brainfail. It is possi...
# prisma-whats-new
r
rem
11/01/2017, 4:27 PM
Hey - I'm having a bit of a brainfail. It is possible for me to query with an argument that isn't the
id
? i.e.
Copy code
query { Session(slug: "foo") { title description } }
t
taikn
11/01/2017, 4:48 PM
Yes, but the field has to have an
@isUnique
constraint
r
rem
11/01/2017, 5:11 PM
@taikn
thank you!
Open in Slack
Previous
Next