dubonzi / restQL-golang

Microservice query language and platform

Home Page:http://restql.b2w.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Microservice query language and platform

http://restql.b2w.io/

License:MIT License


Languages

Language:Go 99.8%Language:Makefile 0.2%Language:Dockerfile 0.0%