![]() It works just like the argument definitions for a function in a typed language. ![]() The variable definitions are the part that looks like ($episode: Episode) in the query above. This is also in general a good practice for denoting which arguments in our query are expected to be dynamic - we should never be doing string interpolation to construct queries from user-supplied values. Now, in our client code, we can simply pass a different variable rather than needing to construct an entirely new query.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |