Skip to content
master
Go to file
Code

README.md

restQL

restQL-golang allows you to use the restQL language to run queries that define how you want to access your REST services, making it easy to fetch information from multiple points in the most efficient manner.

GoDoc Go Report Card

Getting Started

For a throughout explanation of how to run restQL follow this tutorial.

Query language

The clause order matters when making restQL queries. The following is a full reference to the query syntax, available clauses and order.

[ [ use modifier = value ] ]

METHOD resource-name [as some-alias] [in some-resource]
  [ headers HEADERS ]
  [ timeout INTEGER_VALUE ]
  [ with WITH_CLAUSES ]
  [ [only FILTERS] OR [hidden] ]
  [ [ignore-errors] ]

e.g:

from search
    with
        role = "hero"

from hero as heroList
    with
        name = search.results.name

Learn more about restQL query language

Links

Reach the community

Who's talking about restQL

License

Copyright © 2016-2020 B2W Digital

Distributed under the MIT License.

You can’t perform that action at this time.