Last active
June 8, 2017 09:40
-
-
Save d3ep4k/9824272a8ec953861a49d454da0158c9 to your computer and use it in GitHub Desktop.
Multiple queries using variables - Metamug Resource File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Resource v="0.8" xmlns="http://xml.metamug.net/resource/1.0"> | |
<Request method="GET" > | |
<Update> | |
set @count := 0 | |
</Update> | |
<Query> | |
select @count := a from todo | |
</Query> | |
<Query> | |
select @count | |
</Query> | |
</Request> | |
</Resource> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment