Home Recent
Request an Invitation Sign in
Page
Here's one short example; there are many more at WQL Syntax.

You may know by now that all cards have a cardtype.  And that everyone with an account has a card of cardtype User.  Suppose you wanted to find all the User cards?

Here's what the WQL would look like in Ruby:
{ :type => 'User' }
and in JSON:
{ "type": "User" }
Both of them roughly translate to:
Find all cards of the type "User."
or
Gimme all the User cards.

To see this WQL in action, you can make a Search card.  We made one called search by type.  If you edit it, you will see the JSON version of the WQL above.

Here's the card: